cisagov / manage.get.gov

A Django-based domain name registrar used by the .gov domain to communicate with an EPP registry
https://get.gov
Other
53 stars 14 forks source link

Ticket #2332: Display action needed reason email in django admin #2340

Closed zandercymatics closed 2 days ago

zandercymatics commented 1 week ago

Ticket

Resolves #2332

Changes

Context for reviewers

This PR shows the email content of the action needed field under the action needed reason field, see design. This means that we had to tweak how that button works slightly. As we are now "tracking" two fields, we just display that no content is found (rather than directly hiding) the show more button.

As well, some minor changes had to be made to accommodate for this field. The architecture is slowly moving towards support for editing emails in the future. Worth noting that Django doesn't support readonly textfields by default (it just displays the entire field as a massive block of text).

Setup

  1. Go to /admin
  2. Go to domain request and select a record
  3. If its not already, put the record in the status "Action needed" and (optionally) add an action needed reason
  4. Save the record
  5. Add an action needed reason (note: you do not need to save)
  6. Click the show details button
  7. Note the email content
  8. With the show details tab open, change the action needed reason again. The content should update dynamically - reflecting what is set for that field

Note that steps 3-6 can be done in any order.

Code Review Verification Steps

As the original developer, I have

Satisfied acceptance criteria and met development standards

Ensured code standards are met (Original Developer)

Validated user-facing changes (if applicable)

As a code reviewer, I have

Reviewed, tested, and left feedback about the changes

Ensured code standards are met (Code reviewer)

Validated user-facing changes as a developer

Note: Multiple code reviewers can share the checklists above, a second reviewers should not make a duplicate checklist

As a designer reviewer, I have

Verified that the changes match the design intention

Validated user-facing changes as a designer

Screenshots

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 4 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 4 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 4 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 3 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 3 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 3 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 3 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 3 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 2 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 2 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 2 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 2 days ago

🥳 Successfully deployed to developer sandbox za.

github-actions[bot] commented 2 days ago

🥳 Successfully deployed to developer sandbox za.