同期メソッドで note_date と note_link も含めて完全同期#1787
Merged
Merged
Conversation
同じイベントサービスを共有する道場間で、より完全な情報同期を実現しました。 問題: - 柏道場は note_date(2026-01-04)で表示されるが、 - 南柏・柏の葉は latest_event_at(2021-05-16)で表示される不整合 原因: - sync_event_date が latest_event_at/url のみ同期 - note_date/link は同期されていなかった 解決: - note_date と note_link も同期するように修正 - これにより、同じグループの道場で同じ日付が表示される 適用道場: - 奈良グループ:奈良、生駒、平群 - 柏グループ:柏、南柏、柏の葉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 概要
同じイベントサービスを共有する道場グループ間で、完全な日付情報の同期を実現しました。
🔍 問題の詳細
発見された問題
柏グループの道場で表示日付に不整合がありました:
原因
sync_event_dateメソッドが部分的な同期しか行っていなかった:✅ 解決策
実装内容
sync_event_dateメソッドを拡張して、4つの情報すべてを同期:📊 効果
柏グループの表示日付
奈良グループ(既存の同期も改善)
同様に、奈良・生駒・平群の道場も完全な同期により一貫性が向上します。
🎯 対象道場
現在の同期設定:
🧪 テスト
💡 レビューポイント
📚 関連PR
📚 補足
柏道場のnoteには「柏・南柏・柏の葉が、合同でイベント管理 (2026-01-04)」と記載があり、実際に3つの道場が協力して活動していることが確認できます。この修正により、その実態が正しく反映されるようになります。