TACC / Core-CMS-Custom

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

bug/WP-195-Extension-Notes-Edit-Modal-Not-Displaying #179

Closed sophia-massie closed 1 year ago

sophia-massie commented 1 year ago

Overview

Render notes in Edit modal if not None

Related

Changes

Moved the notes being pulled from the DB from the value attribute of the text area of the Notes form to within the actual textarea element. Removed default setting for notes as it was causing bugs. Also formatted modal cell so it is no longer outside of the table.

Testing

  1. Go to http://localhost:8000/administration/list-extensions/
  2. Go to the Action drop down and select edit modal. Make sure notes appear if there are notes for that extension.
  3. Try writing a new note and submitting the form.
  4. Open the edit and view modal and make sure the Notes are accurately updated.

UI

Screenshot 2023-07-05 at 3 20 20 PM