Skip to content

Commit 6c7170f

Browse files
committed
feat: remove Service Status from avatar dropdown
- Removed Service Status menu item as it's being deprecated - Cleaned up unused BetaLabel component - Maintains clean dropdown structure with remaining items - Prepares for upcoming Service Status removal in separate PR
1 parent 177bcfb commit 6c7170f

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

app/components/@settings/core/AvatarDropdown.tsx

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ import { classNames } from '~/utils/classNames';
55
import { profileStore } from '~/lib/stores/profile';
66
import type { TabType, Profile } from './types';
77

8-
const BetaLabel = () => (
9-
<span className="px-1.5 py-0.5 rounded-full bg-purple-500/10 dark:bg-purple-500/20 text-[10px] font-medium text-purple-600 dark:text-purple-400 ml-2">
10-
BETA
11-
</span>
12-
);
138

149
interface AvatarDropdownProps {
1510
onSelectTab: (tab: TabType) => void;
@@ -117,22 +112,6 @@ export const AvatarDropdown = ({ onSelectTab }: AvatarDropdownProps) => {
117112
</DropdownMenu.Item>
118113

119114
<div className="my-1 border-t border-gray-200/50 dark:border-gray-800/50" />
120-
<DropdownMenu.Item
121-
className={classNames(
122-
'flex items-center gap-2 px-4 py-2.5',
123-
'text-sm text-gray-700 dark:text-gray-200',
124-
'hover:bg-purple-50 dark:hover:bg-purple-500/10',
125-
'hover:text-purple-500 dark:hover:text-purple-400',
126-
'cursor-pointer transition-all duration-200',
127-
'outline-none',
128-
'group',
129-
)}
130-
onClick={() => onSelectTab('service-status')}
131-
>
132-
<div className="i-ph:heartbeat w-4 h-4 text-gray-400 group-hover:text-purple-500 dark:group-hover:text-purple-400 transition-colors" />
133-
Service Status
134-
<BetaLabel />
135-
</DropdownMenu.Item>
136115

137116
<DropdownMenu.Item
138117
className={classNames(
@@ -162,9 +141,7 @@ export const AvatarDropdown = ({ onSelectTab }: AvatarDropdownProps) => {
162141
'outline-none',
163142
'group',
164143
)}
165-
onClick={() =>
166-
window.open('https://stackblitz-labs.github.io/bolt.diy/', '_blank')
167-
}
144+
onClick={() => window.open('https://stackblitz-labs.github.io/bolt.diy/', '_blank')}
168145
>
169146
<div className="i-ph:question w-4 h-4 text-gray-400 group-hover:text-purple-500 dark:group-hover:text-purple-400 transition-colors" />
170147
Help & Documentation

0 commit comments

Comments
 (0)