Skip to content

Export the day as Markdown #7

Description

@qapitall

What

An "Export" button that turns the current day's board into a Markdown checklist — done cards checked, the rest unchecked, grouped by column — and copies it to the clipboard (or downloads a .md file).

Something like:

# 2026-07-13

## To Do
- [ ] Fix the login bug (work)

## In Progress
- [ ] Write API docs (work)

## Done
- [x] Morning run (personal)

Why

Plans often need to leave the board: paste into a standup message, a journal, or a commit description. The data is already plain JSON on disk, but nobody wants to hand-format it.

Suggested approach

Purely client-side — the cards for the current day are already loaded in boardCards in public/app.js.

  • public/index.html — an Export button in the toolbar.
  • public/app.js — build the Markdown string from boardCards (respect the column order used by renderBoard()), then navigator.clipboard.writeText() and show a brief "Copied" status. Include the category in parentheses when a card has one.

Acceptance criteria

  • One click copies the whole day as Markdown.
  • Done cards are - [x], others - [ ], grouped under column headings.
  • Card order matches the board.
  • Some visible feedback that the copy happened.

Good first issue — frontend only, no new endpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions