Skip to content

canary#5553

Merged
TinyKitten merged 4 commits intocanaryfrom
dev
Mar 10, 2026
Merged

canary#5553
TinyKitten merged 4 commits intocanaryfrom
dev

Conversation

@TinyKitten
Copy link
Member

No description provided.

TinyKitten and others added 3 commits March 10, 2026 12:35
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* プリセット名入力モーダルの追加とwantedDestinationIdのサポート

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* テストデータにwantedDestinationIdを追加し型エラーとテスト失敗を修正

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* LEDテーマでのプレースホルダー視認性改善とDB初期化のカラム存在チェックを修正

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* wantedDestinationIdを使ってPresetCardの表示区間とプリセット適用時の終着駅を正しく反映

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* プリセット機能の大幅改善: direction/notifyStationIds保存、始発駅選択UI、PresetCard表示改善

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* CommonCardにアコーディオン機能を追加しStationSettingsModalを廃止

- CommonCardにexpandableContent/expanded/onExpandedChange propsを追加
- RouteInfoModalで駅カードのアコーディオン内に通知・終着駅設定を表示
- SelectBoundModalからStationSettingsModal依存を除去
- CustomModalのレスポンダー戦略を修正しネストされたコントロールのタップを改善
- usePresetCarouselDataのキーをfetchKey/displayKeyに分割し不要な再取得を防止
- SavedRouteのnotifyStationIdsにdefault([])を追加
- SelectBoundModalのcurrentIdx===destIdx時の分岐を修正

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* レビュー指摘の修正: テーマ対応テキスト色、sentinel値防止、transition中のボタン無効化、fetch競合対策

- RouteInfoModal: expandableToggleTextをLEDテーマ対応に分岐
- SelectBoundModal: handleToggleNotificationでstation.id nullチェックを追加し-1 sentinel防止
- SelectBoundModal: isTransitioning中に停車駅一覧・種別・保存・設定ボタンも無効化
- usePresetCarouselData: requestIdによるfetch競合対策を追加
- usePresetCarouselData: displayKeyにnotifyStationIdsを追加
- SelectBoundModal: effectiveStationのコメントを実態に合わせて修正

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* 方向判定の-1ガード追加、プリセット保存時のnotifyStationIdsフィルタリング、carouselData ref化

- SelectBoundModal: findIndexが-1や等値を返す場合の方向判定を安全に処理
- SelectBoundModal: プリセット保存時にnotifyStationIdsを有効な駅IDでフィルタリング
- SelectBoundModal: presetDirectionOptionsのコメントを汎用的に修正
- usePresetCarouselData: carouselDataRefを導入しdepsからcarouselDataを除去して余分な再レンダリングを防止

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* CustomModalのコンテンツ領域タップでモーダルが閉じる問題を修正

pointerEvents="box-none"だとコンテンツの空白部分のタップがバックドロップに
貫通していたため、pointerEvents="auto"に変更してコンテンツ領域でタッチを受け取るようにした

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* wantedDestinationによる区間絞り込みをnotifyStationIdsとRouteInfoModalに適用、fetch重複防止

- SelectBoundModal: effectiveStationsをwantedDestinationで切り出し、stationsWithoutPassと
  notifyStationIdsフィルタリングの両方に適用
- usePresetCarouselData: fetchKey を即座にマークして同一キーの重複fetchを防止、
  エラー時にリセットしてリトライ可能に

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* SavePresetNameModalのdefaultName組み立てを中間変数に分離して可読性を改善

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* プリセット保存失敗時にモーダルを閉じないよう修正

setIsPresetNameModalVisibleをsaveCurrentRoute成功後に移動し、
失敗時はモーダルを維持してエラートーストを表示するようにした

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: df197901-d4d2-472d-871b-94ecd5dc3901

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

Comment @coderabbitai help to get the list of available commands and usage tips.

Co-authored-by: TinyKitten <32848922+TinyKitten@users.noreply.github.com>
@TinyKitten TinyKitten merged commit 16382f8 into canary Mar 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant