streams-ui: Add UI to update and archive channel folders.

This commit adds edit and delete buttons in the dropdown
list for folder.

Fixes #35498.
This commit is contained in:
Sahil Batra
2025-07-29 17:16:58 +05:30
committed by Tim Abbott
parent da53d5b978
commit 524442bf44
8 changed files with 217 additions and 2 deletions

View File

@@ -780,6 +780,26 @@ export function initialize(): void {
},
});
tippy.delegate("body", {
target: ".folder_id-dropdown-list-container .dropdown-list-delete, .new_channel_folder_id-dropdown-list-container .dropdown-list-delete",
content: $t({defaultMessage: "Delete folder"}),
delay: LONG_HOVER_DELAY,
appendTo: () => document.body,
onHidden(instance) {
instance.destroy();
},
});
tippy.delegate("body", {
target: ".folder_id-dropdown-list-container .dropdown-list-edit, .new_channel_folder_id-dropdown-list-container .dropdown-list-edit",
content: $t({defaultMessage: "Edit folder"}),
delay: LONG_HOVER_DELAY,
appendTo: () => document.body,
onHidden(instance) {
instance.destroy();
},
});
tippy.delegate("body", {
target: ".generate-channel-email-button-container.disabled_setting_tooltip",
onShow(instance) {