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

feat: Persist AppNav between navigations #234

Merged
merged 4 commits into from
Jan 16, 2024
Merged

Conversation

svc-shorpo
Copy link
Contributor

@svc-shorpo svc-shorpo commented Jan 13, 2024

Before

Screen.Recording.2024-01-13.at.1.30.43.PM.mov

After:

Screen.Recording.2024-01-13.at.1.29.36.PM.mov

Copy link

changeset-bot bot commented Jan 13, 2024

⚠️ No Changeset found

Latest commit: f2116a9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svc-shorpo svc-shorpo changed the title feat: Persist AppNav feat: Persist AppNav between navigations Jan 13, 2024
@@ -645,7 +645,7 @@ export default function SearchPage() {
}, [setResultsMode]);

return (
<div className="LogViewerPage d-flex" style={{ height: '100vh' }}>
Copy link
Contributor

Choose a reason for hiding this comment

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

Testing out locally I suspect this is breaking the search table scroll behavior (we're scrolling the page instead of the search results)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oo good catch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@svc-shorpo
Copy link
Contributor Author

made some tweaks to appnav:

Screen.Recording.2024-01-13.at.8.47.09.PM.mov
  • remove background from saved searches and dashboards sections
  • animate collapse effect
  • use btn for collapse to emphasize it's a separate action from the link iteself
  • keyboard nav for search!

Copy link
Contributor

@MikeShi42 MikeShi42 left a comment

Choose a reason for hiding this comment

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

🚢🚢🚢🚢🚢

@kodiakhq kodiakhq bot merged commit cf221c3 into main Jan 16, 2024
4 checks passed
@kodiakhq kodiakhq bot deleted the sr/persistent-layout branch January 16, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants