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(frontend): createbuttonmobile fix #1194

Merged
merged 6 commits into from
Jun 24, 2024
Merged

Conversation

Bettelstab
Copy link
Contributor

@Bettelstab Bettelstab commented Jun 20, 2024

🍰 Pullrequest

The button is now fully visible, and a bit smaller, when it's open and the list is shown. Also adds a story, and fixes the one for BottomMenu (which was kind of broken because of this button, as the button wouldn't work because of the missing teleport target).

Before:
Screenshot 2024-06-23 at 18 36 26

After:
Screenshot 2024-06-23 at 18 38 17

Issues

Suggestion for future work:

  • I think the component is quite big and could be split into smaller ones, like one for the button ifself, one for the list, one for the wrapper
  • Having a teleport target inside the Vue component tree seems to be not ideal, could be solved in a different way
  • Better use Vuetify breakpoints instead of defining new ones

Todo

  • Button should be smaller when open

@Bettelstab
Copy link
Contributor Author

I think the failing tests are not related to this PR, but because of #1189

@Bettelstab Bettelstab self-assigned this Jun 21, 2024
Copy link
Contributor

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

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

button

Alright I will also click on "Request changes" here. The biggest issue is that I don't see any difference except the circular border has changed a little. What do you mean with "The button is now fully visible"?

The biggest problem I have with this component is that it doesn't even look like a button for me.

image

image

image

@Bettelstab
Copy link
Contributor Author

Please have a look at the animations before and after the change. This is the main point of this PR. You could argue the stories are out of scope, I think there are nice to include because they demonstrate the change.

All further discussions can be lead, but imo they are out of scope for this PR.

@Bettelstab
Copy link
Contributor Author

PS: I added screenshots to clarify what the intended changes are.

Copy link
Contributor

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

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

If the only target of this PR was the animation, I can of course hit "approve" here. Nevertheless, I'd like to pair-program with someone in the frontend about the remaining issues.

Thanks for clarification! I also hit "request changes" if I don't understand a PR entirely. I saw the changes in the animation but didn't think it was the scope of the PR.

@Bettelstab
Copy link
Contributor Author

@roschaefer Thank you for all your feedback, it also reminds me to give more detailed information of what is a PR about.
I suggest you do a pair programming with @maeckes1 when he is back, otherwise I would also be open to do that with you.

@Bettelstab Bettelstab merged commit 7f45293 into master Jun 24, 2024
59 checks passed
@Bettelstab Bettelstab deleted the createbuttonmobile-fix branch June 24, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants