活動状況ページで非アクティブ道場も表示し、降順でソート#1784
Merged
Merged
Conversation
/dojos/activity ページを改善し、非アクティブな道場もグレー背景で表示するようにしました。 これにより、/dojos ページと同様の表示形式で全道場の状況が確認できます。 主な変更点: - 非アクティブ道場を活動中道場の後に表示 - 非アクティブ道場は最新の開催日から古い順(降順)でソート - 非アクティブ道場の行にはグレー背景(inactive-item クラス)を適用 - 上から下へ順番にレビューしやすいよう、新しいものから古いものの順に配置 この変更により、道場の活動状況をより包括的に把握し、効率的にレビューできるようになりました。
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.
概要
/dojos/activity ページで非アクティブな道場も表示し、レビューしやすいよう降順でソートする機能を追加しました。
変更内容
1. 非アクティブ道場の表示
inactive-itemクラス)を適用2. ソート順の改善
3. テストの追加
動作確認
bundle exec rspec spec/requests/dojos_spec.rb)スクリーンショット
(必要に応じて追加)
関連Issue
なし
レビュー観点