-
Notifications
You must be signed in to change notification settings - Fork 14
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
Dynamic Slideshow #353
Dynamic Slideshow #353
Conversation
Your demo site is ready! 🚀 Visit it here: https://ramp4-pcar4.github.io/story-ramp/318/#/en/00000000-0000-0000-0000-000000000000 |
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.
I'd post in teams with the required config changes to see how Dan feels about them. They make sense to me but there are a significant number of existing sites.
Reviewable status: 0 of 6 files reviewed, all discussions resolved
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.
Hm, actually does it make more sense to remove "slideshow" functionality from the images and charts panels and just use the slideshow
panel for that, keep the other two for single instances of their types.
Reviewable status: 0 of 6 files reviewed, all discussions resolved
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.
Nice work on the feature, looks great. One major issue I found when testing was the new dynamic slideshow layout on mobile. With the current sample, we have 2 main UI bugs:
- the long text panel section of the slideshow hides the second text panel ("This is a dynamic slideshow!...")
- text overlaps with slide selector:
Another UI bug with the new image panel with full screen button positioning:
Reviewed 5 of 6 files at r1, all commit messages.
Reviewable status: 5 of 6 files reviewed, all discussions resolved
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.
Hm, actually does it make more sense to remove "slideshow" functionality from the images and charts panels and just use the
slideshow
panel for that, keep the other two for single instances of their types.
+1 for this if we are holding off on merging until post-release, otherwise current format probably minimizes number of config changes required to existing products.
Reviewable status: 5 of 6 files reviewed, all discussions resolved
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.
I did bring up the config changes to Dan and he said we'd discuss them at the next meeting (likely next week). Will work on the UI fixes.
Reviewable status: 5 of 6 files reviewed, all discussions resolved (waiting on @yileifeng)
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.
Fixed the UI bugs above.
Reviewable status: 4 of 7 files reviewed, all discussions resolved (waiting on @yileifeng)
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.
UX concern; panning a map within a dynamic slideshow (with mouse or on mobile) causes both panning and moving the slideshow. I'm not quite sure what the best solution is but its not a very pleasant user experience.
Reviewable status: 4 of 7 files reviewed, all discussions resolved (waiting on @yileifeng)
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.
This is a very good point, perhaps we consult the UI/UX team? I have a few ideas but they're not great.
- We can disable dragging the slides to change and have the user just use the navigation/pagination. However, I'm not sure if that's acceptable on mobile view. Maybe for mobile, you need two fingers to pan and one finger to switch slides or vice versa?
- Maybe we can add some padding around the map. If the user drags on the map, only pan the map. If the user drags on the padded area, do the slide switching. However, with the space on mobile already so limited, adding padding may not be a good idea.
Reviewable status: 4 of 7 files reviewed, all discussions resolved (waiting on @yileifeng)
The overall idea is to make things easier (and consistent since being consistent makes it easier) for the user.
|
Recommend we take Aleksuei's UX suggestions and spawn off new issues for those, in the interest of getting this PR pushed through. Perhaps maps in a dynamic slideshow (a use case we haven't run into yet) can have scrollguard enabled by default? |
It may be easier to start from scratch on this one, given the work involved in rebasing this to Vue3. |
Closes #318.
You can now add a slideshow that supports all panel types (text, image, chart, map).
Essentially, the current image panels now support multiple images (similar to chart panels) and the slideshow panels support all panel types instead of just images.
Feel free to play around with creating, editing, viewing etc. slideshows and suggest changes to design, implementation, etc.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)