f06f2fa1b1
feat: 2D editing — floorplan panel, measurements, command palette (v0.3.0)
...
* sync: port 2D editing features from monorepo (v0.3.0)
## New Features
### Floorplan Panel (7.5K LOC)
- Full 2D editing interface with wall drawing, measurement, and unit display
- Interactive floorplan view with pan/zoom, grid snapping
- Wall thickness visualization, door/window placement
- Zone and slab polygon editing
- Guide image overlay support
- Metric/imperial unit toggle
### Command Palette Overhaul
- Complete rewrite with new command registry system
- Keyboard shortcuts UI with ShortcutToken component
- Editor-specific commands (floorplan, measurements, camera focus)
- Improved search and action organization
### Wall Measurements
- Real-time wall length labels in 3D view
- Metric/imperial conversion
- Wall measurement UI component
### Enhanced Tools
- Wall drafting utilities (grid snapping, validation)
- Node action menu for quick operations
- Improved polygon editing for zones/slabs/sites
- Roof segment panel for granular roof control
## Package Changes
### @pascal-app/core@0.3.0
- New wall-footprint.ts: 2D wall footprint calculation
- Wall mitering exports for floorplan view
- camera-controls:focus event
- Space detection undo pause/resume
- Mark sibling nodes dirty on deletion (miter recalc)
### @pascal-app/viewer@0.3.0
- ErrorBoundary component for robust item rendering
- Broken item fallback UI
- Wall renderer: mark dirty on mount
- Ground occluder: only lowest level punches through
- Unit state (metric/imperial) in viewer store
### @pascal-app/editor@0.1.0
- 48 file changes (16 new, 32 modified)
- New stores: useCommandRegistry, usePaletteViewRegistry
- Tree node drag-and-drop system
- Level selection utilities
- Enhanced scene graph operations
## Apps/Editor
- GeistPixelSquare font for pixel-perfect UI
- Blueprint icon asset
- Updated layout and globals for font support
## Security
- Zero AI imports or internal package refs
- All monorepo-specific code excluded
- Clean audit: no API keys or secrets
## Testing
- Security audit passed ✅
- All AI/internal code excluded ✅
- Version bumps applied ✅
79 files modified, 16 files added
~2600 insertions, ~1400 deletions
* fix: lint cleanup — suppress intentional dep warnings, fix missing dep, remove stale ignores
- Add biome-ignore for 3 intentional useEffect reset patterns (levelId, selectedGuide, selectedId)
- Fix actual missing dependency: currentBuildingId in handleSiteEditShortcutSelect callback
- Remove 3 stale biome-ignore comments in r3f.d.ts (rule not active)
Build and lint pass clean.
* fix: type errors — polygon area guards, selection cast, readonly keywords, door guard
- ceiling-panel, slab-panel, ceiling-tree-node, slab-tree-node, zone-tree-node:
guard polygon[i]/polygon[j] array access before arithmetic (TS2532)
- scene.ts: introduce toViewerSelection() helper to cast persisted string IDs
to branded template literal types expected by useViewer.setSelection (TS2345)
- door-panel: guard early return when node is undefined in setSegmentHeightRatio (TS18048)
- editor-commands: remove 'as const' from inline command object, keywords is mutable string[] (TS2322)
All type checks pass. Build and lint clean.
---------
Co-authored-by: Anton Pascal <anton-pascal@users.noreply.github.com >
2026-03-24 19:48:11 +00:00
1d28e4208f
sync: update core and viewer from monorepo ( #143 )
...
Major changes:
- Roof system rewrite with roof-segment support
- Scene store refactor
- Spatial grid improvements
- Item light system
- Post-processing and selection manager updates
- Perf monitor component
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 23:18:30 -04:00
wass08
f2501be2bf
remove community
2026-03-13 09:07:46 +01:00
wass08
849baa0a0e
default value
2026-03-06 13:08:24 +01:00
wass08
bc57afb8fa
collections + unify color picker
2026-03-06 13:08:23 +01:00
wass08
54051b11fa
item system controls
2026-03-06 13:08:21 +01:00
wass08
927ecba054
schema and interactive store
2026-03-06 13:06:33 +01:00
wass08
d79d54c4d8
evader for preset
2026-03-04 15:17:01 +01:00
wass08
23ed54cb6a
thumbnail generation
2026-03-04 15:13:07 +01:00
wass08
b114e60df7
fix hinge + materials
2026-02-25 14:50:17 +09:00
wass08
7608cad748
nice progress on doors
2026-02-25 14:05:32 +09:00
wass08
27e4afb757
draft custom door
2026-02-25 13:28:42 +09:00
wass08
c53f1f9679
ceiling system + reveal/hide
2026-02-25 08:59:04 +09:00
Wassim SAMAD and GitHub
2182fe535d
Merge pull request #116 from pascalorg/fix/community-feedback-pass-3
...
Fix/community feedback pass 3
2026-02-24 16:17:44 +09:00
Aymeric Rabot and GitHub
db05c86120
Add scene graph viewer and persist migration ( #115 )
...
Render an interactive Scene Graph in the Settings panel using @visual-json/react. Introduces SceneNode/SceneGraphNode types and buildSceneGraphValue to build a tree (handles missing nodes and cycles), and adds handlers to block drag/drop/context/delete mutations inside the viewer. Adds @visual-json/react to apps/editor package.json and updates the dev script to forbid .env.local and source the root .env instead. Also adds a persistence migration in use-scene to preserve existing nodes and rootNodeIds when the persist version changes.
2026-02-24 00:40:18 -05:00
wass08
20f5f7ab4a
fix wall elevation with slab holes
2026-02-24 10:27:51 +09:00
wass08
3791739b5b
mark nodes as dirty after deletion
2026-02-24 08:19:49 +09:00
wass08
5deb0b363e
fix render priority for item-system
2026-02-24 07:47:03 +09:00
wass08
d15f601107
item scale
2026-02-23 10:59:42 +09:00
wass08
3894d7c8bf
fixing system orders for ensuring level calculation comes last
2026-02-23 09:08:15 +09:00
wass08
16ba5bf9c6
fiix adjacent walls pushed up
2026-02-23 08:22:06 +09:00
wass08
e8fcc840d5
surface placement
2026-02-18 16:26:17 +09:00
wass08
c0676f684e
item surfaces
2026-02-18 16:06:23 +09:00
wass08
a121460965
fix y position on items
2026-02-18 15:05:25 +09:00
wass08
47373eadef
adjusting wall system + adding panel
2026-02-18 13:35:12 +09:00
wass08
be013d26e5
window panel
2026-02-18 13:14:55 +09:00
wass08
076faae7df
window building
2026-02-18 10:41:12 +09:00
Anton Pascal
ee30f17129
feat: rename properties to projects
...
- Rename all DB tables: properties → projects, properties_addresses → projects_addresses, properties_models → projects_models, property_likes → projects_likes
- Add projects_likes as proper Drizzle schema table (was SQL-only before)
- Rename ID prefixes: property_xxx → project_xxx
- Rename auth_sessions column: active_property_id → active_project_id
- Simplify project creation: address is now optional (no longer required to get started)
- Update all actions, stores, types, components, and routes
- Rename route: /editor/[propertyId] → /editor/[projectId]
- Add SQL migration for table/column/index/policy/function renames
- Update RPC functions: increment_project_views, get_project_like_count
- Update storage bucket reference: project-thumbnails
- All types/exports follow existing Drizzle patterns (pgTable, relations, zod schemas)
2026-02-17 20:40:52 +00:00
wass08
dd5f63df64
wall tool draft
2026-02-17 16:22:45 +09:00
wass08
13fd1848d1
polish catalog
2026-02-17 14:23:02 +09:00
wass08
d833245fbf
esc key cancel tool
2026-02-17 12:29:00 +09:00
wass08
078b2500a3
handle thumbnails (manual)
2026-02-17 12:07:32 +09:00
wass08
5d17fecf94
fix holes null
2026-02-16 12:19:58 +09:00
wass08
052efea2cb
polished placements
2026-02-16 09:12:04 +09:00
wass08
13070a5630
ceiling holes
2026-02-16 08:59:28 +09:00
wass08
0797a828f8
fix build issues
2026-02-12 10:56:56 +09:00
wass08
cfa7b8bfc1
handle holes in spatial grid manager
2026-02-12 10:46:07 +09:00
wass08
29e7fa09ef
slab holes
2026-02-12 10:41:37 +09:00
wass08
1467325475
reduce warning csg lib
2026-02-10 14:20:40 +09:00
wass08
b4375792ab
fix extra rebuild
2026-02-10 14:07:56 +09:00
wass08
4dd85993cb
fix issue undo history number input
2026-02-10 11:00:11 +09:00
wass08
6ec6a55b05
fix elevation issue
2026-02-10 10:04:14 +09:00
wass08
7b999b0952
remove log
2026-02-09 11:59:37 +09:00
wass08
40e3ce8d84
site boundary editor
2026-02-05 15:07:49 +09:00
wass08
39f9f595d8
scene starting with site and not with building anymore
2026-02-05 14:42:46 +09:00
wass08
875cf277e0
camera actions
2026-02-05 13:52:16 +09:00
wass08
51ab0d9739
fix build
2026-02-03 15:52:25 +09:00
wass08
a15952055a
wall sides feed with floo fill algorithm
2026-02-03 12:03:03 +09:00
wass08
05ce0323e2
gable-roof back
2026-02-02 14:48:36 +09:00
wass08
73dfac795a
fix placement
2026-02-02 11:39:38 +09:00