the-dress-code / fabric Goto Github PK
View Code? Open in Web Editor NEW🧵 an app to keep track of your fabric stash, built with Clojure + Coast
🧵 an app to keep track of your fabric stash, built with Clojure + Coast
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.
Description:
When viewing a single fabric item from the search results page, the "list" link directs member to page of all fabrics, instead of back to search results.
Problem:
All fabrics display instead of only results from search.
Possible solution:
Update the link for "list" to be the search results page.
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.
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)
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.
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.
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
Line 60 in 0f09b0f
Solution 2
Once a member successfully logs in, re-direct to /fabrics page instead of dashboard page
Line 61 in 0f09b0f
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.
If a non-member attempts to "add new fabric," non-member is re-directed to /fabrics page which is blank.
By design, non-members are not permitted to "add new fabric."
Could be resolved by fixing #2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.