feat: replace sidebar tabs with a single collapsible list

This commit is contained in:
2026-10-04 16:19:37 +07:00
parent 2fc1358530
commit acb07126c9
4 changed files with 239 additions and 233 deletions
+3
View File
@@ -10,6 +10,7 @@ use crate::avatar::Avatar;
use crate::button::Button;
use crate::menu::PopupMenu;
use crate::nav::Nav;
use crate::nav_item::NavItem;
use crate::popover::{Popover, PopoverState};
/// Builds the items of a popup menu on each render.
@@ -44,6 +45,8 @@ impl DropdownMenu for Avatar {}
impl DropdownMenu for Nav {}
impl DropdownMenu for NavItem {}
#[derive(IntoElement)]
pub struct DropdownMenuPopover<T: Selectable + IntoElement + 'static> {
id: ElementId,