Native window chrome: one title row on every OS (no stacked bars), a contract every desktop app follows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- css, typescript
- 領域
- design, desktop-dev, frontend
調査の方向性
Start with the existing Windows WindowControls.svelte and the Svelte 5 component conventions in the kit, since that is the one piece of prior art the issue names. Read the per-OS rules table as the spec for TitleRow, CaptionButtons, AppMenu and the platform probe, and settle the token names (--title-row, --window-pad) before writing components. Done looks like the components and rules doc landing with the per-OS light/dark screenshot matrix and visual tests in the kit gate, then the Linux one-row fix in codeatlasdev/atlas#269. This is a design proposal spanning many files and three operating systems, so it needs a maintainer to scope it down before anyone starts.
索引モデルが issue の本文から書いたものです。
説明
Why
Atlas Desktop (Tauri) runs on macOS, Windows and Linux. Each app currently decides its window chrome by itself, and on Linux the result looks improvised: a native title bar, then a GTK menubar ("Atlas File Edit View Go Window Help") in an otherwise empty band, then the page's own drag row. That is three stacked bars (codeatlasdev/atlas#269). A native app built on @codeatlasdev/ui should look deliberate everywhere, and the kit is where that rule should live, so every app gets it for free.
Proposal: a WindowChrome contract in the kit
One title row, drawn by the page, on every OS. The rules:
| macOS | Windows | Linux (GNOME, KDE, …) | Linux tiling (Hyprland, Sway, i3) | |
|---|---|---|---|---|
| Native title bar | overlay (traffic lights inside the row) | none (decorations: false) |
none | none |
| Native menubar | the system's own, at the top of the screen | none | none | none |
| Caption buttons | system traffic lights | page-drawn, right, Windows 11 metrics | page-drawn, order and side from gtk-decoration-layout / button-layout |
hidden: the WM owns the window |
| Drag / double-click | title row | title row → maximize | title row → maximize | n/a |
| Menu commands | menubar plus palette | palette plus a ⋯ app menu in the row |
palette plus ⋯ |
palette plus ⋯ |
Components and tokens:
TitleRowwith drag region, slots (leading, title, trailing), height token--title-row, and the window pad--window-pad.CaptionButtons(min / max-restore / close): per-OS glyphs, hit areas that reach the screen edge (Fitts), hover and pressed states, a red close on Windows, symbolic icons on GNOME.AppMenu(⋯): every command of the old native menu, with its shortcut; the same source as the command palette.- A platform probe the app passes in (
os,tiling,buttonLayout,prefersReducedTransparency), never sniffed fromnavigator.platformalone. - Rules doc: no stacked bars, never an empty band, one row of max
--title-rowheight, focus order, a11y names for the caption buttons, and what to test (drag, double-click, resize edges, fullscreen F11, RTL).
Acceptance
- The components and tokens in the kit, documented with a per-OS screenshot matrix.
- A visual test per OS and theme (light and dark) in the kit's gate.
- Atlas Desktop adopts it: Linux shows one row (codeatlasdev/atlas#269), and Windows moves its
WindowControls.svelteinto the kit.
- 主要言語
- TypeScript
- スター
- 6
- フォーク
- 3
- 平均マージ
- 5時間 21分
- マージ済み PR(30日)
- 378
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codeatlasdev/ui のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
codeatlasdev/ui#1340 ·
メンテナーはふだん 1 日以内に返信
-
area:a11y area:components bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
codeatlasdev/ui#1336 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
codeatlasdev/ui#1329 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
codeatlasdev/ui#1292 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:components enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
codeatlasdev/ui#1198 ·
メンテナーはふだん 1 日以内に返信
codeatlasdev/ui の issue をすべて見る
似ている issue
-
bug frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
CivicTechWR/accessible-housing-portal#578 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nekko-labs/nekko-agent#2998 ·
メンテナーはふだん 1 日以内に返信
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskオープン
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
sandbox-quantum/switch#2163 ·
メンテナーはふだん 1 日以内に返信
-
enhancement ux
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lolimmlost/aidj#433 ·
メンテナーはふだん 1 日以内に返信
-
test: ipcShownDialogKeys.test.tsx can fail the unit run with 'window is not defined' after it endsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信