What
Add a small Copy button to each assistant answer in the chat, so users can copy a reply (with its text) to the clipboard.
Why
Answers are often worth saving or pasting elsewhere; there's currently no quick way to copy one.
Where to start
src/views/ChatView.tsx — where assistant messages are rendered.
- Use the browser
navigator.clipboard.writeText(...).
- Add an
en/km string for the button label in src/i18n/en.ts and src/i18n/km.ts (see existing nav*/button strings for the pattern).
- Style it subtly to match the existing message UI in
src/styles.css.
Acceptance
- A copy control appears on assistant answers, copies the answer text, and gives brief visual feedback (e.g. "Copied").
- Works on mobile-width screens; bilingual label.
npm run typecheck and npm run build pass.
Good first issue — small, self-contained UI change. Ask questions on the issue if anything's unclear.
What
Add a small Copy button to each assistant answer in the chat, so users can copy a reply (with its text) to the clipboard.
Why
Answers are often worth saving or pasting elsewhere; there's currently no quick way to copy one.
Where to start
src/views/ChatView.tsx— where assistant messages are rendered.navigator.clipboard.writeText(...).en/kmstring for the button label insrc/i18n/en.tsandsrc/i18n/km.ts(see existingnav*/button strings for the pattern).src/styles.css.Acceptance
npm run typecheckandnpm run buildpass.Good first issue — small, self-contained UI change. Ask questions on the issue if anything's unclear.