theseus/bundled-addons/screenshot
Local Dev 15694195d6 feat(theseus/screenshot): full-tab editor + toolbar-menu + open-tab capabilities
Reworks the screenshot addon into the flow the user asked for: the
dock icon opens a small dropdown menu (Visible viewport / Full page /
Region…) instead of the sidebar picker, and each capture opens a
full browser tab hosting an editor.

Two new addon-host capabilities land alongside:
- toolbar-menu: the addon declares an icon + item list in its manifest;
  the chrome dock renders a button that, on click, opens a small menu
  and dispatches the selection to the addon via addon-menu-select IPC.
- open-tab: api.openTab(path) opens a browser tab whose URL is the
  addon's local file. Origin-gated per addon; the editor uses a
  dedicated addon-tab-preload for its main → renderer bridge.

Editor page (editor.html/js/css):
- Crop, arrow, rectangle, circle, freehand pen, text, blur
- Colour swatches (red / yellow / acid / white / black), 3 stroke widths
- Undo/redo command stack, zoom controls
- Save PNG (goes through the download pipeline, chip picks it up)
- Copy to clipboard via ClipboardItem
2026-09-07 00:56:57 +02:00
..
addon.json feat(theseus/screenshot): full-tab editor + toolbar-menu + open-tab capabilities 2026-09-07 00:56:57 +02:00
editor.css fix(theseus/light): darker acid (#3a5c00) + add missing overrides in addon panels 2026-09-07 00:56:33 +02:00
editor.html feat(theseus/screenshot): full-tab editor + toolbar-menu + open-tab capabilities 2026-09-07 00:56:57 +02:00
editor.js feat(theseus/screenshot): full-tab editor + toolbar-menu + open-tab capabilities 2026-09-07 00:56:57 +02:00
index.js feat(theseus/screenshot): full-tab editor + toolbar-menu + open-tab capabilities 2026-09-07 00:56:57 +02:00
panel-preload.js feat(theseus/screenshot): bundled screenshot add-on (visible / full page / region) 2026-09-07 00:18:48 +02:00