Skip to content

feat: backport monorepo PRs #297, #302, #306 — floorplan thumbnails + mobile editor UI#282

Merged
Aymericr merged 1 commit intomainfrom
sync/monorepo-297-302-306
Apr 28, 2026
Merged

feat: backport monorepo PRs #297, #302, #306 — floorplan thumbnails + mobile editor UI#282
Aymericr merged 1 commit intomainfrom
sync/monorepo-297-302-306

Conversation

@Aymericr
Copy link
Copy Markdown
Contributor

Monorepo → Editor Sync

Backports three monorepo PRs into the public editor:

Monorepo PR #297 — Floorplan item thumbnails

  • Add optional floorPlanUrl to item asset schema (@pascal-app/core)
  • Render 2D floor-plan images inside item footprints on the floorplan panel (replaces diagonal-cross markers when present)
  • Improve slider drag with modifier key re-anchoring (Shift/Cmd/Alt mid-drag no longer jumps)

Monorepo PR #302 — Mobile editor UI

  • Mobile layout with draggable bottom sheet (BottomSheet, EditorLayoutMobile)
  • Mobile tab bar for sidebar navigation
  • Mobile selection bar with move/duplicate/delete/edit actions
  • Mobile panel sheet (portal-based, drag-to-dismiss)
  • useIsMobile rewrite using useSyncExternalStore (SSR-safe, no hydration mismatch)
  • EditorLayoutV2 auto-switches to mobile layout at <768px
  • Camera actions hideOrbit prop for mobile
  • GridSnapControl + SecondaryToggles exports in view-toggles
  • Action menu hides on mobile contextual tabs (Chat, Items, Studio)
  • SidebarTab extended with mobileDefaultSnap / mobileIcon
  • PanelManager mobile path: selection bar + sheet instead of floating panel
  • PanelWrapper strips its header on mobile (sheet provides its own)
  • use-editor store: mobilePanelSheetHeight, isCaptureMode

Monorepo PR #306 — Mobile UI polish

  • Touch gesture mapping for camera controls (1-finger rotate, 2-finger zoom+pan, 3-finger rotate)
  • Snap ratio constants for bottom sheet (0.5, 0.66)
  • Phase/mode sync: Items tab → furnish-build, Chat tab → select
  • Thumbnail generator WebGL2 fallback (bottom-up row flip for iOS Chrome)
  • ErrorBoundary scope logging + viewer scene wrap
  • GPUDeviceWatcher: enhanced logging, uncaptured error handler
  • WebGPURenderer init: try/catch with diagnostics
  • Post-processing log improvements ([viewer/post-processing] prefix)
  • MergedOutlineNode WebGL2 FBO corruption fix (skip renderer state manipulation when idle)

Excluded (monorepo-only)

apps/community/*, apps/editor/*, packages/community-*, .cursor/*, .env.example

Validation

  • @pascal-app/core typecheck
  • @pascal-app/viewer typecheck
  • @pascal-app/editor typecheck (pre-existing errors only in site-panel, zone-tree-node, scene.ts)
  • ✅ Biome lint on all touched files

Port floorplan item thumbnails, full mobile editor UI, and
mobile polish from the private monorepo into the public editor.

Monorepo PR #297 (feat/item-admin-advanced):
- Add optional floorPlanUrl to item asset schema (core)
- Render 2D floor-plan images inside item footprints on floorplan
- Improve slider drag with modifier key re-anchoring

Monorepo PR #302 (feat/mobile-ui):
- Mobile editor layout with draggable bottom sheet
- Mobile tab bar, selection bar, and panel sheet
- Mobile-aware panel manager and panel wrapper
- useIsMobile rewrite (useSyncExternalStore, SSR-safe)
- Camera actions hideOrbit prop
- GridSnapControl and SecondaryToggles exports
- Action menu hides on mobile contextual tabs
- SidebarTab extended with mobileDefaultSnap/mobileIcon

Monorepo PR #306 (feat/mobile-ui-polish):
- Touch gesture mapping for camera controls (one/two/three finger)
- Snap ratio constants for bottom sheet
- Thumbnail generator WebGL2 fallback (bottom-up row flip)
- ErrorBoundary scope logging, viewer scene wrap
- GPUDeviceWatcher enhanced logging and uncaptured error handler
- WebGPURenderer init error handling and diagnostics
- Post-processing log improvements
- MergedOutlineNode WebGL2 FBO corruption fix

Excluded: apps/community/*, apps/editor/*, packages/community-*,
.cursor/*, .env.example (monorepo-only files)
@mintlify
Copy link
Copy Markdown

mintlify Bot commented Apr 28, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
pascal 🔴 Failed Apr 28, 2026, 1:25 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Aymericr Aymericr force-pushed the sync/monorepo-297-302-306 branch from 2445aa6 to 95f3911 Compare April 28, 2026 13:31
@Aymericr Aymericr merged commit aa43bb6 into main Apr 28, 2026
0 of 2 checks passed
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.

2 participants