Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading indicator and no results message for search #4824

Merged
merged 17 commits into from
Oct 24, 2023

Conversation

nathangur
Copy link
Contributor

Resolves a search not returning anything with some text. A loading circle was also added in case search takes a long while.

Changes

  • Text added. Example:
    image

  • Loading circle added (may be hard to spot since search is fast)

Feedback is more than welcome!

Recording.2023-10-01.181554.mp4

@nathangur nathangur requested a review from a team as a code owner October 2, 2023 16:16
src/components/search/SearchResults.tsx Outdated Show resolved Hide resolved
@thornbill thornbill added the enhancement Improve existing functionality or small fixes label Oct 4, 2023
@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Oct 5, 2023
@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Oct 5, 2023
with native <Loading />
Copy link
Contributor Author

@nathangur nathangur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addition of

src/components/search/SearchResults.tsx Outdated Show resolved Hide resolved
src/components/search/SearchResults.tsx Outdated Show resolved Hide resolved
src/components/search/searchfields.scss Outdated Show resolved Hide resolved
Copy link
Contributor Author

@nathangur nathangur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved Issues.

@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Oct 12, 2023
@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Oct 12, 2023
@nathangur
Copy link
Contributor Author

Seems to be all good to go

src/strings/en-us.json Outdated Show resolved Hide resolved
src/components/search/SearchResults.tsx Outdated Show resolved Hide resolved
@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Oct 20, 2023
@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

nathangur and others added 3 commits October 20, 2023 08:46
Change SearchResultsEmpty to have a substitution

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
Update SearchResults

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Oct 20, 2023
Oops!

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented Oct 24, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
2.6% 2.6% Duplication

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit d33c7a0
Status ✅ Deployed!
Preview URL https://77574499.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs
View bot logs

@thornbill thornbill changed the title Resolve null searches with return text | Loading circle in search Add loading indicator and no results message for search Oct 24, 2023
@thornbill thornbill added this to the v10.9.0 milestone Oct 24, 2023
@thornbill thornbill merged commit 167a13d into jellyfin:master Oct 24, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality or small fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants