Skip to content

Conversation

@hoffmabc
Copy link
Collaborator

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.

…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
…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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants