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

[R20-1969] add skeletons to site search #1233

Merged
merged 10 commits into from
Jun 26, 2024
Merged

Conversation

lambry
Copy link
Contributor

@lambry lambry commented Jun 21, 2024

Issue: https://digital-vic.atlassian.net/browse/R20-1969

What I did

  • Update site search to bring it inline with search listings/custom collections. i.e. add skeleton loader, scroll to results.
site-search.mov

Notes

One change in this PR is to swap the element type (in the search result layout components) when loading has completed, this was best way to ensure the results correctly replace skeleton screens in cypress. Without it cypress will show the result content merged into the skeleton components (as seen below).

Screenshot 2024-06-24 at 12 43 15 PM

For all PR's

  • I've added relevant changes to the project Readme if needed.
  • I've updated the documentation site as needed.
  • I have added unit tests to cover my changes (if not applicable, please state why in a comment)

For new components only

  • I have added a story covering all variants
  • I have checked a11y tab in storybook passes
  • Any events are emitted on the event bus

@lambry lambry self-assigned this Jun 21, 2024
Copy link

netlify bot commented Jun 21, 2024

Deploy Preview for ripple-docs canceled.

Name Link
🔨 Latest commit 2339b81
🔍 Latest deploy log https://app.netlify.com/sites/ripple-docs/deploys/667b5733a6c53c0008d87cfc

Copy link

cypress bot commented Jun 21, 2024

Passing run #1975 ↗︎

0 172 0 0 Flakiness 0

Details:

Merge branch 'develop' into feature/skeleton-loading
Project: ripple-framework Commit: 2339b810db
Status: Passed Duration: 07:54 💡
Started: Jun 25, 2024 11:50 PM Ended: Jun 25, 2024 11:58 PM

Review all test suite changes for PR #1233 ↗︎

@dylankelly dylankelly enabled auto-merge June 25, 2024 23:47
@lambry lambry requested a review from dylankelly June 25, 2024 23:48
@dylankelly dylankelly added this pull request to the merge queue Jun 26, 2024
Merged via the queue into develop with commit a74501b Jun 26, 2024
15 of 16 checks passed
@dylankelly dylankelly deleted the feature/skeleton-loading branch June 26, 2024 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants