alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
feat: make search available to all
author
Pouria Delfanazari
date
6 months ago
(Jan 27, 2026, 10:52 AM -0800)
commit
4d6b39ff
4d6b39ffb18813c6ac67f744454e9dd7973aeea8
parent
bda2b7d6
bda2b7d678a4f1106e29653dd9a7fbf366593df5
+15
-23
3 changed files
Expand all
Collapse all
Unified
Split
src
webapp
components
navigation
bottomBar
BottomBar.tsx
guestNavbar
GuestNavbar.tsx
navbar
Navbar.tsx
+2
-5
src/webapp/components/navigation/bottomBar/BottomBar.tsx
View file
Reviewed
···
7
7
import useMyProfile from '@/features/profile/lib/queries/useMyProfile';
8
8
import { RiNotification2Line } from 'react-icons/ri';
9
9
import useUnreadNotificationCount from '@/features/notifications/lib/queries/useUnreadNotificationCount';
10
10
-
import { useFeatureFlags } from '@/lib/clientFeatureFlags';
11
10
12
11
export default function BottomBar() {
13
12
const { data: profile } = useMyProfile();
14
13
const { data: notificationData } = useUnreadNotificationCount();
15
15
-
const { data: featureFlags } = useFeatureFlags();
16
14
17
15
return (
18
16
<AppShellFooter px={'sm'} pb={'lg'} py={'xs'} hiddenFrom="sm">
···
23
21
title="Explore"
24
22
icon={MdOutlineEmojiNature}
25
23
/>
26
26
-
{featureFlags?.cardSearch && (
27
27
-
<BottomBarItem href="/search" title="Search" icon={BiSearch} />
28
28
-
)}
24
24
+
25
25
+
<BottomBarItem href="/search" title="Search" icon={BiSearch} />
29
26
30
27
<BottomBarItem
31
28
href="/notifications"
+6
-9
src/webapp/components/navigation/guestNavbar/GuestNavbar.tsx
View file
Reviewed
···
17
17
import SembleLogo from '@/assets/semble-logo.svg';
18
18
import NavbarToggle from '../NavbarToggle';
19
19
import { BiRightArrowAlt, BiSearch } from 'react-icons/bi';
20
20
-
import { useFeatureFlags } from '@/lib/clientFeatureFlags';
21
20
22
21
export default function GuestNavbar() {
23
23
-
const { data: featureFlags } = useFeatureFlags();
24
22
return (
25
23
<AppShellNavbar p={'xs'} style={{ zIndex: 3 }}>
26
24
<Group justify="space-between">
···
61
59
label="Explore"
62
60
icon={<MdOutlineEmojiNature size={25} />}
63
61
/>
64
64
-
{featureFlags?.cardSearch && (
65
65
-
<NavItem
66
66
-
href="/search"
67
67
-
label="Search"
68
68
-
icon={<BiSearch size={25} />}
69
69
-
/>
70
70
-
)}
62
62
+
63
63
+
<NavItem
64
64
+
href="/search"
65
65
+
label="Search"
66
66
+
icon={<BiSearch size={25} />}
67
67
+
/>
71
68
</Stack>
72
69
</Stack>
73
70
</Stack>
+7
-9
src/webapp/components/navigation/navbar/Navbar.tsx
View file
Reviewed
···
30
30
import useMyProfile from '@/features/profile/lib/queries/useMyProfile';
31
31
import { track } from '@vercel/analytics';
32
32
import NotificationNavItem from '@/features/notifications/components/notificationNavItem/NotificationNavItem';
33
33
-
import { useFeatureFlags } from '@/lib/clientFeatureFlags';
34
33
35
34
export default function Navbar() {
36
35
const [openAddDrawer, setOpenAddDrawer] = useState(false);
37
36
const { data: profile } = useMyProfile();
38
38
-
const { data: featureFlags } = useFeatureFlags();
39
37
40
38
return (
41
39
<AppShellNavbar p={'xs'} style={{ zIndex: 3 }}>
···
64
62
label="Explore"
65
63
icon={<MdOutlineEmojiNature size={25} />}
66
64
/>
67
67
-
{featureFlags?.cardSearch && (
68
68
-
<NavItem
69
69
-
href="/search"
70
70
-
label="Search"
71
71
-
icon={<BiSearch size={25} />}
72
72
-
/>
73
73
-
)}
65
65
+
66
66
+
<NavItem
67
67
+
href="/search"
68
68
+
label="Search"
69
69
+
icon={<BiSearch size={25} />}
70
70
+
/>
71
71
+
74
72
<NotificationNavItem />
75
73
76
74
<NavItem