Skip to content

feat: show Raindex market data - #2848

Open
findolor wants to merge 1 commit into
arda/market-data-rest-apifrom
arda/market-data-webapp
Open

feat: show Raindex market data#2848
findolor wants to merge 1 commit into
arda/market-data-rest-apifrom
arda/market-data-webapp

Conversation

@findolor

@findolor findolor commented Aug 25, 2026

Copy link
Copy Markdown
Collaborator

Chained PRs

Summary

  • Add a dedicated /markets Raindex market page that consumes only the public REST market service.
  • Show every active direct quote-token pair discovered from Raindex orders, with API-backed 24-hour statistics, token artwork when available, and on-demand executable depth.
  • Keep market verification independent of the browser SQLite indexer, subgraph synchronization, wallet initialization, and product-specific metadata.

Key decisions

  • Present the route as a Raindex-level market view and link it immediately after Vaults in permanent navigation.
  • Return from /markets before importing or initializing the browser SDK and SQLite WASM runtime.
  • Refresh the cached overview each minute and quote only the selected market. TanStack Query cancellation prevents superseded requests from accumulating.
  • Render registry-provided token images when available and retain token initials as the missing-image fallback.
  • Treat 200 [] as healthy: counters render as zero and the page explains that no active Raindex orders currently provide a direct pair with the configured quote token.
  • Preserve the last successful overview or detail when a background refresh fails and surface a compact freshness status.
  • Keep scanning values concise while exposing unrounded API decimal strings in selected-market verification details.
  • Support search by symbol, token name/address, ticker ID, quote symbol, and chain ID without product category, ISIN, or market-enabled hardcoding.

Validation

  • npm run check: 0 errors and 0 warnings
  • npm run lint
  • Focused market/navigation/component tests: 8 passed
  • Full webapp suite: 32 files and 224 runnable tests passed; the existing network-dependent fullDeployment.test.ts could not fetch its remote registry and skipped 9 tests
  • npm run build
  • git diff --check
  • Manual local integration against the local API and index: 48 active markets rendered, including non-stock tokens; search, refresh, token artwork, empty executable depth, populated depth, exact values, and recent trades were verified.

Build output retains the repository existing sourcemap, large-chunk, and optional dependency warnings.

No issue is linked per the implementation scope.

@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 001408bf-bc5e-490d-99d4-2d2df01ed462

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more


How to use the Graphite Merge Queue

Add the label Raindex-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@findolor
findolor marked this pull request as ready for review August 25, 2026 15:19
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 5fa505e to e17c5c5 Compare August 25, 2026 15:22
@findolor
findolor force-pushed the arda/market-data-webapp branch 3 times, most recently from 62a433c to c4e5e8b Compare August 25, 2026 18:30
@findolor
findolor force-pushed the arda/market-data-rest-api branch from e17c5c5 to 4785a58 Compare August 25, 2026 18:30
@findolor
findolor force-pushed the arda/market-data-webapp branch from c4e5e8b to 7d6933f Compare August 25, 2026 18:31
@findolor
findolor force-pushed the arda/market-data-rest-api branch 2 times, most recently from 8c4fb69 to fe3aee3 Compare August 25, 2026 19:10
@findolor
findolor force-pushed the arda/market-data-webapp branch from 7d6933f to 06c4046 Compare August 25, 2026 19:10
@findolor
findolor force-pushed the arda/market-data-rest-api branch from fe3aee3 to 4a399b4 Compare August 26, 2026 06:38
@findolor
findolor force-pushed the arda/market-data-webapp branch from 06c4046 to af8394b Compare August 26, 2026 06:38
@findolor

findolor commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator Author

Updated Raindex market UI

Captured from the current Vercel preview: open the live markets page.

Desktop overview

Raindex market overview

Executable market detail

Raindex executable market orderbook and recent trades

Exact API values

Raindex exact market API values

Search across active-order tokens

