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
58 stars 18 forks source link

(Draft) Ticket #2228: Assign investigator to self #2302

Closed zandercymatics closed 3 months ago

zandercymatics commented 3 months ago

Ticket

Resolves #2228

Changes

Context for reviewers

The investigator field is a little different than our normal selectors: it uses the select2 library. To trigger a change event on the field, we need to use the relevant jquery selector rather than .value

Setup

  1. Go to /admin
  2. Click Domain Request
  3. Select a record (with no investigator)
  4. Click the assign to me button underneath the investigator field (see attached)

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