- 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> |
||
|---|---|---|
| .. | ||
| desktop | ||
| web | ||