mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user