mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #3508] [bug]: Unclear demarcation of "collapsed" sidebar #1186
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1186
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zeddD1abl0 on GitHub (Nov 8, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3508
Is there an existing issue for this?
Current behavior
The user interface for Hoppscotch becomes confusing if you hide the Collections/Environments/History sidebar, as the sidebar disappears, and there does not appear to be an obvious way to bring it back. In specific:
Is a bad design choice, as it becomes confusing and unclear if you stop using the user interface. Given the above picture, if you know the interface very well, you know that the "first" sidebar is set to proper icons with labels, and the "second" sidebar is hidden. However, this also leads to confusion about whether the "second" sidebar even exists, as it gets hidden, and essentially disappears from the user UI entirely.
Steps to reproduce
TBH, reproduction of this issue isn't really a thing. This is more of an accessibility issue more than anything.
Environment
Production
Version
Cloud
@liyasthomas commented on GitHub (Nov 9, 2023):
I admit the current implantation of how sidebar works is not the best and there's room for improvements.
We're prioritising this issue, feel free to suggest what should have been an ideal flow to expand/collapse sidebars, placement for the buttons and open to discussions on the UX.
@zeddD1abl0 commented on GitHub (Nov 9, 2023):
I wouldn't propose to tell people how best to implement the UI elements, as I'm a DevSecOps engineer, but I would prefer that the buttons be placed more logically, and possibly labelled better.
I could consider putting the "Expand/Collapse Sidebar" option as the first icon/label in the sidebar, or at the bottom of the sidebar, rather than the footer of the page. There is a large amount of space in the sidebar for extra menu options without cluttering it too much. It is possible to also make it a floating symbol somewhere on the division. I was looking for examples, but I'm not finding any immediately. I may need to mock something up.
As for the "Collections/Environments/History", whether they maintain their link to the workspace, or become menus in the sidebar, or even a submenu in the sidebar, I have no preference. I would suggest that they maintain a similar style to the sidebar for expanding/collapsing, but a concept I would suggest investigation of is to not entirely hide this sidebar, so people can obviously see it when looking at the main UI, and have it activate when people click on it, and hide when it is not in focus.
Those are just off the top of my head. If I get a chance, I'll come back with some simple examples.
@tuliolima commented on GitHub (Nov 26, 2024):
It is very annoying and confusing to me that the sidebar completely disappears when collapsed. When I need the sidebar again, I look for it but I need to find a button in another place to open it.
To me, it is like a drawer that I open, get something I need and close again. If the sidebar only shrank when collapsed (still displaying the icons), I could click an icon (Collections, for example), what will opens the sidebar, get what I need, and click the icon again, what will collapse the sidebar.
Is it difficult to implement?