You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Templates section button does not trigger events for closing or opening previous tabs #198
Unlike the events visualizer button, clicking on the new templates button opens a new view that covers the whole studio (except the nav bar). When clicking then on any other button like the code one , doesn't quit the examples view.
The only way to close it is to click again on the same examples button, which is not a 100% expected behavior because it is quite inconsistent with the rest.
How to Reproduce
See the following video:
recording.mp4
Expected behavior
Either examples view shows as a popup, or either just as a side view (as the events visualizer, code examples, etc), or we improve the navigation so on any click in any button will close the examples view.
Either examples view shows as a popup, or either just as a side view (as the events visualizer, code examples, etc), or we improve the navigation so on any click in any button will close the examples view.
The question is which would be better? From a UX standpoint, I think modal, @mcturco@boyney123 any thoughts? 🤔
@magicmatatjahu Agreed! I think a modal for the new templates will work just fine. So then the modal should close if you click a different nav item on the left side, as @smoya pointed out, good catch!
Activity
magicmatatjahu commentedon Dec 3, 2021
The question is which would be better? From a UX standpoint, I think modal, @mcturco @boyney123 any thoughts? 🤔
mcturco commentedon Dec 3, 2021
@magicmatatjahu Agreed! I think a modal for the new templates will work just fine. So then the modal should close if you click a different nav item on the left side, as @smoya pointed out, good catch!
magicmatatjahu commentedon Dec 3, 2021
Nope, no close by clicking on the nav item. It will be similar to normal modal like:
But content will be templates :) And then you cannot click on the nav - you can try.
mcturco commentedon Dec 3, 2021
@magicmatatjahu Oh! Gotcha. Yes that works too!
boyney123 commentedon Dec 6, 2021
Yeah modal sounds good to me! Nice catch @smoya
boyney123 commentedon Dec 6, 2021
I can try and pick this up 👍
boyney123 commentedon Dec 6, 2021
Think it's fixed in #201
magicmatatjahu commentedon Feb 14, 2022
Fixed in the #201