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

Instantiate side panel only once #2949

Merged
merged 8 commits into from
Oct 25, 2023
Merged

Instantiate side panel only once #2949

merged 8 commits into from
Oct 25, 2023

Conversation

berggren
Copy link
Contributor

This PR fixes unnecessary data fetches on expand/collapse of the side panel.

Closing issues
closes #2948

@berggren berggren self-assigned this Oct 17, 2023
@berggren berggren added the Bug label Oct 17, 2023
@berggren berggren added this to the Release: 20231025 milestone Oct 17, 2023
@berggren berggren requested a review from jkppr October 17, 2023 13:35
Copy link
Collaborator

@jkppr jkppr left a comment

Choose a reason for hiding this comment

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

One small UI error.

@berggren
Copy link
Contributor Author

@jkppr PTAL

Copy link
Collaborator

@jkppr jkppr left a comment

Choose a reason for hiding this comment

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

LGTM
please see one small UX nit below

Comment on lines +66 to +68
<v-btn icon @click="toggleLeftPanel">
<v-icon>mdi-menu</v-icon>
</v-btn>
Copy link
Collaborator

Choose a reason for hiding this comment

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

UX nit: on an empty sketch this icon still exists but will not toggle anything since there is no left panel yet. I would recommend to hide this on a sketch without any timeline.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea. and Ack, will do that in a followup PR as this is related to some other aspects of the left side panel.

@berggren berggren merged commit e061a89 into master Oct 25, 2023
@berggren berggren deleted the sidepanel-fix branch October 25, 2023 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Side panel is recreated on every expand/collapse
2 participants