80 Commits

Author SHA1 Message Date
harukin-expo-dev-env
5a1430d849 fix(HeaderText): update todayOperation prop to filter out completed operations 2026-04-14 13:55:37 +00:00
harukin-expo-dev-env
07399f4b4e fix(HeaderText): update todayOperation to use allTodayOperation for accurate state filtering
fix(TrainIconStatus): add cache option to fetch request for improved data handling
2026-04-12 08:18:33 +00:00
harukin-expo-dev-env
8b42644548 fix: EachTrainInfo ActionSheetのスプリングアニメーション破綻を修正
iOS (isModal=true) でマリンライナー等の走行中列車を表示した際に
ActionSheet のスライドアップアニメーションが瞬間表示になる問題を修正。

【根本原因】
1. iOS onOpen の発火タイミング問題(最重要)
   - ライブラリ内で onOpen が Modal.onShow にバインドされており、
     スプリングアニメーション開始「前」に発火する
   - onOpen 後に showThrew=true になると通過駅が追加されて高さが増加し
     onSheetLayout が再発火 → スプリングがほぼ終点からリスタート

2. useEffect による非同期な高さ変化
   - useThroughStations / useStopStationIDs / useTrainDiagramData が
     useState([]) で初期化し useEffect で計算していたため
     空リスト → フルリストの高さ変化が onSheetLayout をトリガーしていた

3. useAutoScroll の InteractionManager が Reanimated アニメーションを認識しない

【修正内容】
- EachTrainInfoCore: showThrew の初期値を useState(() => !!getCurrentStationData(...))
  に変更し、走行中なら最初から true にして高さ変化を防ぐ
- useTrainDiagramData / useThroughStations / useStopStationIDs:
  純粋計算関数を抽出し useState lazy initializer で初回レンダリング時から正確な高さを確保
- EachTrainInfo: onOpen/onClose で sheetOpened state を管理し EachTrainInfoCore に渡す
- useAutoScroll: setShowThrew 引数を削除、sheetOpened フラグでスクロールをゲート
2026-04-08 05:00:58 +00:00
harukin-expo-dev-env
ad5357ce7f 運用Hub情報の取得ロジックを改善し、貨物列車の車番処理を追加 2026-04-03 02:07:26 +00:00
harukin-expo-dev-env
fbb8580d28 ActionSheetアニメーション阻害の修正: LayoutAnimation削除とブリンクアニメーション最適化
- ActionSheet内外のLayoutAnimation.configureNext/easeInEaseOutを削除
  (グローバルにレイアウト更新を乗っ取り、シートの開閉アニメーションと競合するため)
- trainIconStatus: reanimated withRepeat→useInterval+setStateに変更
  (UIスレッドの無限アニメーションがActionSheetスプリングと競合するため)
