backnotprop / backnotprop/plannotator

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

Open
#1,345 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
11h 12m
Merged PRs (30d)
109

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.