photoprism/.github/instructions/frontend.instructions.md
Michael Mayer 8de7fa35af CI: Add Instructions for GitHub Copilot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-14 20:12:15 +02:00

413 B
Raw Blame History

applyTo
frontend/**

For frontend changes:

  • Keep Vue 3 idioms; prefer options API and existing components.
  • Run make build-js and make test-js; fix ESLint/Prettier before proposing changes.
  • Avoid introducing global state; follow existing store patterns.
  • Keep strings translatable; dont hardcode locales.
  • For performance, avoid unnecessary reactivity and re-renders; justify new deps.