The bars show fullscreen only where it works, and name every control
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with the fullscreen button in src/deck-engine/DeckChromeViewer.tsx and DeckChromePresenter.tsx, then the isFullscreen initial value in DeckController.tsx. Hide the button when document.fullscreenEnabled is false, add aria-label={EXIT_DECK_LABEL} to the presenter's Exit button, and move the compact bar's ✕ and chevron sizes into named constants in viewerBarLayout.ts. Done when a wide browser without the Fullscreen API shows no fullscreen button, and the engine's tests pass.
索引モデルが issue の本文から書いたものです。
説明
Why
There are three small gaps in the bars.
- Fullscreen.
src/deck-engine/DeckChromeViewer.tsxandDeckChromePresenter.tsxdraw the fullscreen button at every non-compact width, even in a browser with no Fullscreen API (document.fullscreenEnabledis false, as on an iPhone held in landscape). There the button does nothing, which reads as broken.DeckController.tsxalso startsisFullscreenatfalse, even when the page is already fullscreen. - Names. The presenter bar's Exit button has no
aria-label, unlike the viewer's, which usesEXIT_DECK_LABEL. - Glyph sizes. On the compact bar, Exit's ✕ and the chevrons share one 20px size. Exit is the control most often reached for in a hurry; a slightly larger ✕ (22px) and slightly smaller chevrons (18px) make it easier to find.
What changes
- Both bars render the fullscreen button only when
document.fullscreenEnabledis true, checked once. isFullscreenstarts from!!document.fullscreenElement.- The presenter's Exit gets
aria-label={EXIT_DECK_LABEL}. - On the compact bar, Exit's ✕ is 22px and the chevrons are 18px, each as a named constant beside the bar's other sizes in
viewerBarLayout.ts.
Done when
- At a wide width, a browser without the Fullscreen API shows no fullscreen button, and F does nothing.
- Every presenter-bar button has an accessible name.
- The engine's tests pass.
Out of scope
- The presenter's previous and next glyphs, which issue 18 covers.
- Any layout change.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 0
- 平均マージ
- 30分
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
johnfrog76/connected-deck のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
johnfrog76/connected-deck#21 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
johnfrog76/connected-deck#19 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
johnfrog76/connected-deck#18 · コメント 3 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
johnfrog76/connected-deck#23 ·
-
enhancement
難易度 3/5 半日 初心者へのやさしさ 66/100
johnfrog76/connected-deck#20 ·
johnfrog76/connected-deck の issue をすべて見る
似ている issue
-
check:passed streams:remove
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
bug priority-p1
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
beginner blocked
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
hiero-ledger/hiero-sdk-js#4670 ·
メンテナーはふだん 1 日以内に返信
-
[Exploratory] Expense - 2 selected drop-down is shown twice when selecting hold from more option.オープンMonthly Not a priority
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Expensify/App#106080 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信