feat(import): the archive's portrait in the import preview, and what an import applies - #285
Merged
Merged
Conversation
…an import applies Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… it is taken Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The import preview's check-in section now carries the archive's portrait beside the account's, the archive's chosen and "Keep mine" one click away, and the section shows for an archive carrying a portrait and no check-in fact. The apply sends the choice as the
portraitfield with theaccount_sha256the preview showed, on keep as on take, since the API requires the key; with nothing offered no field is sent and the account keeps its portrait. A stored portrait is notedcheck_in_detail_written, which already re-reads the signed-in user, so the portrait slot and "Adjust" pick up the new digests with no refresh of this change's own.portrait_keptjoins the note codes as information. The dropzone, the export card's archive row, the README and the privacy page (§2.1's pictures paragraph and §2.3's photo GPS) now say an import offers the archive's portrait and the check-in details rather than restoring them silently.Verified with
npm run ci(lint, type-check, the full vitest suite, build) and new render and unit tests over the row, the choice and the apply's form data.🤖 Generated with Claude Code