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

#3074 - Change (margin/padding) responsive layouts - [NL] #3220

Merged
merged 36 commits into from
Dec 31, 2024

Conversation

CocoByte
Copy link
Contributor

@CocoByte CocoByte commented Dec 12, 2024

Ticket 3074

Resolves #3074

Changes

  • Navbar, banners, and footers now have widescreen set globally
  • left & right margins set to 48px for --widescreen navbar, banners, and footers (see Context Note)
  • Domain Request pages (non-org) have their top padding normalized
  • Pages for new domain requests are left-aligned to header content (48px left margin)

Context for reviewers

Setup

Code Review Verification Steps

code is deployed to -nl

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

@CocoByte CocoByte requested a review from allly-b as a code owner December 12, 2024 03:32
Copy link

🥳 Successfully deployed to developer sandbox nl.

@CocoByte CocoByte changed the title [Draft] #3074 - Change (margin/padding) responsive layouts #3074 - Change (margin/padding) responsive layouts - [NL] Dec 12, 2024
@CocoByte CocoByte changed the title #3074 - Change (margin/padding) responsive layouts - [NL] [Draft - making updates] #3074 - Change (margin/padding) responsive layouts - [NL] Dec 12, 2024
@CocoByte CocoByte changed the title [Draft - making updates] #3074 - Change (margin/padding) responsive layouts - [NL] #3074 - Change (margin/padding) responsive layouts - [NL] Dec 12, 2024
Copy link

🥳 Successfully deployed to developer sandbox nl.

@CocoByte CocoByte changed the title #3074 - Change (margin/padding) responsive layouts - [NL] #3074 - Change (margin/padding) responsive layouts - [AB] Dec 13, 2024
Copy link

🥳 Successfully deployed to developer sandbox nl.

@gabo0oo gabo0oo requested review from gabo0oo and removed request for a team December 13, 2024 23:03
Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

@rachidatecs
Copy link
Contributor

Screenshot 2024-12-31 at 12 31 00 PM Screenshot 2024-12-31 at 12 30 49 PM

There's a max-width on usa-footer__address that needs to be overriden to fully extend the usa-footer__secondary-section rightward

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

Copy link

🥳 Successfully deployed to developer sandbox nl.

src/registrar/assets/src/sass/_theme/_containers.scss Outdated Show resolved Hide resolved
src/registrar/assets/src/sass/_theme/_base.scss Outdated Show resolved Hide resolved
src/registrar/templates/base.html Show resolved Hide resolved
src/registrar/assets/src/sass/_theme/_base.scss Outdated Show resolved Hide resolved
@CocoByte CocoByte merged commit 5dcb3ea into main Dec 31, 2024
10 checks passed
@CocoByte CocoByte deleted the nl/3074-responsive-layouts-widescreen branch December 31, 2024 19:25
@gabo0oo
Copy link
Contributor

gabo0oo commented Dec 31, 2024

Hi @CocoByte doing a final pass through and noticed a bug on the view version of a domain request.
Uploading Screenshot 2024-12-31 at 2.10.50 PM.png…

@CocoByte CocoByte changed the title #3074 - Change (margin/padding) responsive layouts - [AB] #3074 - Change (margin/padding) responsive layouts - [NL] Dec 31, 2024
@CocoByte CocoByte restored the nl/3074-responsive-layouts-widescreen branch December 31, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants