Skip to content

fix: repopulate tags + visibility when editing from history - #119

Merged
shiaho777 merged 1 commit into
mainfrom
fix/history-repopulate
Sep 13, 2026
Merged

shiaho777 merged 1 commit into
mainfrom
fix/history-repopulate

Conversation

@shiaho777

Copy link
Copy Markdown
Owner

Summary

  • Rebuild-from-history now restores selectedTags (re-creating chips for custom tags) and currentVisibility — previously tags were silently dropped and a public app re-published as private.
  • _snapshot_from_recipe now also strips _about_text/_about_images — raw upload data URLs were landing in the history DB.

Fixes #118

Test plan

  • pytest 336 green; manual: history item → 回填后标签 chips 亮起、可见性回到存储值.

Generated with Devin

applyHistoryItemToForm filled name/description/about/icon/version but
left selectedTags empty and visibility at its default — rebuilding an
existing app silently dropped its tags and flipped a public app back
to private. Custom tags that aren't builtin chips are re-created as
chips so they stay selectable.

Also strip transient _about_text/_about_images in _snapshot_from_recipe:
raw upload data URLs were being persisted into the history DB.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@shiaho777
shiaho777 merged commit f54b9a2 into main Sep 13, 2026
3 checks passed
@shiaho777
shiaho777 deleted the fix/history-repopulate branch September 13, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rebuild from history loses tags and visibility

1 participant