Skip to content

Delete a shop without restarting; show done notices through MessageBus - #94

Merged
dadachi merged 2 commits into
mainfrom
message-bus
Oct 25, 2026
Merged

dadachi merged 2 commits into
mainfrom
message-bus

Conversation

@dadachi

@dadachi dadachi commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Ported from NativeAppTemplate-Android #140 (template feedback 106; 109 is paid only).

  • Deleting a shop goes back to the shop list instead of restarting the app
  • Screens that close once done (shop / item tag created, item tag deleted) post the notice to MessageBus (common/, as iOS's) and close at once, instead of a dialog first; the app's snackbar shows it
  • The DataStore flag kept for the restarted app (is_shop_deleted) is removed; its proto field is reserved

Checks

  • New tests (MessageBus, the shop deleted notice, item tag create closes once) fail with the code broken
  • Local CI: spotlessCheck, :app:lintDebug, :app:minifyReleaseWithR8, test all pass (435 tests, 0 failures)
  • Emulator against a local API: creating a shop closes the screen with "Shop added."; deleting it goes back to the list with "Shop removed." without restarting (same PID)

🤖 Generated with Claude Code

https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi

dadachi and others added 2 commits October 25, 2026 11:27
Deleting a shop goes back to the shop list instead of restarting the
app. Screens that close once done post the notice to MessageBus, as iOS
does, and close at once; the app's snackbar shows it. The DataStore flag
kept for the restarted app is removed and its proto field reserved.

Ported from NativeAppTemplate-Android #140.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018iXcEetCio5kwB6Fhf2EJi
@dadachi
dadachi merged commit 010275e into main Oct 25, 2026
1 check passed
@dadachi
dadachi deleted the message-bus branch October 29, 2026 07:57
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.

1 participant