WildAid / o-fish-web

Web application for the Officer's Fishery Information Sharing Hub (O-FISH). The web app allows agencies to gain insights from the aggregated information gathered during a routine vessel inspection (submitted via the web app).
Apache License 2.0
32 stars 41 forks source link

Global Admin Manage Agency On Agency Dashboard #209

Open o-fish-wildaid opened 4 years ago

o-fish-wildaid commented 4 years ago

When a global admin clicks on Dashboards -> Agencies and then on an agency's name - it takes them to the agency dashboard (with compliance rate etc.).

On that page - /agency_charts/AgencyName - just to the right of the agency name should be a text link to 'Manage Agency'. Currently there is no link (see this screenshot - the agency name is WildAid, and there's nothing in between 'WildAid' on the left and the date filter on the right): Screen Shot 2020-10-02 at 1 04 03 PM

It should look like this: https://mongodb.invisionapp.com/share/MYXRXC2T2H3#/screens/422348696

The link should take them to the same place as if they clicked on 'Agencies' in the top nav bar and then an agency name - which links to #/agencies/view_agency/OBJECT_ID (where OBJECT_ID is from the databases, something like 4e1234abcd1234abcd1234ab)

clockwerkz commented 4 years ago

I'd like to work on this issue :)

Sheeri commented 4 years ago

Hello @clockwerkz, thanks for offering to work on this! I have assigned it to you.

I realized I labeled this incorrectly as a "Good first issue" - because it involves the global administrator, you cannot use the sandbox - you'll have to build the foundation yourself. (well, if you want to test out your changes, that is, which is something we encourage.)

(let me know if you want me to unassign you, and if you want to try a different ticket. I can also help you with the build, if you have problem with the build docs.)

clockwerkz commented 4 years ago

Hey Sheeri, great, thanks! Yeah I'll give it a shot and let you know if I run into any problems.

Sheeri commented 4 years ago

Hi @clockwerkz - are you still planning to work on this issue?

lenmorld commented 3 years ago

Hi @Sheeri , I'd like to give this a shot. Can you point me to some doc on how to have my own instance? Thanks

Sheeri commented 3 years ago

Hi @lenmorld - here's the docs on how to do that - https://wildaid.github.io/build/

lenmorld commented 3 years ago

@Sheeri Thanks, I'd like to work on this one if it's available

o-fish-wildaid commented 3 years ago

Absolutely @lenmorld - this issue is assigned to you - you got this!