EQAR / deqar_frontend

Version 2 of the DEQAR Admin Interface, with create-react-app v2, refreshed 3rd party libraries, and many more...
0 stars 0 forks source link

Agency module #23

Closed Gyukat closed 3 years ago

Gyukat commented 5 years ago

Three views:

Agency Standard Webform_2019-04-26

Gyukat commented 5 years ago

I will stick in some notes later...but hopefully most of this is intuitive. I have added a flagging module similar to the reports/institutions module.

In general, agency users have very little that they can change, and only in their own record. They CANNOT create a new record.

Gyukat commented 5 years ago

Comments on Agency List:

Gyukat commented 5 years ago

Comments on Agency Record/Agency Name:

Gyukat commented 5 years ago

Functionality problem with names:

Gyukat commented 5 years ago

Validity:

Gyukat commented 5 years ago

Activity:

Gyukat commented 5 years ago

So, funny thing...I was using the PKA record to do all my testing, and now it has completely disappeared from the test system. Can you figure out what happened? Is it in some twilight zone or did I actually expunge it from the system with something that I did.

Gyukat commented 5 years ago

Focus Countries:

Gyukat commented 5 years ago

Validation: There is a bigger validation question...basically, the registration dates, focus countries and activities should not be able to be deleted if this violates the data relations (i.e. if the focus country or activity is already from a report OR if a report has been uploaded for that period registration period by the agency).

In these cases, you can create a "valid to" date if you want to halt the activity or country or agency status, but you should not be able to violate the data structure by deleting or changing the value.

(We can ask Melinda about the names of activities and how stable these are...maybe these could be edited, but countries and registration dates...I don't see it.)

Gyukat commented 5 years ago

When I changed and submitted the agency record, it kept me in the edit view. Really confusing...

In this case, some of the data "stuck" in the fields, but for instance the added phone number just seemed to disappear.

JoshBone commented 5 years ago

I've put Agencies to Solr as well to be able to 'live filter' the dropdowns. I've added focus country just because I thought it could be interesting. :) More to come...

JoshBone commented 5 years ago
  • You should never be able to have two primary names on any one pop up. For example, current names should only have one primary name and one primary acronym. They do not have to be paired (which is why we put a check box on all fields.

I need a bit of help with this one:

Gyukat commented 5 years ago

BASICALLY, I THINK THE WHOLE AGENCY RECORD SHOULD BE DISCUSSED A BIT.

Gyukat commented 5 years ago

Melinda's comments AGENCY RECORD: