Skip to content

Templates section button does not trigger events for closing or opening previous tabs #198

Closed

Description

@smoya

Describe the bug

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 CleanShot 2021-12-02 at 12 31 41, 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.

Activity

  1. added
    bug
    on Dec 2, 2021
  2. magicmatatjahu commented on Dec 3, 2021

    @magicmatatjahu
    Member

    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? 🤔

  3. mcturco commented on Dec 3, 2021

    @mcturco
    Contributor

    @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!

  4. magicmatatjahu commented on Dec 3, 2021

    @magicmatatjahu
    Member

    Nope, no close by clicking on the nav item. It will be similar to normal modal like:

    image

    But content will be templates :) And then you cannot click on the nav - you can try.

  5. mcturco commented on Dec 3, 2021

    @mcturco
    Contributor

    @magicmatatjahu Oh! Gotcha. Yes that works too!

  6. boyney123 commented on Dec 6, 2021

    @boyney123
    Contributor

    Yeah modal sounds good to me! Nice catch @smoya

  7. boyney123 commented on Dec 6, 2021

    @boyney123
    Contributor

    I can try and pick this up 👍

  8. self-assigned this
    on Dec 6, 2021
  9. boyney123 commented on Dec 6, 2021

    @boyney123
    Contributor

    Think it's fixed in #201

  10. magicmatatjahu commented on Feb 14, 2022

    @magicmatatjahu
    Member

    Fixed in the #201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions