Skip to content

docs: add component inventory - #65

Merged
Sagnikabhol merged 1 commit into
mainfrom
docs/component-inventory
Nov 25, 2026
Merged

Sagnikabhol merged 1 commit into
mainfrom
docs/component-inventory

Conversation

@Sagnikabhol

@Sagnikabhol Sagnikabhol commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary of Changes

Resolves #29. Creates docs/COMPONENTS.md skeleton documenting all primitives exported by @pathixo/ui as mandated by QUAL-05 and DESIGN-03.

Type of Change

  • docs: Documentation, ADRs, or planning files

Affected Components

  • packages/ui
  • docs/COMPONENTS.md

Traceability & Requirements Mapping

Mandatory Security & Policy Checklist (All Must Be Checked)

  • Application Isolation: Changes in one app do not break independent compilation/deployment of the other.
  • Zero Credential Leaks: No Meta System User Tokens (EAA...), phone IDs, Resend keys, or secrets are present in code or fixtures.
  • WhatsApp Business Policy Compliance: Workflows verify explicit opt-in/consent before dispatch; out-of-session dispatches use approved templates only; opt-out keywords (STOP) are honored.
  • Idempotency Guard: All outbound dispatches and webhook ingestions enforce duplicate prevention via unique idempotency keys.
  • Financial Metering Attribution: Outbound billable events emit traceable usage records with dynamic rate cards from @pathixo/billing-core.
  • Quality Checks: Local tests, linting, and typechecks pass (pnpm run typecheck && pnpm run test).

Deliverables & Testing Performed

  • Component Inventory: Detailed specs for Button, IconButton, Badge, StatusBadge, Dialog, Drawer, Card, Separator, Table, and Skeleton.
  • Props Tables & Import Paths: Documented exact prop interfaces and defaults from current source.
  • Real Usage Snippets: Provided clean, idiomatic JSX snippets compiled and tested against packages/ui.
  • Design Tokens & Anti-AI-Slop Invariants: Explicitly mapped token dependencies and non-negotiable geometry/styling constraints from docs/RULES.md.
  • Gaps & Technical Debt: Listed 5 prioritized recommendations for senior engineering triage.
  • Visual Evidence: Attached live verification screenshot verifying all documented snippets compile and render.
  • Verification: pnpm --filter web typecheck and pnpm --filter web build passed with zero errors.

@github-actions github-actions Bot added documentation Improvements or additions to documentation m1 Points to milestone M1 - Frontend foundation and internal console labels Nov 21, 2026
@Sagnikabhol
Sagnikabhol force-pushed the docs/component-inventory branch from d5d4280 to 47d9cbe Compare November 21, 2026 17:47
@Sagnikabhol

Copy link
Copy Markdown
Collaborator Author

Hi @rohanjha9260 ,

This PR is ready for review. It resolves #29 by adding the complete @pathixo/ui component inventory in docs/COMPONENTS.md as required by QUAL-05 and DESIGN-03:

  • Full Component Coverage: Documented all 10 exported primitives (Button, IconButton, Badge, StatusBadge, Dialog, Drawer, Card, Separator, Table, and Skeleton).
  • Strict Invariant Adherence: Mapped design tokens (@pathixo/design-tokens) and enforced anti-AI-slop constraints from docs/RULES.md (no gradients, no neon halos, restrained 2px–6px radii, and mandatory dual signaling for status).
  • Compilation & Verification: All documented snippets compile cleanly (pnpm --filter web typecheck), verified with an embedded live browser screenshot in docs/assets/.
  • Gaps & Debt: Cataloged 5 prioritized recommendations for senior engineering triage in Section 4.
  • CI & Standards: Single conventional commit (docs: add component inventory) with all 10 GitHub Actions checks passing cleanly.

Looking forward to your review and approval. Thank you!

@rohanjha9260
rohanjha9260 self-requested a review November 24, 2026 07:17

@rohanjha9260 rohanjha9260 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Pull Request Review: Approved (Ready to Merge)

Thank you @Sagnikabhol for the thorough and high-quality documentation.

  • Full Primitive Coverage: All 10 exported primitives in @pathixo/ui are documented with exact props tables, import paths, and compiling JSX snippets.
  • Design Tokens & Invariant Rigor: Accurately references @pathixo/design-tokens and captures the non-negotiable Anti-AI-slop and accessibility rules from docs/RULES.md (dual-signaling on status, no glowing gradients, restrained radii).
  • High-Value Technical Debt Catalog: The 5 recommendations in Section 4 are noted and will be triaged for upcoming sprints.
  • CI & Standards: All 10 GitHub Actions checks are green and the visual verification screenshot is in place.

This PR fully satisfies Issue #29 (QUAL-05, DESIGN-03) and is approved for merge.

@Sagnikabhol
Sagnikabhol merged commit 910c37e into main Nov 25, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation m1 Points to milestone M1 - Frontend foundation and internal console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create docs/COMPONENTS.md skeleton from the @pathixo/ui inventory

2 participants