-
Notifications
You must be signed in to change notification settings - Fork 25
#3481: Move alerts below breadcrumbs [meoward] #3835
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
base: main
Are you sure you want to change the base?
Conversation
…in_content block into content block
07d4cde
to
a48f366
Compare
@@ -21,7 +21,14 @@ | |||
{% endif %} | |||
</div> | |||
|
|||
<div class="tablet:grid-col" id="main-content"> | |||
<div class="tablet:grid-col"> | |||
<main id="main-content" class="grid-container"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@erinysong - I reverted this change from a recent PR because for accessibility reasons, we should not remove main
- it's always better to use semantic html. I didn't see how it impacted the styling, but I'm sure you made the change for a reason, so let me know if this undoes something. I'm sure we can find a way to make the desired change without removing the main
tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kimallen thank you for changing that and explaining! We originally made that change because design noticed the grid sizing on the domain and domain request summary sidebars were different from the portfolio sidebar. We changed the domain and domain request layouts to match the portfolio but we can definitely revert this to maintain accessibility. cc: @gabo0oo who I was working on this during that PR's design review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the context @erinysong - I talked with @gabo0oo and figured out where the spacing issue was and believe that I adjusted it back while maintaining the <main>
tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocked from reviewing - running into 500 errors on the meoward sandbox when I try to access a domin in the admin portal & when I try to start domain requests in both org model and non-org model..
Never mind, some migrations weren't applied but Liz helped fix this issue! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
Thank you for moving all of these! This may be a separate bug but I noticed when prompting an alert on the domain renewal form tab, we have 2 breadcrumb menus so the alerts on this page appear twice above the breadcrumb. If updating this page and removing one of the breadcrumb menus ends up being more involved than a quickfix, happy to also make a bug ticket for this! I believe expiring domains are a little hard to reproduce in sandboxes because they pull from registry data and I just happened to find this because @therealslimhsiehdy manually created an expiring domain for me in my sandbox for a past PR I was testing, so feel free to test on my sandbox by adding yourself as a domain manager for account-wind-plant.gov if that makes testing easier! ![]() ![]() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated pages LGTM! Just had one change request commented above to update domain_renewal.html's error message placement that I think can be fixed by updating domain_renewal.html the same as you did the ones here
Good catch! And thanks for the tip on how to test it. I believe I have updated it, but I'm having trouble accessing the right things to view it in the sandbox. I sent an email to you with more details. |
Thank you! Ah I don't think I got an email but happy to go over it from standup |
Ticket
Resolves #3481
Changes
Context for reviewers
Because some of the alerts were in the
domain_base.html
so were appearing above the breadcrumbs, I added a breadcrumbs block before those alerts and then moved the breadcrumbs in the child templates into thecontent
block (and out of thedomain_content
block)Setup
In both the org model and non-org model, walk through each of the steps for creating a domain request. cause both success and error alerts and ensure they are below the breadcrumbs. Also be sure to go to a domain whose status is "DNS needed" and walk through the pages for adding DNS and check the breadcrumbs location.
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
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.
As a designer reviewer, I have
Verified that the changes match the design intention
Validated user-facing changes as a designer
References
Screenshots