TACC / Core-CMS-Custom

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

Task/WP 152 extension admin table uth requests #166

Closed sophia-massie closed 1 year ago

sophia-massie commented 1 year ago

Overview

Updated Extension Admin Table per UT Health's requests

Related

Changes

Added the following:

b. Edit Extension modal allows edit of:

  1. Change applicable data period
  2. Outcome (pulling entries directly from DB no hardcoded values)
  3. Status (pulling entries directly from DB no hardcoded values)
  4. Notes (pulls notes from DB into the field to add or edit)
  5. All entries are optional. If left blank, does not write over what is in DB.

Testing

  1. Reconfigure your settings in taccsite_cms/secrets.py to use the Stache test DB credentials for APCD_DATABASE = {}. This way you will not have to use hardcoded test info anymore.
  2. Go to http://localhost:8000/administration/list-extensions/
  3. Check that the filters work
  4. Shrink the page / check mobile view and make sure the filters don't overlap. Make sure the column headers match to the right values. When page shrinks, columns switch to rows. Make sure they align.
  5. Check out View Extension modal to make sure email address is no longer listed twice and mimics the order of the table
  6. Check the edit modal. All fields are optional. Make sure you can submit and that only the fields that aren't empty are updated
  7. Check that all fields are able to be updated and set correctly from the modal

UI

Main page

Screenshot 2023-06-26 at 5 08 46 PM

Status and Org filtered Screenshot 2023-06-26 at 5 09 25 PM

View Extension modal Screenshot 2023-06-26 at 5 09 56 PM

Edit Extension modal Screenshot 2023-06-26 at 5 10 09 PM

Before Edit Screenshot 2023-06-26 at 5 10 34 PM

After successful edit Screenshot 2023-06-26 at 5 11 43 PM

Edit Success page Screenshot 2023-06-26 at 5 12 14 PM