Skip to content

fix: preserve item deletion feedback and clear stale detail state - #243

Merged
stefan-ernst merged 3 commits into
Windshiftapp:mainfrom
Optic00:codex/item-delete-feedback
Sep 9, 2026
Merged

fix: preserve item deletion feedback and clear stale detail state#243
stefan-ernst merged 3 commits into
Windshiftapp:mainfrom
Optic00:codex/item-delete-feedback

Conversation

@Optic00

@Optic00 Optic00 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Keep deleted detail state from leaking into the next item. Only two files remain in the diff. The informational toast, POST reparent request and reparent test selector come unchanged from main.

Reset the shared detail store before navigating away and allow a reused detail component to load the new parent. Ignore diagram failures belonging to an aborted request or a previous item. A 404 for the current item still marks it deleted.

Both targeted Chromium deletion scenarios pass against this branch: opening another board card after deletion, and reparenting without live events. Playwright reports three passes including setup, with no skips or retries. The companion tests are in core-tests draft #1.

The quick suite passes five Go packages and 123 frontend tests. Full browser and PostgreSQL qualification remain incomplete in the separate test migration.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

This PR has merge conflicts that need to be resolved before it can be merged. Please rebase on the latest main branch.

@github-actions github-actions Bot removed the conflict label Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Merge conflicts have been resolved.

@stefan-ernst

Copy link
Copy Markdown
Contributor

Hey @Optic00 - thanks! Ready to review from your perspective?

@Optic00
Optic00 marked this pull request as ready for review September 9, 2026 09:42
@Optic00

Optic00 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Yes, ready for review from my side. The remaining diff is limited to clearing stale detail state after deletion and ignoring stale diagram failures. Both targeted browser scenarios pass, and all PR checks are green. The broader test migration stays in draft separately.

@stefan-ernst
stefan-ernst merged commit d72e8f9 into Windshiftapp:main Sep 9, 2026
24 checks passed
@stefan-ernst

Copy link
Copy Markdown
Contributor

great, thanks!

@Optic00
Optic00 deleted the codex/item-delete-feedback branch September 12, 2026 17:12
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