We want to prevent a user from losing edited changes when entering edit mode for another message. Added displaying confirmation alert. For now, it doesn't check if there are some changes, which can be added later.
Details
Details
Turned on the app on iOS. Entered edit mode. Checked if the edit button doesn't show anymore for the currently edited message. Tried to edit another message. The confirmation alert appeared.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
I think it would be better to indeed check if there are any changes, for consistency with exiting edit mode in other ways (D7349).
Can you either
- do it in this diff
- do it in another diff
- create a task to do it
?
Comment Actions
I created a task for it (https://linear.app/comm/issue/ENG-3724/[native]-check-if-there-are-any-changes-while-changing-edited-message) because it requires accessing the state of the ChatInputBar, which is not straightforward, and I have to focus on the web version.