Repository navigation
Add analytics drill-down, duplicate quick-upvote, and live support hint - #745
Open
aishabellova wants to merge 3 commits into
Open
aishabellova wants to merge 3 commits into
aishabellova wants to merge 3 commits into
Conversation
…nalytics KPI cards and cha Closes stellar-vortex-protocol#604
…tion when a support reques Closes stellar-vortex-protocol#611
…ed" check as the user type Closes stellar-vortex-protocol#612
|
@aishabellova Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add analytics drill-down, duplicate quick-upvote, and live support hint
What was solved
#604 — [Medium] Add drill-down links from Analytics KPI cards and chart segments to a filtered Explore view
Add drill-down navigation from Analytics KPI cards and TopMoversPanel entries to the Explore page, pre-filtered via IntentSearchBox key:value query syntax. Scope is bounded to KPI cards and top movers only (Sankey/route-flow drill-down explicitly out of scope). Requires reading searchQuery.ts to build valid query strings, wiring Next.js Link/router navigation in AnalyticsPageClient.tsx, and ensuring ExplorePageClient.tsx consumes the query params to pre-filter results.
Addressed:
#611 — [Trivial] Surface a direct upvote action when a support request is rejected as a duplicate
Wire the existing
existingIdfrom aduplicatesubmit error into an inline one-click upvote action in RequestsPageClient, callingupvoteSupportRequest(existingId, address)directly from the error state, with i18n strings in en/es and a test asserting the correctexistingIdis passed.Addressed:
{ ok: false, error: "duplicate", existingId }, readexistingIdin RequestsPageClient and render an inline action labeled via i18n (e.g. requests.error.duplicateUpvote) that callsupvoteSupportRequest(existingId, address)on click.#612 — [Medium] Add a live "already supported" check as the user types a chain/token name
Add a debounced live "already supported" hint to the support-request form in RequestsPageClient.tsx, using the existing isAlreadySupported helper and useDebouncedValue hook, with i18n strings in en.ts and es.ts. Submission behavior stays unchanged.
Addressed:
Changes
src/lib/searchQuery.ts(modify)src/lib/i18n/messages/en.ts(create)src/app/requests/RequestsPageClient.tsx(modify)src/lib/i18n/messages/es.ts(create)Approach
Issues
Closes #604
Closes #611
Closes #612