Skip to content

feat: read/write API for panels and tab trees - #2431

Open
valkenrath wants to merge 1 commit into
mbnuqw:v5from
valkenrath:external-api
Open

feat: read/write API for panels and tab trees#2431
valkenrath wants to merge 1 commit into
mbnuqw:v5from
valkenrath:external-api

Conversation

@valkenrath

Copy link
Copy Markdown

Why

Firefox's tabs API does not expose Sidebery's panels, groups, or tree structure. Other extensions therefore cannot understand or safely modify the organization users maintain in Sidebery without depending on private storage.

This addresses the integration use cases discussed in #616.

Scope

This adds a typed extension-to-extension API. Exposes panel and tab-hierarchy state, supports moving branches, managing groups, and flattening hierarchy through Sidebery's existing services.

The change includes request validation, structured errors, documentation, and tests.

Firefox accepts messages from any installed extension by default, so this creates a general integration surface rather than an allowlisted one. Open to suggestion here.

Validation

  • npm run lint.types
  • npm test -- --run
  • npm run build
  • web-ext lint --source-dir addon

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