Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

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
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants