feat(web): add integration pages generated from the adapter registry

Open
#542 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
next.js, playwright, react, typescript

Research direction

Read src/lib/adapters/registry.ts, src/lib/adapters/types.ts, and src/lib/docs.ts to understand the live provider data and descriptions, then trace metadata and sitemap handling in src/lib/site-metadata.ts and src/app/sitemap.ts. Build the index and provider pages under src/app/integrations/, link the index from the landing integrations section and footer, and add the Playwright spec. Done means all 11 live providers render from their declarations, unknown providers return 404, metadata and sitemap entries are present, and the stated accessibility and e2e checks pass.

Written by the indexing model from the issue text.

Description

area: integrations area: web enhancement impact: high priority: P2 size: M

Context

Second slice of #540 (option C, decided 2026-11-17). People search for " usage alerts" and " monitoring". StackDash supports 11 providers (liveAdapters in src/lib/adapters/registry.ts), but the only pages naming them are the provider docs, which are written for self-hosters (scopes, app registration, webhooks).

Each adapter already declares what a visitor would want to know (ProviderAdapter in src/lib/adapters/types.ts): displayName, dataCollected, eventTypes, capabilities, permissions, achievements, webhooks, and beta. Pages generated from those declarations stay accurate as adapters change, with no second copy to keep in sync.

Plan

  1. /integrations: an index of every live provider, with brand mark (src/components/icons.tsx), name, and one line on what StackDash reads from it.
  2. /integrations/[provider], statically generated for every LiveProviderId:
    • H1 " integration" and a lead paragraph taken from the provider doc's description (DocPage.description, src/lib/docs.ts), so there is no second copy of the summary.
    • What StackDash reads (dataCollected), the timeline events it shows (eventTypes through eventTypeLabel), the alerts and figures it supports (capabilities), and the access it asks for (permissions), all in plain words.
    • Whether webhooks are supported, and a beta note when beta is set.
    • Links to the provider doc, the relevant answer guides once they exist, and sign-in.
  3. Page metadata through socialMetadata, sitemap entries through STATIC_PUBLIC_PATHS or a new source in SitemapSources, and SoftwareApplication or WebPage JSON-LD once the foundation slice lands.
  4. Link /integrations from the landing page integrations section (src/components/sections/integrations.tsx) and the footer.

Acceptance criteria

  • /integrations lists all 11 live providers; the fake and simulated adapters never appear
  • Each /integrations/<provider> page shows only what that adapter declares; adding an event type to an adapter changes its page with no other edit
  • An unknown provider returns 404
  • Every page has its own title, description, canonical URL, social image, and sitemap entry
  • Copy follows the house voice: sentence case, no dashes, no marketing adjectives, the provider's own product names
  • axe scan and a keyboard-only pass on the index and one provider page
  • Playwright e2e covers the index, one provider page, and the 404

Files and areas

New src/app/integrations/, src/lib/adapters/registry.ts (read only, or a small public summary function), src/lib/docs.ts (description lookup by provider), src/lib/site-metadata.ts, src/app/sitemap.ts, src/components/sections/integrations.tsx, a new e2e spec.

Non-goals: pages for pairs of providers, pages for providers not yet supported, pricing claims about the providers.

Verification

  • npm run test and npm run test:e2e.
  • curl -s localhost:3000/sitemap.xml | grep -c /integrations/ prints 12.

Model: anthropic/claude-opus-5-5 | Reasoning effort: not reported by harness

Dominant language
TypeScript
Stars
13
Forks
2
Avg merge
5h 20m
Merged PRs (30d)
287

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eddiejaoude/StackDash

All issues in eddiejaoude/StackDash

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.