remove unused voice settings from navigation
This commit is contained in:
@@ -95,7 +95,6 @@ const pageOrder: SettingsPageSlug[] = [
|
||||
'usage',
|
||||
'skills.installed',
|
||||
'skills.catalog',
|
||||
'voice',
|
||||
];
|
||||
|
||||
function buildRuntimeContext(isDesktop: boolean): SettingsRuntimeContext {
|
||||
@@ -147,8 +146,6 @@ function getSettingsNavIcon(slug: SettingsPageSlug): React.ComponentType<{ class
|
||||
|
||||
case 'usage':
|
||||
return RiBarChart2Line;
|
||||
case 'voice':
|
||||
return RiMicLine;
|
||||
case 'home':
|
||||
return null;
|
||||
default:
|
||||
@@ -434,8 +431,7 @@ export const SettingsView: React.FC<SettingsViewProps> = ({ onClose, forceMobile
|
||||
case 'chat':
|
||||
case 'shortcuts':
|
||||
case 'sessions':
|
||||
case 'notifications':
|
||||
case 'voice': {
|
||||
case 'notifications': {
|
||||
const section = openChamberSectionBySlug[slug] ?? 'visual';
|
||||
return <OpenChamberPage section={section} />;
|
||||
}
|
||||
@@ -509,11 +505,6 @@ export const SettingsView: React.FC<SettingsViewProps> = ({ onClose, forceMobile
|
||||
)}
|
||||
>
|
||||
<span className="typography-ui-label font-normal truncate">{page.title}</span>
|
||||
{page.slug === 'voice' && (
|
||||
<span className="shrink-0 typography-micro px-1 rounded leading-none pb-px text-[var(--status-warning)] bg-[var(--status-warning)]/10">
|
||||
beta
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
</button>
|
||||
</TooltipTrigger>
|
||||
|
||||
Reference in New Issue
Block a user