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

Implement existing navigation view #80

Open
isabelcshaw opened this issue Feb 24, 2021 · 1 comment
Open

Implement existing navigation view #80

isabelcshaw opened this issue Feb 24, 2021 · 1 comment
Assignees
Labels

Comments

@isabelcshaw
Copy link

We need to implement the same navigation mechanism as we currently have in the CHW app. The user will log in and can navigate between pages by clicking the buttons on the homepage. These buttons will be the same with one exception: the "My Clients" button will say "My CHWs"

Screen Shot 2021-02-23 at 10 04 12 PM

@ekigamba
Copy link
Contributor

ekigamba commented Feb 25, 2021

Changes when using the same codebase

  • Change the label My Clients to My CHWs
  • Change flow for My Clients, My Performance
  • Add a configuration to change the labels to My CHWs if a supervisor logged in

Other probable changes

  • Expose the providers using roles. Roles will be used to determine whether the user is CHW or a supervisor

LOE: 1 day

@ekigamba ekigamba added the Size: Small (<= 1 day) LOE 1 day or less label Feb 26, 2021
@ekigamba ekigamba self-assigned this Mar 1, 2021
ekigamba added a commit to opensrp/opensrp-client-core that referenced this issue Mar 2, 2021
- Add PractitionerRole and Practitioner models
- Fetch practitioners and practitioner roles to map the current user practitioner-role
- Save the current user practitioner-role-code in preferences

Fixes tasks in opensrp/opensrp-client-goldsmith#80
ekigamba added a commit that referenced this issue Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants