channel-folders: Add UI to create new channel folder.

This commit adds a button besides the folder dropdowin in
stream settings UI which can be used to create a new folder.
This commit is contained in:
Sahil Batra
2025-05-29 18:22:10 +05:30
committed by Tim Abbott
parent 7c01e61e5a
commit 32287a084b
10 changed files with 143 additions and 1 deletions

View File

@@ -137,6 +137,20 @@ exports.fixtures = {
upload_space_used: 90000,
},
channel_folder__add: {
type: "channel_folder",
op: "add",
channel_folder: {
id: 1,
name: "Frontend",
description: "Channels for frontend discussions",
rendered_description: "<p>Channels for frontend discussions</p>",
date_created: 1681662420,
creator_id: 10,
is_archived: false,
},
},
channel_typing_edit_message__start: {
type: "typing_edit_message",
op: "start",