mtg: unread dot on the "What's new" menu entry
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 66/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
Start with the Release notes module and the menu entry and page entry points that use it; inspect how Releases expose their notes and how the app currently stores device-local state. Add vitest coverage through the module’s public functions for the four listed cases, then verify the menu dot and page behavior match them. Done means unread notes show a dot, opening the page clears it, first visit stores the current Release silently, and storage failures do not break the app.
索引モデルが issue の本文から書いたものです。
説明
Parent
#175
What to build
A player sees a small dot on the "What's new" menu entry when a Release brought Release notes they have not seen yet, and the dot disappears once they open the page. There is no popup, dialog or toast; the PWA's silent autoUpdate stays unchanged.
The unread logic lives in the Release notes module: given the last-seen Release (or none) and the Releases, it decides whether the dot shows and what value to store.
- First visit (nothing stored): store the current Release silently, show no dot, so a new visitor is not nagged about history.
- Stored Release older than a Release with notes: show the dot.
- Stored Release older only than Releases without notes: no dot.
- Opening the page stores the newest Release.
The last-seen Release is kept per device in localStorage, wrapped so that blocked or throwing storage degrades to "no dot". No per-Account tracking.
Acceptance criteria
- The menu entry shows a dot exactly when the unread logic says so
- Opening the "What's new" page clears the dot; a later Release with notes brings it back
- A first visit shows no dot and stores the current Release
- Blocked localStorage shows no dot and does not break the app
- No update popup or dialog is added
- vitest tests, through the module's public functions, cover: first visit; older stored Release with newer notes; older stored Release where the newer Releases have no notes; opening the page stores the newest Release
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 1
- 平均マージ
- 11時間 20分
- マージ済み PR(30日)
- 31
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
myOmikron/code のほかの issue
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
wayfinder:task
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
wayfinder:task
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
myOmikron/code#102 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 4/5 3〜5日 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
[BUG] rag: sentence content can cross the reported sentence boundaries対応中かも @LJK-ikun が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
platformatic/mcp#361 ·
メンテナーはふだん 1 日以内に返信
-
frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Push: sem service worker ou sem VAPID, o interruptor de Notificações fica ligado sem avisar nadaオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melgarafael/DeskcommCRM#3164 ·
メンテナーはふだん 1 日以内に返信