Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3129 - Domain Renewal Form (Expiring Soon and Expired) - [AD] #3273

Merged
merged 53 commits into from
Jan 13, 2025

Conversation

therealslimhsiehdy
Copy link
Contributor

@therealslimhsiehdy therealslimhsiehdy commented Dec 27, 2024

Ticket

Resolves #3129

Changes

** Previous PR

Context for reviewers

For domains that are expired and expiring soon, we now have a Renewal form that domain managers can fill out to renew their domains by 1 year.

Setup

EXPIRING DOMAINS in Org Model Mode under the Hotel California:

cooscountyor.gov
detroit.gov
elkrivermn.gov
gloucesterva.gov
headoftheharborny.gov
healthdata.gov
hvlnc.gov
jeffersonknoxohio.gov
montgomerycountyhealthky.gov
pembinewi.gov
pikecoga.gov
richlandcountywi.gov
stantonca.gov
texasjcmh.gov
texasstateparks.gov
vanburencountytn.gov
ipageaz.gov

EXPIRING DOMAINS in Non Org Mode:
NOTE:
You will need to go into domain, search for domain -> manage domain -> add self as domain manager
If your email is not working, add yourself as an allowed email list on my sandbox

arcoidaho.gov
hendersoncountytn.gov
hinsdalema.gov
linndalevillage-oh.gov
mapletonmn.gov
mountvernonin.gov
neenahwi.gov
newmadridcountymo.gov
nls.gov
pointpleasantbeachnj.gov
swcleanair.gov
waitehilloh.gov
hardwick-ma.gov

EXPIRED DOMAINS in Org Model Mode under the Hotel California portfolio:

erieco.gov
hendersoncountyil.gov
humboldt-wi.gov
lafayettecountymo.gov
laquintaca.gov
legmt.gov
ngla.gov
shreveportlawater.gov
somersettx.gov
stalbanswv.gov
swaincountync.gov
texicopolicenm.gov
build.gov
kingstonsprings-tn.gov
maizeks.gov
pitu.gov
randallso.gov
townofnilesny.gov
woodhavenmi.gov

EXPIRED DOMAINS in In Non Org Mode:
NOTE:
You will need to go into domain, search for domain -> manage domain -> add self as domain manager
If your email is not working, add yourself as an allowed email list on my sandbox

bearcreektownshipmi.gov
brantleycounty-ga.gov
chesapeakewv.gov
fairmontnc.gov
fultoncountyny.gov
lptami.gov
montgomerycountync.gov
opensource.gov
peoriaparks-il.gov
riverwoods.gov
santaclarita.gov
scit-nsn.gov
townofdunbarwi.gov
warnernh.gov
waynecountyil.gov
flpd6.gov
  1. In theory, I should've added enough domains that are expiring soon to the RH sandbox -- if you do not see any, please let either Aditi and/or Rebecca know and we can add some in for you (sorry for the inconvenience!).
  2. Go to /admin and turn the domain renewal waffle flag on (no org model yet)
  3. If you are not a domain manager of any of these domains, add yourself as a domain manager (via /admin -> Domains -> Manage Domains -> Add yourself)
  4. You should now see the renewal form in the sidebar. You can also access the form on the Domain Overview page via the link Renew to maintain access under the status.
  5. When you arrive at the Domain Renewal Form, you can test out editing your contact, security, and domain managers. Then, submit it to renew the domain.
  6. Now go to /admin and turn on the organization_feature flag and run through the same scenarios as above. (The ones I have added should be in the Agency Of The Litterbox Association portfolio, and you will probably need to add yourself as a domain manager to play around with it)

Note: The only difference between the org model and non org model view is that the org model view has breadcrumbs on top, but the non org model view does. The form should otherwise be the same.

Code Review Verification Steps

As the original developer, I have

Satisfied acceptance criteria and met development standards

  • Met the acceptance criteria, or will meet them in a subsequent PR
  • Created/modified automated tests
  • Update documentation in READMEs and/or onboarding guide

Ensured code standards are met (Original Developer)

  • If any updated dependencies on Pipfile, also update dependencies in requirements.txt.
  • Interactions with external systems are wrapped in try/except
  • Error handling exists for unusual or missing values

Validated user-facing changes (if applicable)

  • Tag @dotgov-designers in this PR's Reviewers for design review. If code is not user-facing, delete design reviewer checklist
  • Verify new pages have been added to .pa11yci file so that they will be tested with our automated accessibility testing
  • Checked keyboard navigability
  • Tested general usability, landmarks, page header structure, and links with a screen reader (such as Voiceover or ANDI)

