lhl-midterm-project's People
lhl-midterm-project's Issues
Sidebar styling & overall layout.
- Hand-written font -- test.
Create a basic HTML skeleton for the MVP.
- Includes task card and script
- Buttons (no functionality)
- Script updated to take data from API.
Create databases - seeds, migration.
Mohammad will create databases including seeds and migrations.
As a user, I want to add items to a to-do list.
TJ will do this.
As a user, I would like to know if my password or email entered are incorrect.
As a user, I want to be able to register.
- register page
- register button -> insert info to users table
- redirect to /tasks
- create cookie when registered
Standardize colour scheme and layout.
Add task -> task's user_id should be logged in user's id
Delete category button: Remove styling if no category.
After pressing edit, hide edit and only show save.
As a user, I want to view my to-do list.
- Set up full to-do list view (index.ejs).
- Script to load all to-do tasks in index.ejs.
- Set up categorized to-do list view (categoryView.ejs).
- Script to load all categorized to-do in categoryView.
Add sidebar on the left (all tasks, category view).
HTML / CSS
- html sidebar
- css sidebar
- add icons
- categories order
JS
- each list to each page
ex) inbox -> GET /tasks, all categories ->
GET /tasks/categories - Afsan - show each list the number of tasks it has
ex) inbox 12, Films 5, etc.
Edit - text value instead of placeholder. Remove 'edit' label from card.
- remove 'edit' label
- edit title -> not placeholder, actual value
As a user, I want to see auto-categorized todo list, because it takes time to categorize each items.
Exact API calls for:
- Books - Afsan
- Film - Afsan
- TV Series - Afsan
- Restaurants (limited to GTA) - Afsan
More general API call but can categorize things like products:
-
Google knowledge - Mohammad
-
Combine exact API call with google knowledge - Mohammad
-
Edit route so that autocategorization works when new task is added.
Test google books API to categorize books.
Completed first draft of categorization logic.
Possible improvements:
- Turn into promise.
Test omdb API to categorize films and TV series.
Completed first draft of categorization logic.
Possible improvements:
-
Make second function for TV shows
-
Turn into promise.
As a user, I want to have a link back to login page within register page because I may have a mistake to click on register page link
As a user, I want to manually add a category.
Core:
One category (Decided Monday July 26)
Remove shopping category - change API categorization.
- Change API call for knowledgeGraph (no products).
- Change getCategory function (no api call found, return 5, not 6).
- Combine Category 5 and 6 in 03_categories table (Shopping and Other -> Other)
As a user, I want my to-do list to be private.
Fetch the tasks which user_id is same with cookie session's user id
Tables - add seeds and 'other' category
- Add more seeds in tasks table.
- Add 'other' category.
Items display in 3 columns
-
Modify script to display in columns.
-
Deleted items still take up a space in the grid layout.
Edit forms should have old value inside already.
Remove unfinished list to bottom or keep uncategorized list at bottom.
Styling buttons on view page and add functions
- Buttons styling
- edit / save button function
- delete button actually delete the item
- checkbox function
Remove forgot password from login.
As a user, I want to remove items from my to-do list.
See 'Styling buttons on view page and add functions' card.
Create a view for tasks by category.
- Create a new HTML page that will display tasks with category as headers.
- Page should have same partials as index.ejs.
- Task card should be similar to full task page (without the category footer).
- Write a script that auto generates the categories and associated items.
- Fix bug that is repeating categories per number of tasks.
Remove register and login buttons from navbar if you are already logged in.
As a user, I want to manually remove category from an item
As a user, I want to change the category of my item if I don't agree with automatic categorization.
As a user, I would like to know if my e-mail has already been used to register.
- email, name check
Show an alert message when login and register info is empty or incorrect
- alert message when login info is empty or incorrect
- alert message when register info is empty
Test yelp-fusion API to find restaurants and cafes.
Important - this only works if yelp has ratings for the restaurant.
- Function implemented.
As a user, I want to be able to log in / log out to have my personal environment
- login page html
- login -> create cookie session
- logout -> empty cookie session
As a user, I want to edit items from my todo list
As a user, I want to check-off or mark my completed items on my todo list.
Refactor routes directory to split /apis from /tasks and /users.
As a user, I want to see auto-categorized todo list, because it takes time to categorize each items.
TEST TEST TEST
Add category button with route.
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.