TACC / Core-CMS-Custom

Customized Core CMS code and builds
5 stars 0 forks source link

Task/wp 372 admin except extend entity name #241

Closed sophia-massie closed 9 months ago

sophia-massie commented 9 months ago

Overview

Updated Exception and Extension Admin tables so that it displays the extension and exception id's entity_name rather than org_name from the submitters table.

I left the parameter for filtering by entity as org for brevity's sake in the URL. Let me know if it makes more sense to change to entity or if I should get input from Tracy and UTH.

Related

Changes

apcd_database.py:

views.py:

Templates and Static:

Testing

  1. Go to http://localhost:8000/administration/list-extensions/
  2. Check that table matches UI below pulling entity_name rather than org_name
  3. Check that filters still work as expected
  4. Click view and edit actions to make sure entity_name is showing rather than org_name
  5. Submit an edit and make sure it works
  6. Go to http://localhost:8000/administration/list-exceptions
  7. Repeat steps 2-5

UI

Exceptions Table Screenshot 2023-11-02 at 3 00 00 PM

Extensions Table Screenshot 2023-11-02 at 4 04 26 PM

happycodemonkey commented 9 months ago

Hey Sophia, I noticed "None" is showing up twice in the dropdown for Extension Outcome, unsure if that's a weird bug or something.

sophia-massie commented 9 months ago

We are leaving the "None" drop down issue for further discussion and a new task, this change addresses the original task and looks great.

Should I remove the last changes from commit #73902dc @happycodemonkey ?