As a code reviewer, I have

Reviewed, tested, and left feedback about the changes

  • Pulled this branch locally and tested it
  • Verified code meets all checks above. Address any checks that are not satisfied
  • Reviewed this code and left comments. Indicate if comments must be addressed before code is merged
  • Checked that all code is adequately covered by tests
  • Verify migrations are valid and do not conflict with existing migrations

Validated user-facing changes as a developer

Note: Multiple code reviewers can share the checklists above, a second reviewer should not make a duplicate checklist. All checks should be checked before approving, even those labeled N/A.

  • New pages have been added to .pa11yci file so that they will be tested with our automated accessibility testing
  • Checked keyboard navigability
  • Meets all designs and user flows provided by design/product
  • Tested general usability, landmarks, page header structure, and links with a screen reader (such as Voiceover or ANDI)
  • (Rarely needed) Tested as both an analyst and applicant user

As a designer reviewer, I have

Verified that the changes match the design intention

  • Checked that the design translated visually
  • Checked behavior. Comment any found issues or broken flows.
  • Checked different states (empty, one, some, error)
  • Checked for landmarks, page heading structure, and links

Validated user-facing changes as a designer

  • Checked keyboard navigability
  • Tested general usability, landmarks, page header structure, and links with a screen reader (such as Voiceover or ANDI)
  • Tested with multiple browsers (check off which ones were used)
    • Chrome
    • Microsoft Edge
    • FireFox
    • Safari
  • (Rarely needed) Tested as both an analyst and applicant user

References

Screenshots

Copy link

🥳 Successfully deployed to developer sandbox rh.

1 similar comment
Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

github-actions bot commented Jan 3, 2025

🥳 Successfully deployed to developer sandbox rh.

Copy link

github-actions bot commented Jan 3, 2025

🥳 Successfully deployed to developer sandbox rh.

Copy link

github-actions bot commented Jan 3, 2025

🥳 Successfully deployed to developer sandbox rh.

Copy link

github-actions bot commented Jan 4, 2025

🥳 Successfully deployed to developer sandbox rh.

Copy link

github-actions bot commented Jan 4, 2025

🥳 Successfully deployed to developer sandbox rh.

Copy link

github-actions bot commented Jan 4, 2025

🥳 Successfully deployed to developer sandbox rh.

@therealslimhsiehdy therealslimhsiehdy changed the title [DRAFT] #3129 - Tech Discovery On Renewal Form - [RH] #3129 - Domain Renewal Form - [RH] Jan 6, 2025
Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

1 similar comment
Copy link

🥳 Successfully deployed to developer sandbox rh.

@therealslimhsiehdy therealslimhsiehdy dismissed dave-kennedy-ecs’s stale review January 10, 2025 20:50

Has been addressed per Aditi's comments and commits

@kristinacyin kristinacyin self-requested a review January 10, 2025 20:50
Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link
Contributor

@kristinacyin kristinacyin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a couple of things that need to be relegated to post-POD work, but great job! Can't believe we've accomplished so much in such a short amount of time.

Comment on lines 319 to 329
def can_access_domain_via_portfolio(self, pk):
"""Most views should not allow permission to portfolio users.
If particular views allow permissions, they will need to override
this function."""
portfolio = self.request.session.get("portfolio")
if self.request.user.has_any_domains_portfolio_permission(portfolio):
if Domain.objects.filter(id=pk).exists():
domain = Domain.objects.get(id=pk)
if domain.domain_info.portfolio == portfolio:
return True
return False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more. Looks like this one should also be deleted.

Copy link
Contributor

@dave-kennedy-ecs dave-kennedy-ecs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve, pending removal of the additional noted method in the view.

Thank you for all of the test cases in the PR notes. This was especially helpful for testing, and Rebecca was really helpful jumping on a call to walk through the PR

Copy link

🥳 Successfully deployed to developer sandbox rh.

1 similar comment
Copy link

🥳 Successfully deployed to developer sandbox rh.

Copy link

🥳 Successfully deployed to developer sandbox rh.

@asaki222 asaki222 merged commit a0a53ea into main Jan 13, 2025
10 checks passed
@asaki222 asaki222 deleted the rh/3129-domain-renewal-form branch January 13, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dev: Domain Renewal Form - Single Page
5 participants