Edit a widget's popup in Settings, not only in JSON
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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).
- 主要语言
- Swift
- 星标
- 184
- 派生
- 12
- 平均合并
- 3 小时 50 分钟
- 30 天内合并 PR
- 387
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Seb-GRAF/StableBar 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 52/100
维护者通常 1 天内回复
-
Menu bar items drawn as in the menu bar show the wrong part of the menu bar after a display change可能已有人在做 @Jonathanm10 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 30/100
维护者通常 1 天内回复
-
Allow the App Menu to display the frontmost app icon可能已有人在做 @khatami10 今天认领。 未关闭enhancement needs-triage
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
查看 Seb-GRAF/StableBar 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
haacked/switchboard#420 ·
维护者通常 1 天内回复
-
area: sidebar enhancement
难度 2/5 1-3 小时 新手友好度 62/100
ZigaoWang/zigzag#351 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
-
needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
manaflow-ai/cmux#46584 ·
维护者通常 1 天内回复
-
android:core ios:core
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复