OpenCut/apps
Rene Zander 55d4e52d86 fix: address CodeRabbit review feedback on import/export
- projects/page.tsx: add aria-label="Import project" to the import
  button so screen readers have a name when the visible label is
  hidden on small screens.
- project-manager.ts: tighten import schema validation — accept only
  formatVersion === SUPPORTED_FORMAT_VERSION (1), reject non-string
  metadata.id/name (previously a numeric value passed the truthy
  check), require non-empty trimmed strings, and reject arrays/null
  payloads. Constant shared with the export path.
- storage/service.ts: await ensureMigrations() at the top of
  importProjectFromJSON so an import can't race with the memoized
  migration run and land in a half-migrated store.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 06:49:34 +00:00
..
desktop feat: init desktop app 2026-03-29 15:58:42 +02:00
web fix: address CodeRabbit review feedback on import/export 2026-05-20 06:49:34 +00:00