bot-url: Add event filtering UI to generate bot URL modal.

Adds an option to the generate bot URL modal to filter for events
that will trigger notifications. This option is conditionally
displayed when only `all_event_types` is defined for the selected
integration.

If selected, the URL will display all events by default. There
are "check all" and "uncheck all" buttons to easily include or
remove all the events from the URL.

Fixes #27628.
This commit is contained in:
sujal
2023-12-19 22:53:17 +05:30
committed by Tim Abbott
parent a61c06c425
commit fbcf31c9e0
4 changed files with 129 additions and 2 deletions

View File

@@ -482,3 +482,23 @@
border: 1px solid var(--color-hotkey-hint);
}
}
#generate-integration-url-modal {
#integrations-event-container {
.integration-all-events-buttons {
display: flex;
gap: 10px;
margin: 5px 0 10px;
}
#integrations-event-options {
.integration-event-wrapper {
margin: 5px 0;
}
.integration-event-name {
word-break: break-all;
}
}
}
}