- Add LetterTemplate.icon field and 7th template 'Mindre parkeringsskada' (🅿️) - Create TemplatePicker.vue component: modal overlay with 2-column card grid, emits 'select' and 'close' events, closes on overlay click - Add '✨ Visa mallar' pill button above textarea in ComposePage - Clicking button opens TemplatePicker modal, selecting a template fills textarea and closes modal - Style button as pill/badge with light blue background and icon - Add 7 Vitest tests for TemplatePicker (renders cards, emits events, close behavior, parking damage template) - Add 4 Vitest tests for ComposePage template picker integration - Add 2 Playwright E2E tests (opens picker, fills textarea and closes) |
||
|---|---|---|
| .. | ||
| e2e | ||
| public | ||
| src | ||
| .gitignore | ||
| .prettierrc | ||
| eslint.config.ts | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.