feat: category management UI — create modal and delete context menu
Add CreateCategory modal (replaces browser prompt) and right-click "Delete Category" context menu on category headers with confirmation dialog explaining channels will be uncategorized, not deleted.
This commit is contained in:
@@ -9,6 +9,7 @@ import { ImagePreview } from '../chat/ImagePreview';
|
||||
import { CreateSpaceModal } from '../modals/CreateSpace';
|
||||
import { JoinSpaceModal } from '../modals/JoinSpace';
|
||||
import { CreateChannelModal } from '../modals/CreateChannel';
|
||||
import { CreateCategoryModal } from '../modals/CreateCategory';
|
||||
import { InviteModal } from '../modals/InviteModal';
|
||||
import { UserSettingsModal } from '../modals/UserSettings';
|
||||
import { SpaceSettingsModal } from '../modals/SpaceSettings';
|
||||
@@ -271,6 +272,7 @@ export function AppLayout() {
|
||||
<CreateSpaceModal />
|
||||
<JoinSpaceModal />
|
||||
<CreateChannelModal />
|
||||
<CreateCategoryModal />
|
||||
<InviteModal />
|
||||
<UserSettingsModal />
|
||||
<SpaceSettingsModal />
|
||||
|
||||
Reference in New Issue
Block a user