Edit a widget's popup in Settings, not only in JSON

オープン
#217 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
swift
領域
desktop

調査の方向性

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 の本文から書いたものです。

説明

enhancement P3

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).
  • openOnHover for shared popups under popups (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 openOnHover and 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分
マージ済み PR(30日)
387

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Seb-GRAF/StableBar のほかの issue

Seb-GRAF/StableBar の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。