Skip to content

feat(dashboard): add watchlist management page - #228

Merged
mijinummi merged 5 commits into
MD-Creative-Production:mainfrom
oraimoitel:feat/watchlist-management
Aug 30, 2026
Merged

feat(dashboard): add watchlist management page#228
mijinummi merged 5 commits into
MD-Creative-Production:mainfrom
oraimoitel:feat/watchlist-management

Conversation

@oraimoitel

Copy link
Copy Markdown
Contributor

Summary

Closes #102. Adds a full watchlist management page to the Sentinel dashboard.

Changes

  • WatchlistTable: Displays all entries with network badges, tags, address truncation, enable/disable toggle, and remove action
  • WatchlistForm: Modal dialog for adding new entries (name, network, address, tags)
  • useWatchlists hook: CRUD operations against /v1/watchlists API with loading/error states
  • Sidebar: Added Watchlists navigation link
  • Page route: /watchlists with responsive layout

Acceptance Criteria

  • Can view all watchlist entries in a table
  • Can add new entries via form
  • Can enable/disable entries via toggle
  • Can remove entries
  • Loading and error states handled

Validation

  • Build passes: npx next build in apps/dashboard
  • No TypeScript errors

oraimoitel and others added 5 commits August 30, 2026 12:29
Closes MD-Creative-Production#117

- Add ThemeProvider with localStorage persistence
- Add ThemeToggle component (sun/moon icons) in TopBar
- Configure Tailwind darkMode: 'class'
- Add dark: variants to layout, sidebar, globals, and badges
- Accessible toggle with aria-label and keyboard support
Closes MD-Creative-Production#102

- WatchlistTable: sortable table with network badges, tags, enable/disable toggle, remove action
- WatchlistForm: modal form for adding entries (name, network, address, tags)
- useWatchlists hook: CRUD operations via /v1/watchlists API
- Sidebar: added Watchlists navigation link
- Page at /watchlists with loading states and error handling
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
- Update root tsconfig.json to only include src/modules/reports/ (the
  only src/ code used by backend) instead of all of src/**/* which
  pulls in orphaned legacy code with missing module dependencies
- Fix import paths in apps/backend/router.ts, src/app.ts, and
  v1/controllers/resourceController.ts (missing src/ segment)
- Exclude orphaned src/api-keys/ test from jest config (depends on
  non-existent src/prisma/prisma.service)
@mijinummi

Copy link
Copy Markdown
Collaborator

LGTM! Nice work @oraimoitel

@mijinummi
mijinummi merged commit 0703aee into MD-Creative-Production:main Aug 30, 2026
12 checks passed
@grantfox-oss grantfox-oss Bot mentioned this pull request Aug 30, 2026
3 tasks
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.

Build Watchlist Management Page

2 participants