Repository navigation
Feat/import and manipulate image scans - #2
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
gsigrupa
added a commit
to gsigrupa/editor
that referenced
this pull request
May 23, 2026
User request pascalorg#1 + pascalorg#2: 1. Domyslna jednostka cm (zamiast m) — wszystkie formatery dlugosci konwertuja value*100 → "Math.round(cm)" + suffix "cm" 2. Usuniete imperial/ft — toggle button hidden, zostawiony statyczny label "cm" jako info-only Zmienione formatMeasurement w 4 plikach: - packages/editor/src/components/editor/wall-measurement-label.tsx - packages/editor/src/components/editor/site-edge-labels.tsx - packages/nodes/src/wall/tool.tsx (drafting) - packages/nodes/src/fence/tool.tsx (drafting) floorplan-panel.tsx area formatter: - powierzchnia zostawiona w m² (czytelniejsze dla podłóg) - usuniety imperial branch apps/editor/components/viewer-toolbar.tsx UnitToggle: - button onClick + setUnit usunięty - pokazuje statycznie "cm" z tooltip "Centymetry" - store viewer.unit pozostaje 'metric' (transparent dla user'a) User request pascalorg#3 (SketchUp-style numeric input 105 cm + Enter podczas rysowania ściany) wymaga przepisania state machine wall/tool.tsx (~300 lin + keyboard listener + UI feedback). Osobna sesja. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
gsigrupa
added a commit
to gsigrupa/editor
that referenced
this pull request
May 23, 2026
…g#330, pascalorg#332) Sync z pascalorg/editor main po 2 commitach upstream: - bb5ce68 Viewer render modes (Solid/Rendered + textures + surface-role clay + scene themes + edges) — PR pascalorg#332 - 87384cf feat(roof-system): 6 roof-accessory kinds (chimney, dormer, skylight, solar-panel, ridge-vent, box-vent) — PR pascalorg#330 Konflikty (4) rozwiazane manualnie z zachowaniem naszych GSI customizations: 1. use-placement-coordinator.tsx — upstream sam naprawil bug (PR pascalorg#332 zawiera identyczny useCallback fix jak nasz 7102269); wezmy upstream 2. site-edge-labels.tsx — zachowane: lengthUnit z useViewer (nasze formatMeasurement obsluguje m/cm/mm); dodane: isNight z nowego getSceneTheme(state.sceneTheme).appearance 3. wall-measurement-label.tsx — analogicznie do pascalorg#2 4. structure-tools.tsx — zachowane PL labels (Ściana/Drzwi/Okno/Schody/ Dach dwuspadowy/Ogrodzenie/Słup/Winda/Płyta podłogowa/Sufit/Strefa/ Punkt startowy/Półka); dodany upstream'owy komentarz o roof accessories (chimney/dormer/skylight/solar-panel/ridge-vent/box-vent intentionally NOT w top palette — wejscie przez roof inspector) Migracja theme API (upstream rename `theme` → `sceneTheme` w ViewerState): - editor/index.tsx body.dark sync przelaczony na getSceneTheme(state.sceneTheme).appearance === 'dark' PL translations nowe nodes (6): - chimney → Komin - ridge-vent → Wywietrznik kalenicowy - box-vent → Wywietrznik kostkowy - solar-panel → Panel słoneczny - skylight → Świetlik - dormer → Lukarna + shortcuts: 'Left click' → 'Lewy klik', 'Place X on roof' → 'Umieść X na dachu', 'Cancel' → 'Anuluj' (10 plików) TS: 0 errors w core/viewer/editor/nodes/mcp i apps/editor.
gsigrupa
added a commit
to gsigrupa/editor
that referenced
this pull request
May 23, 2026
Bug: cascade rename "Pomieszczenie 1" → "Kuchnia" nie aktualizowal slab/ ceiling names mimo poprawnej implementacji. Root cause: initSpaceDetectionSync mial JEDEN subscriber z `if (pauseDepth > 0) return` na poczatku. Pascal pauseuje history podczas placement tools / initial scene load → subscriber early returns BEZ aktualizacji cache previousZoneNames. Potem user rename zone → fire pascalorg#2, cache pusty, prev=undefined → changedZones zawsze pusty → cascade nigdy nie odpala. Fix: rozdzielenie na dwa osobne subscribery: 1. unsubscribeDetection — wall snapshot diff (z pauseDepth guard, jak wczesniej) 2. unsubscribeZoneRename — TYLKO zone name diff, BEZ pauseDepth guard (cascade rename to lightweight op, niezalezna od historii sceny) Subscriber zone rename ZAWSZE aktualizuje cache na koncu fire — niezaleznie od tego czy zmiana wystapila. To gwarantuje ze drugi fire (po user rename) ma poprawny snapshot poprzednich nazw do porownania. Debug window.__zoneDebug zaktualizowany o firstPoint polygonu zone (do weryfikacji czy polygon match z slab/ceiling polygon dziala).
2 of 4 tasks
3 of 4 tasks
zhangtianqides
added a commit
to lytech2020/pascalorg-editor
that referenced
this pull request
Jul 15, 2026
Co-Authored-By: Claude Fable 5 <[email protected]>
3 tasks done
leapar
added a commit
to leapar/pascaleditor
that referenced
this pull request
Aug 31, 2026
…ascalorg#3, pascalorg#6 - pascalorg#1: FitSceneButton now calls useTranslations() (was throwing ReferenceError on render). - pascalorg#2: Command palette group keys use dotted form (commands.group.scene) to match the i18n catalog; previously used the flat form (commands.groupScene) which produced undefined labels. - pascalorg#3: save-button.tsx migrated from the bespoke messages[] lookup to useTranslations() with save.* keys, removing the unprefixed key leak into the global namespace and matching the rest of the codebase. - pascalorg#6: Added missing catalog keys with full en/zh parity: sidebar.build, sidebar.settings editor.openSavedScenes, editor.rotate, editor.place, editor.forcePlace, editor.guidedConstraintsBypassed Skipped pascalorg#4 (resolveBaseUrl) and pascalorg#5 (editor-layout-v2 toolbar) — those predate this branch and are out of scope for the i18n restore PR.
4 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.