- EachTrainInfo: Rules of Hooks違反修正(useRef/useSheetMaxHeightを条件分岐前に移動)
- useAutoScroll: InteractionManager.runAfterInteractionsでシート展開完了後に実行

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-30 10:09:45 +00:00
harukin-expo-dev-env
0ef169518a HeaderText: useMemoフックにtrainNumとallCustomTrainDataを追加して依存関係を最適化
TrainIconStatus: アンパンマンステータスAPIのエンドポイント判定を追加
webViewInjectjavascript: 新しい列車アイテムの最大幅を設定
2026-03-30 05:54:25 +00:00
harukin-expo-dev-env
5420531c64 feat: Samsung DeXレスポンシブ対応 - lib/responsive.ts追加、主要コンポーネントにスケーリング適用
- useResponsive()フックを作成(fontScale/verticalScale/moderateScale)
- ベースデザイン: iPhone 14 Pro (393x852)、スケールダウンのみ(最大1.0)
- DynamicHeaderScrollView: ヘッダー高さにverticalScale適用
- EachTrainInfoCore: maxHeight緩和(70→80%)、ハンドラーサイズスケーリング
- StateBox/PositionBox/ScrollStickyContent/HeaderText: fontScale適用
- DataConnectedButton/EachStopList: fontScale+moderateScale適用
- JRSTraInfo/StationDeteilView: ハンドラー+フォントスケーリング
- ReloadButton/MapsButton/NewMenu: ボタンサイズ+フォントスケーリング
- useDeviceOrientationChange: 全Android端末でisLandscape=false
2026-03-29 15:23:28 +00:00
harukin-expo-dev-env
43758aa781 fix: Unyohub列番の上書き処理を追加し、運用Hub情報の取得を改善 2026-03-29 11:38:18 +00:00
harukinMBP
9037d21237 fix: TypeScript build errors (143 to 47) 2026-03-25 01:44:29 +09:00
harukin-expo-dev-env
86123ecb81 feat: implement train tracking notifications with background polling and update UI components 2026-03-23 04:33:58 +00:00
harukin-expo-dev-env
c7b1501475 fix: correct scroll reference in useAutoScroll hook 2026-03-23 01:32:54 +00:00
harukin-expo-dev-env
91cad9c2c8 Refactor code structure for improved readability and maintainability 2026-03-20 07:14:58 +00:00
harukin-expo-dev-env
b7a09eda6e feat: Expo SDK 53 → 54 upgrade (React Native 0.81.5)
- expo: ^53.0.0 → ^54.0.0 (54.0.33)
- react-native: 0.79.6 → 0.81.5
- react: 19.0.0 → 19.1.0
- babel-preset-expo: ~13.0.0 → ~54.0.10
- @expo/vector-icons: ^14.0.2 → ^15.0.3
- react-native-reanimated: ~3.17.4 → ~4.1.1
- react-native-worklets: 新規追加 (reanimated v4 必須 peer dep)
- expo-system-ui: 新規追加 (userInterfaceStyle 対応)

変更内容:
- app.json: newArchEnabled を expo-build-properties から expo root へ移動
- babel.config.js: React Compiler を明示的に無効化
- UpdateAsync.ts: expo-updates reloadAsync API 変更に対応
- TopMenuButton.tsx: @expo/vector-icons deep path import を named import に変更
- trainIconStatus.tsx: 未使用の Icon deep path import を削除
- package.json: @types/react ~19.0.10 → ~19.1.4、doctor exclude 追加
2026-03-18 01:51:44 +00:00
harukin-expo-dev-env
10df37d0a2 feat: Expo SDK 52→53 upgrade + full dark mode support
- Upgrade Expo SDK 52→53 (React 18→19, RN 0.76→0.79)
- Remove deprecated packages (native-base, react-native-elements)
- Migrate to @rneui/themed 5.0.0 + modular vector icons
- Fix breaking changes: defaultProps, BackHandler, notifications, key props
- Add Babel plugin for font scaling (replaces Text.defaultProps)
- Configure expo-font for native font preloading
- Add complete dark mode theme system (lib/theme/)
  - AppThemeProvider + useThemeColors hook
  - Light/dark/fixed color token definitions
  - Migrate ~60 files across all screens to use theme colors
