Skip to content

Keep deleted questions, people and items out of a new packing list - #327

Merged
timgent merged 1 commit into
mainfrom
claude/deleted-questions-packing-lists-im02lc
Aug 24, 2026
Merged

Keep deleted questions, people and items out of a new packing list#327
timgent merged 1 commit into
mainfrom
claude/deleted-questions-packing-lists-im02lc

Conversation

@timgent

@timgent timgent commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Deleting a question, a traveller or a question-set item leaves a tombstone
in the question set — the entity stays in the document carrying a
deletedAt so the deletion reaches the pod and wins the per-entity merge.
The create-a-list page read the stored document straight, so every deleted
question came back on it, with nothing under it whenever its options had
been removed first (an option is deleted outright, so an emptied-then-
deleted question has none left to show). Deleted travellers were offered
and pre-selected too, and deleted items were generated onto the new list.

Add activeQuestionSet, the tombstone-free view of a set, and read through
it wherever the create flow shows or generates from the question set —
including "update from questions", which was re-adding deleted items as
additions. Writes still use the stored set: saving the filtered one back
would purge the tombstones and undo every deletion on the next sync.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_015sWWKuzqv6fjBejJNniGCk

Deleting a question, a traveller or a question-set item leaves a tombstone
in the question set — the entity stays in the document carrying a
`deletedAt` so the deletion reaches the pod and wins the per-entity merge.
The create-a-list page read the stored document straight, so every deleted
question came back on it, with nothing under it whenever its options had
been removed first (an option is deleted outright, so an emptied-then-
deleted question has none left to show). Deleted travellers were offered
and pre-selected too, and deleted items were generated onto the new list.

Add `activeQuestionSet`, the tombstone-free view of a set, and read through
it wherever the create flow shows or generates from the question set —
including "update from questions", which was re-adding deleted items as
additions. Writes still use the stored set: saving the filtered one back
would purge the tombstones and undo every deletion on the next sync.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015sWWKuzqv6fjBejJNniGCk
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-packing-app Ready Ready Preview Aug 24, 2026 7:49pm

@timgent
timgent merged commit bace6f7 into main Aug 24, 2026
4 checks passed
@timgent
timgent deleted the claude/deleted-questions-packing-lists-im02lc branch August 24, 2026 19:51
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.

2 participants