Skip to content

fix: Default properties panel to open for new projects#90

Merged
ThomasHalwax merged 1 commit intomainfrom
fix/properties-panel-default-open
Feb 14, 2026
Merged

fix: Default properties panel to open for new projects#90
ThomasHalwax merged 1 commit intomainfrom
fix/properties-panel-default-open

Conversation

@axel-krapotke
Copy link
Copy Markdown
Contributor

Change

The properties panel is now open by default in new projects. Previously, the default was closed (''), which confused users who expected to see properties when selecting features on the map.

What changed

The default value of ui.properties changed from '' to 'properties' in:

  • src/renderer/components/Project.js — renders the panel
  • src/renderer/components/Toolbar.js — toolbar toggle button

Behaviour

  • New projects: Properties panel is visible. Selecting a feature/layer shows its properties immediately.
  • Existing projects: No change. The stored preference is respected.
  • User control: Users can close the panel via the toolbar button. Their choice is persisted.

Spec & Tests

  • Spec: specs/properties-panel-default-open.md
  • Tests: test/renderer/properties-panel-default-test.js (3 tests verifying default values and consistency)

Change the default value of ui.properties from '' (closed) to
'properties' (open) in both Project.js and Toolbar.js.

New projects now show the properties panel by default when a feature
or layer is selected. Users can toggle it off; their preference is
persisted and respected on subsequent opens.

Spec: specs/properties-panel-default-open.md
@ThomasHalwax ThomasHalwax merged commit 0895056 into main Feb 14, 2026
1 check passed
@ThomasHalwax ThomasHalwax deleted the fix/properties-panel-default-open branch March 23, 2026 13:41
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