paulcho8 / Asauna

3 stars 0 forks source link

FSP To-Do List #1

Open mwmadsen67 opened 5 years ago

mwmadsen67 commented 5 years ago

Wiki Page Home

Comments


MVP List

Comments


Database Schema

Comments


Sample State

Comments


Backend Routes

Comments


Frontend Routes

Comments

paulcho8 commented 5 years ago

Regarding my backend routes - should projects be nested under workspaces? Projects cannot be created unless the user is in a workspace.

Regarding frontend routes - tasks that are close to the deadline will show up on the user's home page. All the tasks can be found on the tasks index page. Should the home route contain the taskindex?

paulcho8 commented 5 years ago

Tasks can optionally be assigned a project. Therefore, its project_id can be null. Usually foreign keys, are indexed. Should optional foreign keys be exempted?

mwmadsen67 commented 5 years ago

For your backend routes, if creating something requires information that the user wouldn't necessarily input, (like a workspace or project id) then that route should be nested. I can imagine that creating projects would be nested under workspaces

mwmadsen67 commented 5 years ago

For your frontend routes, you'll have a home tasks index. This will be different from your other tasks index because it only has a limited selection, but yes it should be included.

mwmadsen67 commented 5 years ago

For now, I wouldn't index an optional foreign key. I will get you a more definite answer though.

mwmadsen67 commented 5 years ago

I asked some other TAs. I think it's actually fine to index an optional foreign key. It's also something easily testable in rails c.

paulcho8 commented 5 years ago

Done making changes! Does everything else look fine?