opencrvs / opencrvs-core

A global solution to civil registration
https://www.opencrvs.org
Other
88 stars 70 forks source link

As a user (except FA) I want to navigate the organisation tree of administrative levels and offices (location) #4304

Closed jpye-finch closed 1 year ago

jpye-finch commented 1 year ago

Description

Acceptance criteria

GIVEN I am a user (except FA) WHEN I click Organisation in sidemenu THEN navigate to the Organisation page (defaulted to level 1)

GIVEN I click a location ie level 1 location THEN update the Breadcrumb to my selection + show the locations within level 1

GIVEN I click an office THEN navigate to the team page for that office

GIVEN I click the performance button THEN navigate to the performance page for that location/office

Design

https://www.figma.com/file/O6PevbBv0lApmXWYotR8sf/OpenCRVS-Design-Specifications-v2?node-id=9532%3A56465&t=kqOKTJz7eO8Wo3R4-1

Dev tasks

euanmillar commented 1 year ago

@jpye-finch we would love to give this to the Cameroon team as a good first issue. Is there any way the design could be finished as it doesnt look finished to me in this Figma link?

jpye-finch commented 1 year ago

Yes, have cleaned up the design and add mobile designs

euanmillar commented 1 year ago

@jpye-finch @anny320 @eduffus the AC says: "GIVEN I click an office THEN navigate to the team page for that office" and the ticket says "As a user (except FA)". But only nat sys admins can navigate to a Team page for another office. Are you saying you want to change that for Reg Agent and Registrar. If so, I assume they should not see the 3 dot menu on each row per user on the Team page of any office, nor the "add user" button, but why not let them have the location search? I think we need AC for this so that test cases are updated as this it sounds like permissions are changing. Screenshot 2023-01-16 at 13.29.59.png

rikukissa commented 1 year ago

@euanmillar

If so, I assume they should not see the 3 dot menu on each row per user on the Team page of any office, nor the "add user" button, but why not let them have the location search?

This is the current behaviour, right? Having the location search button for every user (except FA) makes sense if we let any user browse users from all offices.

This is my Team view as a registrar:

image
jpye-finch commented 1 year ago

Yes only System Admins get the CTA's to edit a user, add, search

nsamadavid commented 1 year ago

No Breadcrumb component as described in the task.

On Thu, Jan 19, 2023, 8:04 AM Riku Rouvila @.***> wrote:

Assigned #4304 https://github.com/opencrvs/opencrvs-core/issues/4304 to @nsamadavid https://github.com/nsamadavid.

— Reply to this email directly, view it on GitHub https://github.com/opencrvs/opencrvs-core/issues/4304#event-8308792689, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2A6OVPHKHLEPUU4GGGCZXDWTDRORANCNFSM6AAAAAASDMR7QI . You are receiving this because you were assigned.Message ID: @.***>

rikukissa commented 1 year ago

Yea, sorry about that. I missed it when doing dev design, but it was mentioned in JPF's description

Add new component < Breadcrumb />

SyedaAfrida commented 1 year ago

Improvement: Ilanga district office should be under Ilanga district and Isamba district office should be under Isamba district 2 1 Bug: when logged in as local system admin ,remove 3 dot menu from user audit page remove 3dot menu