Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: use 'send_success_modal' pattern on case escalation, resolve early close exception #4861

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

wssheldon
Copy link
Contributor

If a user closes the modal early, which they usually do, an exception is raised because Slack loses track of the corresponding view_id. Here, we send the initial modal immediately to confirm an action has occurred and use the send_success_modal to send the final modal (which handles this exception gracefully).

@wssheldon wssheldon added the bug Something isn't working label Jun 21, 2024
@wssheldon wssheldon self-assigned this Jun 21, 2024
@wssheldon wssheldon merged commit ff396c8 into master Jun 21, 2024
9 checks passed
@wssheldon wssheldon deleted the slack/modals branch June 21, 2024 17:58
metroid-samus pushed a commit that referenced this pull request Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants