-
Notifications
You must be signed in to change notification settings - Fork 332
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(CN-472): add category filter with discover category deeplink param #7565
Feat(CN-472): add category filter with discover category deeplink param #7565
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Skipped Deployments
|
/** e.g. "all", "restaking", "services", etc */ | ||
export type CategoryId = Categories["selected"]; | ||
|
||
export function useCategories(manifests, initialCategory?: CategoryId): Categories { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcotoniut-ledger this will be needed for the LLM route
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might want to see if we can simplify the changes as I don't think most of them are necessary for the goal
apps/ledger-live-desktop/src/renderer/screens/platform/v2/Catalog/Browse/Search.tsx
Outdated
Show resolved
Hide resolved
apps/ledger-live-desktop/src/renderer/screens/platform/v2/Catalog/index.tsx
Outdated
Show resolved
Hide resolved
d0c6a46
to
369af50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Latest small detail
apps/ledger-live-desktop/src/renderer/screens/platform/v2/Catalog/index.tsx
Outdated
Show resolved
Hide resolved
apps/ledger-live-desktop/src/renderer/screens/platform/v2/Catalog/index.tsx
Outdated
Show resolved
Hide resolved
a64493b
to
b6f0b38
Compare
✅ Checklist
npx changeset
was attached.📝 Description
Add discover section deep link initial category filter to enable links like ledgerlive://discover?category=restaking to load the discover section with an initial category pre-selected.
This is required for the new "restaking" banner on earn dashboard.
Routes with a discover platform app id will not be impacted.
ledgerlive://discover?category=restaking
❓ Context
🧐 Checklist for the PR Reviewers