Skip to content

Conversation

johnsimons
Copy link
Member

Fixes #2424

@johnsimons johnsimons requested review from jpalac and abparticular May 21, 2025 03:01
@johnsimons johnsimons self-assigned this May 21, 2025
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a clean-up.
We used to have two edit and retry dialogs, but in reality only EditRetryDialog2.vue was being used, so all i have done is to rename EditRetryDialog2.vue -> EditRetryDialog.vue.

The reason we had 2 dialogs was when we had a feature flag, and we forogt to do this clean-up as part of removing the feature flag.

isConfirmDialogVisible.value = false;
const message = `Retrying the edited message ${state.value.data.id} ...`;
await showToastAfterOperation(store.retryMessage, TYPE.INFO, "Info", message);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix, we no longer call store.retryMessage from here given that is already called in the dialog itself.

@jpalac
Copy link
Contributor

jpalac commented May 21, 2025

@johnsimons I have verified that the specific issue that was reported is not longer happening on this branch.
However since there is all this other code cleanup/changes in there for which I have no context, I'd feel more comfortable if someone else in your task force reviewed that bit.

@johnsimons
Copy link
Member Author

@jpalac I rolled back those cleanups

@johnsimons johnsimons added this to the 2.0.1 milestone May 21, 2025
@johnsimons johnsimons merged commit 0db9565 into master May 21, 2025
5 checks passed
@johnsimons johnsimons deleted the john/retry-fix branch May 21, 2025 04:53
@johnsimons johnsimons removed this from the 2.0.1 milestone May 21, 2025
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.

Edit & Retry sends both edited and unedited copies of the errored message
2 participants