Skip to content

Add a host-prefs option to configurePlannotatorUI so embedded hosts can preset one-time UI state #1345

Description

@ddiall

One-time UI state (permission-mode choice, feature-announcement dismissals,
update banner) persists via per-origin localStorage. For embedded hosts
(iframe), storage can be partitioned or origins can change per session
(e.g. per-session ports), so these dialogs reappear on every session.

The published UI packages already expose a host-override seam
(configurePlannotatorUI). Proposal: extend it with an initial-prefs object
(e.g. { permissionMode, dismissedAnnouncements, skipTours }) that the editor
honors on boot, so a host can preset state instead of depending on
localStorage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions