Skip to content

Implement responsive navigation design - #3377

Merged
rosslovas merged 1 commit into
mainfrom
ross/responsive-design
Aug 18, 2026
Merged

Implement responsive navigation design#3377
rosslovas merged 1 commit into
mainfrom
ross/responsive-design

Conversation

@rosslovas

@rosslovas rosslovas commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements a responsive design: when the viewport is any more narrow than 1130px, where there's no longer sufficient remaining space to fit everything reasonably in the normal layout, the layout changes to a more mobile-friendly one.

Results

Try it out at https://stoctodocspr3377.z22.web.core.windows.net/docs?newnav

To test the signed-in state:

document.cookie = 'OctopusSignedInUser=' + encodeURIComponent(JSON.stringify({fullName: 'John Doe', email: 'jd@example.com'})) + ';path=/';
window.dispatchEvent(new CustomEvent('octopus:user-changed'));

(revert to the signed-out state with:)

document.cookie = 'OctopusSignedInUser=;path=/;max-age=0';
window.dispatchEvent(new CustomEvent('octopus:user-changed'));
Before

Squashed, no responsive design
image

After

Menu closed
image

Sections menu
image

Menu open, signed out
image

Menu open, signed in
image

Profile menu
image

@rosslovas rosslovas changed the title Ross/responsive design Implement responsive navigation design Aug 18, 2026
@rosslovas
rosslovas force-pushed the ross/responsive-design branch 2 times, most recently from 71773da to 45c71bf Compare August 18, 2026 01:16
@team-marketing-branch-protections

Copy link
Copy Markdown

Pull request environment is available at https://stoctodocspr3377.z22.web.core.windows.net.

You can view the ephemeral environment status in Octopus Deploy.

This environment will be automatically deprovisioned when the pull request is closed, or after 7 days of inactivity.

@rosslovas
rosslovas force-pushed the ross/responsive-design branch 3 times, most recently from 7c8dea5 to c5dcf89 Compare August 18, 2026 02:21
@rosslovas
rosslovas marked this pull request as ready for review August 18, 2026 02:39

@enf0rc3 enf0rc3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM Tested on browser!

@ellen-octopus ellen-octopus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks so good 👏🏻

@rosslovas
rosslovas force-pushed the ross/responsive-design branch from c5dcf89 to 3515290 Compare August 18, 2026 04:33
@rosslovas
rosslovas merged commit e2cde07 into main Aug 18, 2026
7 checks passed
@rosslovas
rosslovas deleted the ross/responsive-design branch August 18, 2026 04:43
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.

4 participants