mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix: rename to Experiments, add body title, fix formatting
- Rename sidebar label from 'Experimental' to 'Experiments' - Add h2 title in main body to match other settings panels - Fix biome formatting: collapse FeatureGate JSX, expand sections array Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
@@ -145,9 +145,7 @@ export function ChannelMembersBar({
|
||||
{memberCount}
|
||||
</span>
|
||||
</DropdownMenuItem>
|
||||
<FeatureGate feature="huddles">
|
||||
{huddleIndicator}
|
||||
</FeatureGate>
|
||||
<FeatureGate feature="huddles">{huddleIndicator}</FeatureGate>
|
||||
<DropdownMenuItem
|
||||
data-testid="channel-management-trigger"
|
||||
onSelect={onManageChannel}
|
||||
@@ -188,9 +186,7 @@ export function ChannelMembersBar({
|
||||
</span>
|
||||
</Button>
|
||||
|
||||
<FeatureGate feature="huddles">
|
||||
{huddleIndicator}
|
||||
</FeatureGate>
|
||||
<FeatureGate feature="huddles">{huddleIndicator}</FeatureGate>
|
||||
|
||||
<Button
|
||||
aria-label="Manage channel"
|
||||
|
||||
@@ -29,8 +29,9 @@ export function ExperimentalFeaturesCard() {
|
||||
|
||||
return (
|
||||
<section className="min-w-0" data-testid="settings-experimental">
|
||||
<div className="mb-3 min-w-0">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
<div className="mb-12 min-w-0">
|
||||
<h2 className="text-2xl font-semibold tracking-tight">Experiments</h2>
|
||||
<p className="text-base font-normal text-muted-foreground">
|
||||
These features are functional but still being refined. Enable them to
|
||||
try new capabilities early.
|
||||
</p>
|
||||
|
||||
@@ -100,7 +100,7 @@ export const settingsSections: SettingsSectionDescriptor[] = [
|
||||
},
|
||||
{
|
||||
value: "experimental",
|
||||
label: "Experimental",
|
||||
label: "Experiments",
|
||||
icon: FlaskConical,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -62,7 +62,14 @@ const settingsNavGroups: Array<{
|
||||
},
|
||||
{
|
||||
label: "App",
|
||||
sections: ["agents", "compute", "experimental", "mobile", "updates", "doctor"],
|
||||
sections: [
|
||||
"agents",
|
||||
"compute",
|
||||
"experimental",
|
||||
"mobile",
|
||||
"updates",
|
||||
"doctor",
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user