-
Notifications
You must be signed in to change notification settings - Fork 6
Program detail: paginated transactions (100/page) + deterministic newest-first ordering #28
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
Open
hoffmabc
wants to merge
49
commits into
main
Choose a base branch
from
aws-update-new-indexer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
…able (page size 100) and ?page= sync; backend(api): order program transactions by created_at DESC, block_height DESC for deterministic newest-first
The search handler now supports parallel lookups for transactions, blocks, accounts, programs, and tokens, returning grouped results and a best guess for redirection. The frontend HeaderSearch and new /search page consume the updated API, providing grouped search results and improved UX. Also adds a SQL migration for mempool transaction tracking and updates Rust dependencies.
Updated the program search query to use the database's normalize_program_id function, allowing consistent handling of both base58 and hex inputs. Also increased the confidence score for single program search results from 0.9 to 0.95.
Corrects the SQL query parameter indices for LIMIT and OFFSET in get_transactions_by_program handler to match the expected order, preventing incorrect pagination results.
Replace home page real-time metrics with meaningful cumulative stats (total transactions, programs, accounts, blocks) and 30-day transaction volume chart. Move TPS/mempool/sync to new /network-status page. - Add total_accounts, total_programs to NetworkStats API - Create historical stats and transaction volume endpoints - Build TimeFilter, CumulativeStatCard, VolumeChart components - Add top programs widget with activity bars - Support All Time, 24h, 7d, 30d timeframe filtering Improves home page relevance for fast blockchains where real-time metrics change too quickly to be meaningful.
- Add null coalescing operators for all NetworkStats fields to prevent crashes - Fix block count display to use indexed_blocks (2.8M) instead of total_blocks (75k) - Improve WebSocket connection handling in ProgramHeatstrip with proper error handling - Fix VolumeChart SVG coordinate system and aspect ratio for proper rendering - Add better error handling for historical stats endpoint 404s
- Fix dropdown menu z-index to overlay above page content - Fix account statistics by querying account_participation table - Add proper token program filtering for tokens page - Add deployment script for frontend and api-server only - Update total accounts and historical account counts to use DISTINCT address_hex
…rontend pages.\n- Add token_metadata table and upsert function\n- Indexer: decode CreateMetadata and upsert\n- API: /api/tokens and /api/tokens/:mint\n- Frontend: /tokens list with search/sort/pagination and detail page\n- Style align with existing UI
…id DB errors when tm/md missing
…rive fields and use safe joins
…token_balances when other tables missing
…nd stat rows; add error and loading styles and responsive tweaks
…k column, better column widths and alignment; add sortable headers and responsive hiding of wide columns; refine token cell styling
… equivalent hex matching; add deployed metadata program constant and helper; mirror change in top-level server; add beta-only migration to unify alias to deployed id
…mit main.rs, hybrid_sync.rs, arch_rpc/mod.rs, lib.rs, Cargo.toml and remove tasks.rs
Ensures all top program keys are present in each data point with a default value of 0 to avoid undefined gaps in the chart. Also adds the connectNulls prop to Area components for smoother chart rendering.
Updated .activityGrid CSS to use larger gap and margin values for improved spacing in both default and responsive layouts.
Updated all calls to upsert_token_account to include TOKEN_PROGRAM as the third parameter instead of passing NULL. This ensures the token program is properly recorded when upserting token accounts.
Introduces the account_participation table and supporting functions/triggers to track account involvement in transactions, ensuring schema is present and backfilled on startup. Updates token account upsert queries to match the new function signature, passing owner as None. Also adjusts transaction queries for deployments missing certain columns and refines transaction eligibility logic.
Introduces new reusable components for account hero, identicon, icon bubble, quick insights, sticky tabs, transaction list, token list, and programs list. Refactors the accounts/[address] page to use these components, improving UI consistency and maintainability. Updates global styles for better scrollbar handling and adds skeleton loading shimmer.
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.
Replaces the recent-only list on programs/[id] with a full paginated table (100/page) backed by /api/programs/:id/transactions. The page is deep-linkable via ?page= and uses shallow routing to avoid reloads. Backend get_transactions_by_program now orders by created_at DESC, block_height DESC for stable newest-first. Includes lints clean. This enables browsing all transactions for a program and direct linking to any page.