The example below filters the Raindex-wide market list to WETH; discovery is not limited to stock tokens.

Raindex market search filtered to WETH

Mobile overview

Raindex mobile market overview

Mobile executable detail

Raindex mobile executable market detail

@findolor
findolor force-pushed the arda/market-data-rest-api branch from 4a399b4 to 740c1a6 Compare August 26, 2026 07:02
@findolor
findolor force-pushed the arda/market-data-webapp branch 2 times, most recently from 5b4f888 to 8c39bea Compare August 26, 2026 08:15
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 740c1a6 to 32a821b Compare August 26, 2026 08:15
@findolor
findolor force-pushed the arda/market-data-webapp branch from 8c39bea to 5d26caf Compare August 26, 2026 08:21
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 32a821b to 1961bbf Compare August 26, 2026 08:21
@findolor findolor self-assigned this Aug 26, 2026
@findolor
findolor requested a review from rouzwelt August 26, 2026 08:28
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 1961bbf to bbe3155 Compare August 26, 2026 08:40
@findolor
findolor force-pushed the arda/market-data-webapp branch from 5d26caf to 8564f45 Compare August 26, 2026 08:40
@findolor
findolor force-pushed the arda/market-data-rest-api branch from bbe3155 to 9d3bfc1 Compare August 26, 2026 08:43
@findolor
findolor force-pushed the arda/market-data-webapp branch from 8564f45 to 4520f05 Compare August 26, 2026 08:43
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 9d3bfc1 to 954ffb1 Compare August 26, 2026 08:45
@findolor
findolor force-pushed the arda/market-data-webapp branch 2 times, most recently from 51870c4 to ad4cbaf Compare August 26, 2026 09:52
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 954ffb1 to c713509 Compare August 26, 2026 09:52
@findolor
findolor force-pushed the arda/market-data-webapp branch from ad4cbaf to cf18e83 Compare August 26, 2026 09:56
@findolor
findolor force-pushed the arda/market-data-rest-api branch 2 times, most recently from 9fee80d to 53693ee Compare August 26, 2026 09:57
@findolor
findolor force-pushed the arda/market-data-webapp branch from cf18e83 to 241b5e8 Compare August 26, 2026 09:57
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 53693ee to 3cdf6b1 Compare August 26, 2026 10:15
@findolor
findolor force-pushed the arda/market-data-webapp branch from 241b5e8 to 422cb45 Compare August 26, 2026 10:15
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 3cdf6b1 to f1bcb07 Compare August 26, 2026 10:37
@findolor
findolor force-pushed the arda/market-data-webapp branch 2 times, most recently from 6736d62 to bd7b765 Compare August 26, 2026 12:56
@findolor
findolor force-pushed the arda/market-data-rest-api branch from f1bcb07 to c5f741d Compare August 26, 2026 12:56
@findolor
findolor force-pushed the arda/market-data-webapp branch 3 times, most recently from 0b230ad to 4662ba5 Compare August 26, 2026 15:18
@findolor
findolor force-pushed the arda/market-data-rest-api branch from fd27ca7 to 8d442d7 Compare August 26, 2026 15:18
@findolor
findolor force-pushed the arda/market-data-webapp branch from 4662ba5 to 6308eba Compare August 26, 2026 15:20
@findolor findolor changed the title feat: show REST-backed market data feat: show Raindex market data Aug 26, 2026
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 8d442d7 to 74a54a7 Compare August 26, 2026 16:33
@findolor
findolor force-pushed the arda/market-data-webapp branch from 6308eba to 0d018d9 Compare August 26, 2026 16:33
@findolor
findolor requested a review from ueco-jb August 26, 2026 16:36
@findolor
findolor force-pushed the arda/market-data-webapp branch from 0d018d9 to 5c177cf Compare August 26, 2026 17:01
@findolor
findolor force-pushed the arda/market-data-rest-api branch from 74a54a7 to 05a5495 Compare August 26, 2026 17:01
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.

1 participant