Fix saved timetable duplicate checks and local storage syncing
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- react, typescript
調査の方向性
Start in src/components/cards/ViewTimeTable.tsx and the saved timetable screens, src/app/saved/saved.tsx and saved-mobile.tsx. Trace how saved entries are matched, loaded, deleted, and scoped to an account, then check the existing tests or add coverage for reordered timetables, deleted entries, and account switching. Done when duplicate checks use a stable identity and local state stays in sync with database deletions and visibility changes.
索引モデルが issue の本文から書いたものです。
説明
Saved timetable tracking currently mixes database records with a browser-wide savedTimetables list. Matching uses JSON.stringify(a) === JSON.stringify(b), which depends on entry ordering, and deleted or private records can stay around locally.
This can lead to false duplicate messages or attempts to reuse stale share IDs, especially on a browser used by more than one account.
What needs to be done
- Make local saved-timetable state account-specific (or rely on the server as the source of truth).
- Compare timetables using a normalized identity rather than raw JSON order.
- Sync deletions and visibility changes consistently.
- Handle entries that no longer exist in the database.
- Cover same timetable/different ordering, deleted entries and account switching.
Files: src/components/cards/ViewTimeTable.tsx, src/app/saved/saved.tsx and saved-mobile.tsx.
- 主要言語
- TypeScript
- スター
- 7
- フォーク
- 39
- 平均マージ
- 4時間 24分
- マージ済み PR(30日)
- 53
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CodeChefVIT/ffcs のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
CodeChefVIT/ffcs#295 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 48/100
CodeChefVIT/ffcs#292 ·
メンテナーはふだん 1 日以内に返信
-
Edit a course from Your Courses with a pencil button再び着手できるかも @Aiden-Trindade が 30 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 43/100
CodeChefVIT/ffcs#291 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Put the selection box and Your Courses side by side and restyle them対応中かも @Aiden-Trindade が 30 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
CodeChefVIT/ffcs#290 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
CodeChefVIT/ffcs#289 ·
メンテナーはふだん 1 日以内に返信
CodeChefVIT/ffcs の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
review-followup
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
griffinwork40/agent-afk#5387 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CodeManufactoryLLC/Code60#358 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
android:plan ios:plan main:plan packages:learn
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信