Add search loading indicator for community news#1012
Open
Conversation
Collaborator
|
@copilot try again |
Co-authored-by: maebeale <7607813+maebeale@users.noreply.github.com>
Contributor
Author
Done! Added search loading indicator to community news in commit 8e3e148. The implementation now matches the workshops pattern:
What changed: Added How it works:
The community news search now provides the same clear visual feedback as workshops search. |
Copilot
AI
changed the title
[WIP] Add search loading indicator for community news
Add search loading indicator for community news
Feb 15, 2026
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.
What is the goal of this PR and why is this important?
When users search or filter community news, they need visual feedback that their search is being executed. This PR adds a loading indicator that matches the existing pattern used in the workshops index, providing a consistent user experience across the application.
How did you approach the change?
Added the
animate-fadeclass to the community news results table inapp/views/community_news/_community_news_results.html.erb. This enables the same search loading behavior as workshops:blur-on-submitclass andcollectionStimulus controller)_results_skeleton.html.erbpartial)animate-fadeclass)The implementation leverages existing infrastructure (collection controller, skeleton loader, blur-on-submit class) and required only a single-line change to add the fade animation class.
Anything else to add?
This is a minimal, surgical change that achieves feature parity with the workshops search UX. All necessary components (JavaScript controller, CSS animations, skeleton loader) were already in place - only the
animate-fadeclass was missing from the results container.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.