- Set userInterfaceStyle to "automatic" for system dark mode
2026-03-17 22:19:46 +00:00
harukin-expo-dev-env
30d1111768 feat: enhance HeaderText component with elesite integration and improve layout handling 2026-03-10 01:17:01 +00:00
harukin-expo-dev-env
cc15e6a1ee feat: update elesite integration to prioritize non-empty formation units and improve sorting logic 2026-03-08 08:52:58 +00:00
harukin-expo-dev-env
66650764df feat: add elesite integration and configuration settings
- Introduced useElesite hook for managing elesite data and settings.
- Added elesite logo asset.
- Updated types to include elesite data structures.
- Enhanced TrainMenuProvider to manage elesite usage settings.
- Implemented data fetching and caching for elesite information.
- Added utility functions to retrieve train information from elesite data.
2026-03-07 16:24:07 +00:00
harukin-expo-dev-env
ac2548e7b6 運用Hub情報の判定ロジックを改善し、車番が空でないエントリのみを考慮するように修正 2026-03-06 07:24:58 +00:00
harukin-expo-dev-env
c49aeeb331 HUBロゴのSVGおよびPNGファイルを追加し、TrainSourcesPanelおよびTrainDataSourcesコンポーネントでの使用を更新 2026-03-04 14:54:52 +00:00
harukin-expo-dev-env
66f5744d51 鉄道運用Hubに関連するコンポーネントの名称を変更し、カスタム列車データの処理を追加 2026-03-04 07:43:49 +00:00
harukin-expo-dev-env
38191be0d3 UnyohubのON/OFF管理機能を追加し、追加ソースがオフの場合の挙動を修正 2026-03-03 09:22:03 +00:00
harukin-expo-dev-env
df2e4145a2 運用情報ソースの表示パネルを追加し、運用hubデータの取得機能を実装 2026-03-03 09:18:36 +00:00
harukin-expo-dev-env
4952e32e65 アイコンの反転表示対応 2026-02-20 17:06:01 +00:00
harukin-expo-dev-env
a42c0871bd unyohub連携仮作成 2026-02-07 17:19:16 +00:00
harukin-expo-dev-env
f019725da8 休編の拡張 2026-02-07 08:20:18 +00:00
harukin-expo-dev-env
76a42c66c7 公開に向けた準備 2026-02-01 08:28:34 +00:00
harukin-expo-dev-env
2a70a0e34b 列車の進行方向情報を修正 2025-12-31 06:46:38 +00:00
harukin-expo-dev-env
f261ff981a アプリ側に複数アイコン化対応 2025-12-20 10:04:14 +00:00
harukin-expo-dev-env
b40280d099 列車の運用無効化対応 2025-12-20 06:17:01 +00:00
harukin-expo-dev-env
9237b7a38d 列車情報が適切に表示されないバグを修正 2025-12-12 18:14:40 +00:00
harukin-expo-dev-env
e8a2547ca4 tsx化 2025-12-05 10:43:57 +00:00
harukin-expo-dev-env
2c7be0379e 第二段 2025-12-05 07:46:35 +00:00
harukin-expo-dev-env
84403ea89d 暫定保存 2025-12-05 07:34:44 +00:00
harukin-expo-dev-env
f08d1a57d0 情報が自動で巻き戻るバグを修正 2025-12-04 18:14:22 +00:00
harukin-expo-dev-env
279a1b57e6 一部列車の連結表示の改善 2025-12-04 17:37:25 +00:00
harukin-expo-dev-env
03c84b7c4f Claudeのおススメリファクタリング 2025-12-04 16:06:28 +00:00
harukin-expo-dev-env
5e894a4432 operation-logsにvehicle_info_urlを追加し列車アイコンの変更状況を追尾可能に 2025-12-03 15:23:37 +00:00
harukin-expo-dev-env
b4ab17897f 停車発車情報がある時に適切に列車位置が移動しないバグを修正 2025-12-03 14:13:07 +00:00
harukin-expo-dev-env
cd303063dc アイコンが設定されずformationだけ登録されている場合に表示がおかしくなるバグを修正 2025-12-03 07:20:47 +00:00
harukin-expo-dev-env
61dfc0a30b テキスト更新 2025-11-29 18:48:15 +00:00
harukin-expo-dev-env
72003892a0 アイコンを運用情報からrelativeに取得可能に変更 2025-11-29 18:46:47 +00:00
harukin-expo-dev-env
299b0a7f92 AllTrainDiagramとHeaderTextで行先上書きが動作していなかった問題を修正 2025-11-29 13:41:11 +00:00
harukin-expo-dev-env
4a964ea11c アプリUIの新型ドメインに移行 2025-11-29 13:09:47 +00:00
harukin-expo-dev-env
29b1be3f24 データ登録機能へのリンク変更 2025-11-28 15:53:00 +00:00
harukin-expo-dev-env
fd699c8150 スタイルの微調整 2025-08-24 03:43:41 +00:00
harukin-expo-dev-env
37e21be4c0 タイトル要素クリック可能な時のデザインを追加 2025-08-23 14:48:58 +00:00
harukin-expo-dev-env
6fbe47f527 長押しする位置を変更 2025-08-21 16:26:44 +00:00
harukin-expo-dev-env
f16fe6c994 列番を並び替え、列車リンク表示機能等を実装 2025-08-19 15:32:39 +00:00
harukin-expo-dev-env
dc552aada4 alertに車両情報を追加 2025-08-13 12:40:17 +00:00
harukin-expo-dev-env
d412941635 暫定的に投稿機能新型を実装 2025-08-12 16:47:35 +00:00