Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.2 Switching User Types #692

Open
Tracked by #142
MarG66 opened this issue Sep 30, 2024 · 0 comments
Open
Tracked by #142

10.2 Switching User Types #692

MarG66 opened this issue Sep 30, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation mobileapp

Comments

@MarG66
Copy link
Collaborator

MarG66 commented Sep 30, 2024

User Story

As a user, I want to be able to freely switch between the two user types.

Description

A user type switch feature will be provided with which the user can move between the Citizen and Accredited Observer user types. This can be done via the Active Election Event side panel available for both types.

Preconditions

• (Main Flow 1) The user must access the Reports page in Citizen mode.
• (Main Flow 1) The user must not be logged in as Accredited Observer.
• (Alternative Flow 1) The user must access the Reports page in Citizen mode.
• (Alternative Flow 1) An Accredited Observer account must be active and logged in on the app before accessing the Citizen mode.
• (Main Flow 2) The user must be logged in as an Accredited Observer on the Observation page.

Main Flow 1

  1. The user opens the Active Election Events side panel.
  2. The user presses on the Report as accredited observer button.
  3. The user is redirected to the Login page.

Alternative Flow 1

  1. The user opens the Active Election Events side panel.
  2. The user presses on the Report as accredited observer button.
  3. The user is redirected to the Observation page.

Main Flow 2

  1. The user opens the Active Election Events side panel.
  2. The user presses on the Report as citizen button.
  3. The user is redirected to the Choose election event page.

Business Rules

• If the user has an Accredited Observer account that is logged into the app, switching between the user types should not log out the user from their account.

Acceptance Criteria

  1. The user should be able to switch between the two user types at any time by accessing the Active Election Events side panel.
  2. The Active Election Events side panel must be accessible form all pages (Report, Resources, Updates, More).
  3. When switching from Citizen to Accredited Observer, if no Accredited Observer account is logged into the app, then the user is redirected to the Login page.
  4. When switching from Accredited Observer to Citizen for the first time, the user is redirected to the Choose election event page.
  5. If no election events are active for the Citizen type, when switching to it, the user is redirected to the Choose election event empty state.
  6. The app remembers the selection made in the Choose election event page, and subsequently when the user is accessing the Citizen mode, they are redirected to the Reports page.

Figma References

Report
Report empty state
Citizen Active Events side panel
Accredited Observer Active Events side panel
Login
Choose user type

@MarG66 MarG66 added documentation Improvements or additions to documentation mobileapp labels Sep 30, 2024
@MarG66 MarG66 changed the title Switching User Types [Citizen] Switching User Types Sep 30, 2024
@MarG66 MarG66 mentioned this issue Sep 30, 2024
37 tasks
@andrei-manda andrei-manda changed the title [Citizen] Switching User Types 10.2 Switching User Types Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation mobileapp
Projects
None yet
Development

No branches or pull requests

2 participants