before_i_die's Introduction
before_i_die's People
before_i_die's Issues
Non-owner should not be able to see the menu btn
As a logged in user, he/she should not be able to see the menu btn on other's personal page.
In all href and API calls, we should use relative path instead of absolute path
For example, we should change href="https://apiapache-beforeidie.rhcloud.com/api/...." to only contain "/api/..."
All the html href and api calls in ajax should be checked and fixed.
[Feature] Edit Item
Need to add edit item feature for user to edit/update bucket item.
Add profile pic for users in the comment area
db: return user profile pic for comments
api: pack profile pic to JSON
API needs logout function
0 or 1 recommendation
When the API gives only 0 or 1 recommendations, what will the personal page display?
Non-onwer shouldn't be able to revise other's bucket item
Currently, a valid user (with valid session id) is able to change the status of other's bucket item by calling the API.
Solution: Database needs to check if the bucket item belong to the user it claims to be.
Torch Relay doesn't display properly on home page
After clicking torch reply tab, home page doesn't display related bucket item properly.
Login error with wrong account or password
When login with wrong account or password, home page will not show up signup/login log properly.
API restrict all access if the user is not logged in
Need to figure out a way for both private and public API access.
UI should not display null
When there is a null value in the JSON, UI displays the null as a string.
Image size validation
Front-End need to validate image size and prompt up warning message if necessary before user upload photo.
- Edit Item
- Personal profile
- Login/SignUp
Need to add user login icon after login
Solution:
- Store username id into cookie after login success.
- Redirect to home page.
- Change login/signup to user profile.
- Call api/users/{username} to get user's information
Remove Menu option "Edit" and "Privacy" from Inherited Item
If it is an inherited item, the menu should not have Edit and Privacy settings.
User should NOT inherit their own items
The torch icon is only clickable for the owner's item. All inherited items should have a torch that is not clickable.
UI: make the torch un-clickable for already inherited item.
DB: When inherit, check if the child username == original user.
API block addItem.html
Error message:
{"success":"false","error_msg":"API URL should begin with {domain}/api/method or {domain}/personal/username or {domain}/login or {domain}/logout"}
Remove login & signup page debug code
The url bookmark (#) is not working
This is for the torch relay on home page. When clicked, it should bring user to a specific item on the personal page.
Personal Page - Uncaught TypeError: Cannot read property '0' of undefined
Console error message: user_info.js:26
Uncaught TypeError: Cannot read property '0' of undefined
(anonymous function) @ user_info.js:26
i @ jquery.min.js:2
j.fireWith @ jquery.min.js:2
y @ jquery.min.js:4
c @ jquery.min.js:4
[Step]
- Click personal page
- Open console
Fixed the login heading color & input fields color
Photo on Tab page should display opacity(1) when hovering text content
Need to fix in feature/integratedFrontEnd
Text on Tab page should reformat how to display
Need to fix in feature/integratedFrontEnd
Don't have an option to Cancel Relay
Need a warning message when user enters wrong account or password
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.