Skip to content

chore(ui): toggle sidebar icon on sidebar open #2072

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

Closed

Conversation

kungfux
Copy link
Collaborator

@kungfux kungfux commented Nov 30, 2024

Type of change

  • Improvement (refactoring and improving code)

Description

Change the sidebar icon to 'close' when the sidebar is open to make the purpose of the button clear.
This is a nice to have improvement, as suggested in #2059.

image
image

Copy link
Owner

@cotes2020 cotes2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @kungfux,

Please don't modify the original design, the switch icon doesn't need to change dynamically.

It is true that some designs favor the use of an 'x', but then the 'x' design logically belongs to the sidebar, not in the original switch position.

@kungfux kungfux closed this Nov 30, 2024
@kungfux kungfux deleted the feature/toggle-sidebar-icon branch November 30, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants