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

Refactor base layout #2929

Merged
merged 3 commits into from
Oct 10, 2023
Merged

Refactor base layout #2929

merged 3 commits into from
Oct 10, 2023

Conversation

berggren
Copy link
Contributor

@berggren berggren commented Oct 9, 2023

This PR cleans up our base layout, moving the nav drawer (left pane) under the main bar. This gives us a correct way to use the layout system. Earlier we were using the app parameter on the drawer and the top bar inside of the v-main element and this is discoraged by the framework and can introduce subtle bugs.

  • Move top bar and left panel outside of the main component
  • Each root component view (home and sketch) implements the top bar and left panel
  • Removed the Back to explore button and added a section in the left panel at the top called Search that will always take you back to the main search interface.
Screenshot 2023-10-09 at 12 37 41

@berggren berggren requested a review from jkppr October 9, 2023 10:38
@jkppr jkppr self-assigned this Oct 10, 2023
@jkppr jkppr added Frontend Code Health Code health improvements labels Oct 10, 2023
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.

1 deprecation bug and 2 UX nits. Everything else looks good.

timesketch/frontend-ng/src/views/Sketch.vue Outdated Show resolved Hide resolved
timesketch/frontend-ng/src/views/Sketch.vue Outdated Show resolved Hide resolved
timesketch/frontend-ng/src/views/Sketch.vue Show resolved Hide resolved
@berggren berggren merged commit 590899b into master Oct 10, 2023
27 checks passed
@berggren berggren deleted the layout-refactor branch October 10, 2023 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Health Code health improvements Frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants