Skip to content

feat: in-map popover editor for sites and links #804

@wilhel1812

Description

@wilhel1812

Replace the current split-panel editor (which includes a separate embedded map) with a popover-style editor that lives on the main map. The editor is opened via the pencil icon in the sidebar list (see companion issue) or via the "New" button for sites.

The editor edits the library entry, same as the current editor.

Editor behavior:

  • Appears as a floating Surface card on the main map, anchored to or near the selected site or link marker
  • Contains all the same fields as the current editor
  • Cannot be dismissed by clicking outside — only via dedicated buttons (Save, Cancel, or Close)

Creating a new site:

  • A pin is placed at the current map center
  • The pin can be dragged to position it
  • The popover editor opens immediately

Mobile:

  • On mobile the editor adopts a bottom panel style (similar to the existing mobile bottom panels), so both the map and the editor are visible at the same time

Long-term:

  • The current editors are to be removed once this is in place

Metadata

Metadata

Assignees

No one assigned

    Labels

    in-stagingImplemented and verified in staging

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions