Skip to content

Comments

Add transcription metadata and detail UI#64

Open
skywinder wants to merge 6 commits intosky-devfrom
transciption-details
Open

Add transcription metadata and detail UI#64
skywinder wants to merge 6 commits intosky-devfrom
transciption-details

Conversation

@skywinder
Copy link
Collaborator

Summary

  • Backend: Store rich metadata in transcription documents (model, processingTimeMs, wordCount, segmentCount, language, jobId) and return detailed results from transcription jobs
  • Frontend - Job Detail Page: New "Transcription Details" section showing audio duration, word count, segments, processing time, model/language badges, timeline link, full transcription text, and linked conversation chunk
  • Frontend - Jobs List Page: Enhanced Progress column for transcription jobs showing word count, audio duration, and text preview

Also includes:

  • Improved .env.example with setup/sync script references and clearer annotations
  • Removed stray console.log in tokens.ts and fixed server.ts to use generateApiKeyWithId for proper client ID output
  • Added scripts/setup.sh and scripts/sync-env.sh for first-run setup and env syncing

Testing Notes

  • Requires new transcription jobs to populate metadata — existing jobs won't have metadata.jobId
  • Docker container restart or Vite hot reload picks up frontend changes

Test plan

  • Trigger a new transcription job after backend restart
  • Verify Job Detail page shows the "Transcription Details" section with all metadata
  • Verify Jobs List page shows word count, duration, and text preview for completed transcription jobs
  • Confirm timeline link navigates correctly
  • Confirm existing (pre-metadata) jobs still render without errors

🤖 Generated with Claude Code

skywinder and others added 5 commits February 4, 2026 03:05
- Updated DEVELOPMENT.md to include new environment variables for development mode and their effects.
- Added a new script (sync-env.sh) to synchronize .env with .env.example, allowing for easy management of environment variables.
- Add scripts/setup.sh for streamlined first-run experience
- Fix token-create to output both MYCELIA_CLIENT_ID and MYCELIA_TOKEN
- Improve sync-env.sh to detect first-run and suggest setup.sh
- Update README Quick Start to use setup.sh --start
- Add legend to .env.example ([AUTO], [OPTIONAL], [CLI-ONLY])

Co-authored-by: Cursor <cursoragent@cursor.com>
- Updated transcription output schema to include additional metadata fields: processed, hasMore, transcriptionId, audioDuration, wordCount, segmentCount, and textPreview.
- Implemented word count calculation and added metadata to transcription documents.
- Updated JobDetailPage to fetch and display transcription details, including audio duration, word count, and segments.
- Enhanced JobsPage to show transcription-specific information when applicable, including text preview and duration.

These changes improve the handling and presentation of transcription data across the application.
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.

1 participant