Edit a widget's popup in Settings, not only in JSON
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
Research direction
Start with Sources/StableBar/WidgetSettings.swift and the layout block documentation in docs/create-a-widget.md; inspect how Settings currently edits widget properties and how popups are represented. Build the proposed popup block tree editor with add, remove, reorder, and block editing controls plus a live preview. It is done when a widget’s popup can be edited in Settings without JSON and the preview reflects those edits.
Written by the indexing model from the issue text.
Description
Problem
Settings edits a widget's content, style and behaviour, but not its popup. These need JSON, through Edit as JSON… or the command line:
- A popup's contents (its layout blocks) and
hoverLayout(docs/create-a-widget.md). - Click commands and menus: for a widget with them, Settings says "This widget runs a command and opens a popup. Change it with Edit as JSON in the More menu." (WidgetSettings.swift:27, :51).
openOnHoverfor shared popups underpopups(docs/popups.md). Inline popups have Open its popup on hover in Settings.
Proposal
A first step: in Settings, a widget with a popup gets an editor for the popup's block tree (add, remove, reorder and set blocks) with a live preview.
Stays JSON-only for now: click commands, menus, hoverLayout, shared popups and their openOnHover.
Possible today
Yes, by editing JSON through Edit as JSON…, the command line or the configuration file (docs/popups.md).
Related
- #103 moved widget setup out of JSON, except popups and click commands.
- #88 added
openOnHoverand its toggle for inline popups. - #16 draws widgets and popups through layout blocks.
Checked on main 4160f7f.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
- Dominant language
- Swift
- Stars
- 184
- Forks
- 12
- Avg merge
- 3h 50m
- Merged PRs (30d)
- 387
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Seb-GRAF/StableBar
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
-
Menu bar items drawn as in the menu bar show the wrong part of the menu bar after a display changePossibly taken @Jonathanm10 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
Allow the App Menu to display the frontmost app iconPossibly taken @khatami10 claimed this today. Openenhancement needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in Seb-GRAF/StableBar
Similar issues
-
good first issue help wanted testing
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area:cli documentation good first issue priority:low
Difficulty 1/5 Under an hour Newbie friendliness 94/100
isaaclins/freesnitch#430 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MasterJ93/ATProtoKit#354 ·
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
heysidhant/appvanish#4 ·
-
bug priority:low status:queued
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day