I want to implement an intuitive and smooth user flow between different parts of the app,
so that user experience is as good as possible
Acceptance Criteria
User journey with possible paths is documented
Pages available to Logged-out Users:
Landing (default)
Signin
Signup
Pages available to Logged-in Users:
Tasks
TaskKanban (default)
TaskList
TaskDetail
TaskCreate
TaskEdit
TaskDelete (implemented with modal on TaskKanban/List/Detail)
Profiles/Users
ProfileList/Teammates
ProfileDetail
ProfileEdit
Username Edit
Password Edit
Routing & redirecting implemented accordingly
Tasks
[x] implement routing & redirecting accordingly
[x] redirect Logged-in Users from landing page in Landing
[x] redirect Logged-out Users from TaskTab & Kanban pages (only need to set redirect in TaskTabs, as TaskKanban is called as its child)
[x] redirect Logged-in Users from Team page in ProfileList (needs to be converted into a function OR the Landing component should be imported as the else case of the currently implemented logic of only showing the contents if there is a currentUser)
[x] redirect Logged-in Users from ProfileDetail page in ProfileList
As a Developer,
I want to implement an intuitive and smooth user flow between different parts of the app,
so that user experience is as good as possible
Acceptance Criteria
User journey with possible paths is documented
Routing & redirecting implemented accordingly
Tasks
Landing
TaskTabs
, asTaskKanban
is called as its child)ProfileList
(needs to be converted into a function OR theLanding
component should be imported as theelse
case of the currently implemented logic of only showing the contents if there is acurrentUser
)ProfileList
App.js
Related: #126