Skip to content

Web: Pluggable Analytics Architecture with Custom Dimensions #177

Description

@wagmiiii

Repo context. accensa-app is the off-chain half of Accensa — the merchant back-office for x402 sellers on Stellar. Three workspace packages matter: apps/web (Next.js dashboard and the indexer at src/app/api/sync), packages/sdk (@accensa/sdk), and apps/demo-merchant. The Soroban contracts live in accensa-contracts.

🟢 Unblocked. Independent UI and API effort.

Problem

The hardcoded analytics dashboard in apps/web cannot accommodate the diverse reporting needs of different merchants. A complete architectural overhaul is needed to support custom querying and pluggable reporting widgets.

What to build

Build a semantic layer in the Next.js backend using Cube.js. Refactor the frontend analytics components to dynamically query this semantic layer based on user-defined JSON configurations, enabling custom dimensions and metrics.

Acceptance criteria

  • Cube.js semantic layer integrated and connected to the indexer DB.
  • Dynamic query builder UI implemented in the dashboard.
  • Pluggable widget architecture established.

Contact & Support

Metadata

Metadata

Assignees

Labels

Stellar WaveDrips Wave Programarea: webWork in webcomplexity: high200 pts — integrations or architectural work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions