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

Fix / Loading skeletons #523

Merged
merged 1 commit into from
May 6, 2024

Conversation

MelissaDTH
Copy link
Contributor

Description

  • This PR fixes the loading state in the Card component by using isPlaceholderData to determine if data is still loading. Previously, loading always returned false, but it is needed to check for the presence of placeholder data to get the correct loading status.

Example of the loading state

Screenshot 2024-04-26 at 09 12 40

Steps completed:

According to our definition of done, I have completed the following steps:

  • Acceptance criteria met
  • Unit tests added
  • Docs updated (including config and env variables)
  • Translations added
  • UX tested
  • Browsers / platforms tested
  • Rebased & ready to merge without conflicts
  • Reviewed own code

refactor(project): correct loading skeleton in shelf and card

refactor(project): shelf title ternary readability

refactor(project): revert loading state for scheduled start date
@AntonLantukh AntonLantukh merged commit 35cd2db into jwplayer:develop May 6, 2024
8 of 9 checks passed
This was referenced May 16, 2024
@royschut royschut deleted the fix/home-skeleton branch May 28, 2024 07:32
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.

3 participants