CenterForDigitalHumanities / CenterForDigitalHumanities/Rerum-Collection-Management

Phase 4: Action Handlers

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Goal

Implement the actions suggested by connectors.

## Tasks

- [ ] **create-iiif-manifest** - Generate IIIF Manifest from image/video/audio URL
- [ ] **annotate-text** - Open annotation composer for text content
- [ ] **annotate-page** - Open page-level annotation for PDF
- [ ] **annotate-time** - Open time-based annotation for video/audio
- [ ] **action registry** - Map action strings to handler functions

## Files to Create/Modify

- `src/ui/action-registry.ts` (new file)
- `src/ui/proposal-review.ts` (add action button handlers)
- `src/connectors/resolver.ts` (update to use action registry)

## Acceptance Criteria

- Each suggested action is clickable and functional
- Action registry maps action strings to handler functions
- Handlers open appropriate UI components or perform actions
- All actions are tested and working

## Testing

- Click each action button and verify it performs the correct action
- Verify action registry maps all action strings correctly
- Verify handlers open appropriate UI components or perform actions

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading src/ui/proposal-review.ts and src/connectors/resolver.ts, then create or inspect src/ui/action-registry.ts as the central entry point. Trace how suggested action strings reach the UI and verify each listed action is clickable, mapped to a handler, and opens the appropriate component or performs its action. Test every action button and confirm all registry mappings work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.