vurilo / roadmap

1 stars 0 forks source link

[V2] - Organization Requirement Documentation #73

Open Rashi011 opened 2 years ago

Rashi011 commented 2 years ago

The V2 will be rolled out in three phases

  1. 1st Phase: The user should be able to see only data related to one team/organization at a time.
  2. 2nd Phase: The user will see a new UI per organization/team.
  3. 3rd Phase: Branding/customization of organization per settings and their purchased plan.

Below are the first phase requirements

  1. Once the user logins he will land on the last organization/team in which he was using.
  2. User should be able to switch teams to which he/she access.

Affected app/services:

  1. Backend
  2. Web app
  3. Mobile app

In backend:

  1. Every API which has associations with the team should accept x-team-id on the header, if no team sent a throwing error, the Team is required
  2. Those API should return only data of that particular team.
  3. Create an endpoint to switch the team. It will accept the teamId on parameter and return ok and status.
  4. Update the account API to return the last active team id

In UI:

  1. Add team switch per design for both mobile and web apps. call the step 3 API from the frontend/app and store that current team on local storage.
  2. Remove any team selection part on different pages
  3. Update the API call to pass the team Id for such API.
  4. When the user login's first time, /account will return the team redirect the user to that team by default.

In Admino:

  1. Add team selection dropdown in required places
  2. Load only team-related data on those screens.
alinac7 commented 2 years ago

@Rashi011 ma'am @sursaone sir, please verify this design. https://www.figma.com/proto/2SUdAuqS5tFlueAR183cdh/Wireframe---Vurilo-2.0?page-id=980%3A16971&node-id=1007%3A16979&viewport=-746%2C824%2C0.2&scaling=contain&starting-point-node-id=1007%3A16979

Rashi011 commented 2 years ago

Phase I

Targeting NAME institute

  1. Switching to organization view

a. Admin Admin should be able to create, read, update and delete

b. Teacher/Instructor Teachers/Instructors are co-hosts of live sessions. They should be able to record the live session

c. Students Students should be able to watch the recorded videos

@Amir-Khanal sir

schaulagai commented 1 year ago

3rd phase is remaining