同じイベントサービスを共有する道場の開催日を同期#1785
Merged
Merged
Conversation
活動状況ページのノート欄で、Facebook の URL を公式短縮ドメイン fb.com を使って表示するようにしました。 変更内容: - dojo_helper.rb: facebook.com を fb.com に短縮する処理を追加 - 表示例: https://www.facebook.com/groups/coderdojo → fb.com/groups/coderdojo - 元のリンク(href)は保持され、表示テキストのみが短縮される - テストを追加して動作を確認 fb.com は Facebook の公式短縮ドメインであり、より見やすい表示を実現します。
生駒と平群の道場は奈良と同じ Connpass イベントサービスを使用しているため、 活動状況ページで表示される開催日を奈良の情報と同期するようにしました。 変更内容: - sync_event_date プライベートメソッドを追加 - 生駒 (ID: 36) の開催日を奈良 (ID: 35) と同期 - 平群 (ID: 294) の開催日を奈良 (ID: 35) と同期 これにより、同じイベントで活動している道場の開催日が正しく表示されます。
6 tasks
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.
概要
生駒と平群の道場は奈良と同じ Connpass イベントサービスを使用しているため、活動状況ページ(/dojos/activity)で表示される開催日を同期する機能を追加しました。
背景
変更内容
1. プライベートメソッド
sync_event_dateの追加2. 開催日の同期処理
技術的詳細
sync_event_dateメソッドで開催日情報(latest_event_atとlatest_event_url)をコピー影響範囲
テスト
レビュー観点