Skip to content

feat(portal): mobile-responsive layout#915

Merged
alexluong merged 4 commits into
hookdeck:mainfrom
lovlyx:feat/portal-mobile-responsive
May 29, 2026
Merged

feat(portal): mobile-responsive layout#915
alexluong merged 4 commits into
hookdeck:mainfrom
lovlyx:feat/portal-mobile-responsive

Conversation

@lovlyx
Copy link
Copy Markdown
Contributor

@lovlyx lovlyx commented May 27, 2026

Add responsive styles and small-viewport behavior across the portal UI. Key changes:

  • app.scss: responsive paddings, loading margins, header layout and small-viewport positioning.
  • global.scss: add $BREAKPOINT_* variables, prevent iOS zoom on inputs, hide horizontal overflow.
  • Sidebar: overlay behavior below 1024px, backdrop element, mobile full-width sidebar and z-index (SCSS + Sidebar.tsx portal markup).
  • Table: enable horizontal scrolling on narrow screens and set CSS var --table-min-width computed in Table.tsx (adds fallback column width calculation).
  • MetricsBreakdown: constrain label widths on mobile.
  • Scenes (CreateDestination, Destination, DestinationSettings, Attempts, DestinationsList): multiple layout, wrapping, grid and spacing adjustments for tablet/mobile viewports; improved wrapping for long values and tooltips.

These changes improve usability on tablet/phone widths and add safeguards for mobile browsers.

Group 427320736

Add responsive styles and small-viewport behavior across the portal UI. Key changes:

- app.scss: responsive paddings, loading margins, header layout and small-viewport positioning.
- global.scss: add $BREAKPOINT_* variables, prevent iOS zoom on inputs, hide horizontal overflow.
- Sidebar: overlay behavior below 1024px, backdrop element, mobile full-width sidebar and z-index (SCSS + Sidebar.tsx portal markup).
- Table: enable horizontal scrolling on narrow screens and set CSS var --table-min-width computed in Table.tsx (adds fallback column width calculation).
- MetricsBreakdown: constrain label widths on mobile.
- Scenes (CreateDestination, Destination, DestinationSettings, Attempts, DestinationsList): multiple layout, wrapping, grid and spacing adjustments for tablet/mobile viewports; improved wrapping for long values and tooltips.

These changes improve usability on tablet/phone widths and add safeguards for mobile browsers.
Copilot AI review requested due to automatic review settings May 27, 2026 13:57
@alexbouchardd
Copy link
Copy Markdown
Contributor

Really nice! We'll do some minor tweaks and ship it 💪

Comment thread internal/portal/src/common/Table/Table.tsx Outdated
Comment thread internal/portal/src/global.scss Outdated
lovlyx and others added 3 commits May 27, 2026 20:11
Rename Table component variables to use camelCase (fallbackFlexColumnWidth, tableMinWidth) and update the CSS custom property usage accordingly. In global.scss, remove previously defined breakpoint variables and replace the breakpoint reference with a hardcoded 640px in the media query. These changes improve naming consistency in the React code and simplify the responsive media query reference.
@alexluong alexluong merged commit 451f95c into hookdeck:main May 29, 2026
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.

3 participants