Skip to content

feat: add saved market bookmarks#426

Open
pq198363-ops wants to merge 1 commit into
Predictify-org:mainfrom
pq198363-ops:bounty-364-bookmark-market
Open

feat: add saved market bookmarks#426
pq198363-ops wants to merge 1 commit into
Predictify-org:mainfrom
pq198363-ops:bounty-364-bookmark-market

Conversation

@pq198363-ops

Copy link
Copy Markdown

Closes #364

Summary

  • add a persisted useBookmarksStore for saved market IDs
  • add an accessible BookmarkButton with pressed state and save/remove labels
  • wire saved market controls into the marketing widget header with an expandable saved list
  • document the client-side saved market behavior

Validation

  • node node_modules/jest/bin/jest.js --runTestsByPath app/state/__tests__/bookmarks.test.ts app/components/__tests__/BookmarkButton.test.tsx app/(marketing)/_components/__tests__/markets-widget.test.tsx --runInBand - 8 tests passed
  • node node_modules/eslint/bin/eslint.js app/components/BookmarkButton.tsx app/components/__tests__/BookmarkButton.test.tsx app/state/bookmarks.ts app/state/__tests__/bookmarks.test.ts app/(marketing)/_components/markets-widget.tsx app/(marketing)/_components/__tests__/markets-widget.test.tsx - passed
  • git diff --check - no whitespace errors; only Git line-ending warnings on Windows

Type-check note

  • node node_modules/typescript/bin/tsc --noEmit --pretty false still fails on existing unrelated files such as ResolutionPreview, ErrorBoundary, wallet modal typing, badge variant typing, PredictionCard, and components/ui/dialog.tsx; no reported errors point to this PR's new bookmark files or the updated marketing widget.

@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 'Save market for later' bookmark feature

1 participant