Skip to content

feat: add accessible about market modal#423

Open
pq198363-ops wants to merge 1 commit into
Predictify-org:mainfrom
pq198363-ops:bounty-362-about-market-modal
Open

feat: add accessible about market modal#423
pq198363-ops wants to merge 1 commit into
Predictify-org:mainfrom
pq198363-ops:bounty-362-about-market-modal

Conversation

@pq198363-ops

Copy link
Copy Markdown

Closes #362

Summary

  • Add AboutMarketModal with an accessible About this market dialog for market premise, category, deadline, and resolution criteria
  • Wire the dialog into the existing event detail page action row
  • Document the visible change and accessibility behavior
  • Fix the existing DialogContentWithFocusReturn useRef reference so the shared dialog module type-checks correctly

Validation

  • PASS: node node_modules/jest/bin/jest.js app/components/__tests__/AboutMarketModal.test.tsx --runInBand
  • PASS: node node_modules/eslint/bin/eslint.js app/components/AboutMarketModal.tsx app/components/__tests__/AboutMarketModal.test.tsx "app/(dashboard)/events/event-page/EventDetailsClient.tsx" components/ui/dialog.tsx
  • NOTE: node node_modules/typescript/bin/tsc --noEmit --pretty false still fails on existing unrelated repo errors such as missing ErrorBoundary, shareProfile, LanguageBadge, wallet modal symbols, and existing PredictionCard identifiers.

Notes

  • The issue body references app/markets/[id]/page.tsx, but this repo's current market detail surface is app/(dashboard)/events/event-page/EventDetailsClient.tsx, so the modal is wired there.

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

@pq198363-ops is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add accessible 'About this market' modal

1 participant