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: remember overview last tab #271

Merged
merged 3 commits into from
Feb 9, 2023

Conversation

ArmanNik
Copy link
Member

@ArmanNik ArmanNik commented Feb 9, 2023

No description provided.

@vercel
Copy link

vercel bot commented Feb 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
console ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 9, 2023 at 4:15PM (UTC)

@@ -203,15 +203,17 @@
<a
class="tabs-button"
href={`${path}/platforms`}
class:is-selected={$page.url.pathname === `${path}/platforms`}>
class:is-selected={$page.url.pathname === `${path}/platforms`}
on:click={() => ($selectedTab = 'platforms')}>
Copy link
Contributor

Choose a reason for hiding this comment

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

can we handle this in the routes components lifecycle? So that it will even be remembered when you visit the page without clicking the tab?

@TorstenDittmann TorstenDittmann merged commit 30b5828 into main Feb 9, 2023
@TorstenDittmann TorstenDittmann deleted the feat-remember-overview-last-tab branch February 9, 2023 16:43
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