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

Improve the UX of the sidebar collapse #355

Closed
choldgraf opened this issue Jul 19, 2021 · 0 comments · Fixed by #454
Closed

Improve the UX of the sidebar collapse #355

choldgraf opened this issue Jul 19, 2021 · 0 comments · Fixed by #454
Labels
enhancement New feature or request 🏷️ design Related to look and feel of the theme

Comments

@choldgraf
Copy link
Member

Background

The UX of the sidebar can be a bit confusing for a few reasons:

  1. The button to collapse the sidebar is currently outside of the sidebar when it is visible, which seems to break with how many web apps control sidebar behavior (they instead tend to put the button on top of the sidebar)
  2. The button uses a left arrow (<-) as a "collapse" button, but this can be confused with a "browser back" button, especially on mobile (see Toggle Navigation Icon is Misleading jupyter-book/jupyter-book#1361)

Proposal

We could update the sidebar toggle button with the following properties:

  1. Use a different button than a single left arrow, perhaps either

    • a caret (<)
    • a left bar button (e.g. Screen Shot 2021-07-19 at 11 10 11 AM)
  2. Put the "collapse" button on top of the sidebar when it is open, in the top right, rather than above the page content

Some examples for inspiration

A few examples of the kind of behavior I imagine:

the Asana sidebar:

2021-07-19_01-59-16

the Monday.com sidebar:

2021-07-19_02-06-45

@choldgraf choldgraf added enhancement New feature or request 🏷️ design Related to look and feel of the theme labels Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🏷️ design Related to look and feel of the theme
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant