Skip to content

Restore robust desktop density - #591

Merged
hamzamerzic merged 1 commit into
mobius-os:mainfrom
hamzamerzic:fix/desktop-density
Aug 3, 2026
Merged

Restore robust desktop density#591
hamzamerzic merged 1 commit into
mobius-os:mainfrom
hamzamerzic:fix/desktop-density

Conversation

@hamzamerzic

Copy link
Copy Markdown
Collaborator

Summary

Restore the owner-selected 90% density for desktop web while keeping tablet and phone layouts at native scale. The change centralizes the real browser boundary between painted client coordinates and zoomed layout coordinates so compact desktop chrome no longer compromises dragging, menus, scrolling, viewport fitting, image gestures, or theme transitions.

Changes

  • restore document-level desktop density at the existing 1024px breakpoint
  • add one small layout-space module and route custom client-to-layout geometry through it
  • keep mini-app frames native and preserve physical gesture thresholds
  • cover desktop, tablet, and phone shell bounds plus physical divider travel
  • document the coordinate-space contract and remove superseded native-only helpers

This deliberately revisits #480. That PR correctly removed an incomplete zoom implementation whose callers mixed painted and layout coordinates; this version restores the requested density together with a reviewed, single conversion boundary and browser-level regressions for the interactions that previously broke.

Testing

  • 2,336 frontend library tests
  • 79 frontend hook tests
  • lint (44/47 warning ratchet)
  • production and offline/PWA builds
  • git diff --check

Pre-ship review: the coordinate bridge exposes only captured space plus client point/delta conversion; unused inverse and rectangle APIs were removed, gesture snapshots reuse one captured space, and source-reading assertions were reduced in favor of unit and browser behavior.

@hamzamerzic hamzamerzic added bug Something isn't working area: ui User interface and interaction design labels Aug 3, 2026
@hamzamerzic
hamzamerzic force-pushed the fix/desktop-density branch from e5d0cf3 to 4d4432b Compare August 3, 2026 16:55
Co-authored-by: Möbius Agent <mobius-agent@users.noreply.github.com>
@hamzamerzic
hamzamerzic force-pushed the fix/desktop-density branch from 4d4432b to c4c1218 Compare August 3, 2026 16:55
@hamzamerzic
hamzamerzic added this pull request to the merge queue Aug 3, 2026
Merged via the queue into mobius-os:main with commit b97cc64 Aug 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui User interface and interaction design bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant