Repository navigation
fix: handle back/dismiss on edit mode - #287
Conversation
- Remove `TransactionEditTopBar` and introduce a "Tap to exit" pill button in `TransactionEditScreen` layout - Reset editing transaction state on `HistoryScreen` disposal via `DisposableEffect` - Adjust toggle button sizing, padding, and corner radius in transaction edit views - Add `tap_to_exit_edit_transaction` string resource across all supported locales - Update E2E UI test assertions to verify the new exit button label instead of top bar titles
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (21)
💤 Files with no reviewable changes (1)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe transaction edit screen replaces its top bar with a cancel pill labeled “Tap to exit,” and updates the layout of its toggles and date/time controls. Localized labels and E2E assertions are added. The history screen clears regular and recurrent edit state when it leaves composition. ChangesTransaction editing
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~12 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The exit control’s cancellation behavior is tested, and leaving History clears both edit selections. No concrete merge-blocking regression was identified; the change is mergeable with normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change stays within the existing transaction-edit flow. Closing History clears edit selections, and the new cancel control uses the existing callback rather than adding a storage or privileged operation. No introduced security concern was established, although runtime lifecycle behavior was not verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 6 files. (14 skipped: 14 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
This change updates transaction edit mode so users can exit it by tapping the edit-screen label. It also clears edit state when the history screen leaves composition.
Issue Linked
#285
Implemented
TransactionEditTopBar.tap_to_exit_edit_transactionstring resource to the listed locales.Working demo
No demo evidence was provided.
Testing
Notes
TransactionDateTimeRownow spaces its date and time controls by 4 dp.