Skip to content

Add markdown export#30

Merged
ellgreen merged 2 commits intomainfrom
md-export
Nov 27, 2025
Merged

Add markdown export#30
ellgreen merged 2 commits intomainfrom
md-export

Conversation

@ellgreen
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds markdown export functionality to retrospectives, allowing users to view a formatted markdown representation of their retro data during the "discuss" phase. The feature includes a new UI dialog component that displays the markdown in a read-only textarea, backend API endpoint to generate the markdown, and an exporter service that formats retro notes and columns into markdown structure.

Key Changes

  • New markdown export endpoint (/api/retros/{id}/markdown) that generates formatted markdown from retro data
  • UI component with dialog showing markdown content in a read-only textarea
  • Integration into the board UI, visible only during the "discuss" status
  • Routine dependency updates for both Go and npm packages

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
ui/src/components/ui/textarea.tsx New reusable textarea component with styling for forms and inputs
ui/src/components/retro/download.tsx Dialog component that fetches and displays markdown export of retrospective
ui/src/components/retro/board.tsx Integrates Download button into board navigation during discuss phase
ui/package.json Updates React, Radix UI, and other frontend dependencies to latest versions
go.mod Updates Go to 1.24.0 and various dependencies including validator, goose, and sqlite
go.sum Checksum updates corresponding to go.mod dependency changes
cmd/thoughts/routes.go Registers new markdown export route for retros
cmd/thoughts/exporters/markdown.go New exporter service that formats retro data into markdown structure
cmd/thoughts/controllers/retros.go New handler for markdown export endpoint with unused helper function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/thoughts/controllers/retros.go Outdated
Comment thread ui/src/components/retro/download.tsx
Comment thread ui/src/components/retro/show-markdown.tsx
Comment thread cmd/thoughts/controllers/retros.go
Comment thread ui/src/components/retro/download.tsx Outdated
Comment thread ui/src/components/retro/show-markdown.tsx
Comment thread ui/src/components/retro/download.tsx Outdated
Comment thread cmd/thoughts/exporters/markdown.go Outdated
Comment thread cmd/thoughts/exporters/markdown.go
@ellgreen ellgreen merged commit 9f7070f into main Nov 27, 2025
@ellgreen ellgreen deleted the md-export branch November 27, 2025 13:30
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.

2 participants