Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Toggle panel when clicking on sidebar item #87

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

kenneth-duverge
Copy link
Collaborator

@kenneth-duverge kenneth-duverge commented Feb 9, 2022

What

Would love some thoughts on this PR. Makes a small update to the toggle function in the Sidebar. Essentially a user would be able to toggle the panel by clicking the sidebar button. This is behavior needed with the collapsed navigation on SVV.
( Which can be trigger by visiting the manage page and appending ?sn=true to the url e.g https://vimeo.com/manage/videos/:videoid?sn=true ).

Toggle Sidebar Panel-high

How it does that

Checks to see if the current active panel is equal to the label of the button being clicked. If so, we close the panel

@kenneth-duverge kenneth-duverge marked this pull request as ready for review February 9, 2022 22:41
@kenneth-duverge kenneth-duverge requested a review from a team as a code owner February 9, 2022 22:41
@seanmcintyre seanmcintyre merged commit 95483ae into main Feb 11, 2022
@seanmcintyre seanmcintyre deleted the update-sidebar-toggle branch February 11, 2022 17:20
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants