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: Personal tab mobile responsive #1271

Merged
merged 2 commits into from
Nov 1, 2024
Merged

fix: Personal tab mobile responsive #1271

merged 2 commits into from
Nov 1, 2024

Conversation

zurdi15
Copy link
Member

@zurdi15 zurdi15 commented Oct 29, 2024

Fixed personal tab in the game details view on mobile

@zurdi15 zurdi15 changed the title Personal tab mobile responsive fix: Personal tab mobile responsive Oct 29, 2024
<v-col cols="11" md="9">
<v-slider
:class="{ 'ml-4': mdAndUp }"
v-model="romUser.difficulty"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Both Difficulty and Completion sliders are triggering API request with each value change, so when the user clicks and drags in the Completion slider, from 0 to 100, we are sending 100 API requests to the backend.

This could be fixed in a separate PR, but we could find a way to trigger a single update.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm yeah you are right, we should be able to just detect the click release or the touch release. I'll invesyit for the next PR

@zurdi15 zurdi15 merged commit 277470b into master Nov 1, 2024
7 checks passed
@zurdi15 zurdi15 deleted the fix/details-personal branch November 1, 2024 01:12
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