feat: new search experience (#58)

Reviewed-on: #58
This commit was merged in pull request #58.
This commit is contained in:
2026-10-06 03:00:21 +00:00
parent 2a404591d8
commit 2bce050c3b
21 changed files with 2134 additions and 1295 deletions
+2
View File
@@ -56,6 +56,7 @@ pub enum IconName {
Message,
Moon,
Plus,
PlusChat,
PlusCircle,
Profile,
Reset,
@@ -139,6 +140,7 @@ impl IconNamed for IconName {
Self::Message => "icons/message.svg",
Self::Moon => "icons/moon.svg",
Self::Plus => "icons/plus.svg",
Self::PlusChat => "icons/plus-chat.svg",
Self::PlusCircle => "icons/plus-circle.svg",
Self::Profile => "icons/profile.svg",
Self::Reset => "icons/reset.svg",
+3 -3
View File
@@ -990,7 +990,7 @@ impl PopupMenu {
let this = MenuItemElement::new(ix, &group_name)
.relative()
.text_sm()
.text_xs()
.py_0()
.px(INNER_PADDING)
.rounded(radius)
@@ -1063,7 +1063,7 @@ impl PopupMenu {
})
.disabled(*disabled)
.h(item_height)
.gap_x_1()
.gap_x_1p5()
.children(Self::render_icon(
has_left_icon,
is_left_check,
@@ -1110,7 +1110,7 @@ impl PopupMenu {
.min_h(item_height)
.size_full()
.items_center()
.gap_x_1()
.gap_x_1p5()
.children(Self::render_icon(
has_left_icon,
false,
+1 -1
View File
@@ -105,7 +105,7 @@ impl RenderOnce for Nav {
fn render(self, _window: &mut Window, cx: &mut App) -> impl IntoElement {
let clickable = self.on_click.is_some() || self.clickable;
v_flex().w_full().h_10().child(
v_flex().h_10().w_full().items_center().child(
h_flex()
.id(self.id)
.h_9()