Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transcript timestamps and download #29

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

mcminis1
Copy link

@mcminis1 mcminis1 commented Nov 21, 2024

Changes

  • Added "Download" button to export conversation transcript as CSV
  • Added timestamps display for each message in transcript
  • CSV includes timestamp, participant role (Agent/User), and message text
  • Updated transcript UI to show timestamps below each message
  • Fixed message merging logic to preserve original timestamps

Implementation Details

  • CSV export handles quote escaping and uses ISO date for filename
  • Timestamps use 24-hour format with HH:mm:ss
  • Preserved backward compatibility by making timestamp optional in Transcription interface
  • Enhanced message merge logic to maintain chronological accuracy

Testing

  • Verify CSV download contains all messages with correct timestamps
  • Confirm timestamps display correctly in UI
  • Test message merging with multiple rapid messages
  • Validate CSV formatting with messages containing quotes/special chars

Chat Transcript

image

Chat CSV

image

@mcminis1
Copy link
Author

@bcherry I built this for myself and thought it might be something other folks would like. Glad to take a turn on it if it's something you're interested in merging, but not quite the way you like it.

Thanks!

@bcherry bcherry self-requested a review November 21, 2024 18:13
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