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

feat(playstreak-sync): add sync button logic #22

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

eliobricenov
Copy link
Contributor

  • shows sync button only if the current user has a pending sync
  • disable sync button during mutation
  • show success feedback

@@ -25,7 +25,7 @@
"types": "dist/index.d.ts",
"devDependencies": {
"@hyperplay/chains": "^0.3.0",
"@hyperplay/ui": "^1.8.0",
"@hyperplay/ui": "^1.8.4",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will re-run the build after this version is released

@@ -158,6 +160,63 @@ export function QuestDetailsWrapper({
)
const questPlayStreakData = questPlayStreakResult.data.data

const {
Copy link
Contributor

Choose a reason for hiding this comment

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

the quest details wrapper behemoth continues to grow 👹 😄

it would be nice to get in this change HyperPlay-Gaming/hyperplay-ui#396 before we make a bunch of changes to the eligibility criteria components. it is ready for your review when you have time

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will merge to finalize work on the external data sync for next week's deadline. I already gave a review and like the direction of that PR

@eliobricenov eliobricenov merged commit b90372c into main Oct 18, 2024
1 check passed
@eliobricenov eliobricenov deleted the feat/add_sync_success branch October 18, 2024 20:13
@eliobricenov eliobricenov self-assigned this Oct 18, 2024
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.

2 participants