-
Notifications
You must be signed in to change notification settings - Fork 1
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: APPS-3045 refactor mobile drawer, datefilter mobile #654
Conversation
Percy ScreenshotsIn order to conserve our percy screenshot allowance, percy is not configured to run automatically. Please make sure the PR is ready and all other checks are passing, then start it manually:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, there is always something new I learn when reviewing your PR's , this was a complex component. Thank you for always thinking about different ways to solve problems. Your work on scoped slot integration is awesome. 💯
# [3.36.0](v3.35.1...v3.36.0) (2024-11-26) ### Features * APPS-3045 refactor mobile drawer, datefilter mobile ([#654](#654)) ([3301d47](3301d47))
🎉 This PR is included in version 3.36.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Connected to APPS-3045
Component Created: MobileDrawer.vue
Stories: ~/stories/MobileDrawer.stories.js
Spec: ~/stories/MobileDrawer.spec.js
Notes:
Work done:
Not done:
factor component into its own file
DateFilter.vue had to be duplicated in the template to get it to fit into our mobile designs (it shows in one spot if we are on mobile, a different spot if we aren't).
To prevent duplicating the code, I had wanted to refactor our implementation to put the code in its own component, thus making it easier/shorter to duplicate that component. However, I stopped because the MobileDrawer component needs to pass a removeOverlay method to a specific button on the VueDatePicker to allow it to close the drawer, and I could not figure out how to pass this slot meothd through that many layers without the VueDatePicker button and the MobileDrawer being in the same file.
I'm happy to go back to it if anyone has ideas.
Checklist:
ftva-website-nuxt dev server