Giter Site home page Giter Site logo

the-dress-code / fabric Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 195 KB

🧵 an app to keep track of your fabric stash, built with Clojure + Coast

Makefile 0.92% Clojure 95.06% HTML 0.63% CSS 2.43% JavaScript 0.96%
fabric inventory-management quilting sewing coast fiber-arts

fabric's Issues

Member cannot navigate outside of dashboard once logged in

Description: Once a member successfully logs in, the member is re-directed to a dashboard page. This page only displays a confirmation message and a sign out button.

Problem 1
Member does not have links to access other pages / features / their data.

Solution 1
Link to /fabrics page on dashboard page

(defn dashboard [request]

Solution 2
Once a member successfully logs in, re-direct to /fabrics page instead of dashboard page

(-> (coast/redirect-to :member/dashboard)

All pages are public

Description:

If a user is not logged in, the user still has access to web pages across the app. They encounter blank pages and other meaningless pages because their data cannot be accessed unless logged in.

Problem:

Non-members have access to meaningless web pages.

Possible solution:

Restrict access to logged-in members to web pages besides signup page.

Member cannot access to signout button outside of dashboard page

Description:

Member only has access to sign out button on the dashboard page. Once they navigate away from the dashboard page, they have no way to sign out if desired.

Problem:

No access to sign out button beyond dashboard page.

Possible Solution:

Add header that includes signout button on each page (besides login and signin pages)

Create password reset functionality

Description:

Member has no way to reset password if forgotten.

Problem:

Member has no way to reset password if forgotten.

Possible solution:

Create password reset functionality: create a form for member email address, pull an ID given an email, generate secret token, send email message to member email adress with link with secret token based on their email, link takes member to page that takes the secret token and converts it back to their id to log them in, member fills out reset password form they can access if they are logged in by said link.

Index (fabrics) page displays ALL fabrics instead of MEMBER fabrics

Description:

Regardless of user login status, all fabrics from FABRIC table in database display on fabrics/index page.

Problem:

All fabrics display instead of member-specific fabrics.

Possible solution:

Only pull fabric from FABRIC table whose user-id matches the members id from MEMBER table.

Answers page displays search results from ALL fabrics instead of MEMBER fabrics

Description:

When a logged in member uses the search form to search for fabrics, the search results returns are from ALL the fabrics from FABRIC table in database, instead of just the MEMBER fabrics.

Problem:

All fabrics display instead of member-specific fabrics.

Possible solution:

Only pull fabric from FABRIC table whose user-id matches the members id from MEMBER table.

Member has no indication of logged-in status while using web pages

Description:

Once a member logs in, the only indication they are logged in is on the dashboard page. There is no indication on other pages.

Problem:

Member has no indication of their logged in status or what email they used.

Possible Solution:

Add header on all pages (except login and signin pages) indicating what email address is logged in.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.