Skip to content

Commit

Permalink
upcoming: [M3-7606] VM Placement feature flag (#10060)
Browse files Browse the repository at this point in the history
* Add flag tools for VM placement

* Added changeset: VM Placement feature flag
  • Loading branch information
abailly-akamai authored Jan 11, 2024
1 parent aa8351f commit 240b7a6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

VM Placement feature flag ([#10060](https://github.com/linode/manager/pull/10060))
2 changes: 1 addition & 1 deletion packages/manager/src/dev-tools/EnvironmentToggleTool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const EnvironmentToggleTool = () => {
setSelectedOption(Math.max(selectedIndex, 0));
}}
defaultValue={currentEnvLabel}
style={{ marginRight: 8 }}
style={{ marginRight: 8, maxWidth: '100%' }}
>
<option disabled value="">
Select an environment
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/dev-tools/FeatureFlagTool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const options: { flag: keyof Flags; label: string }[] = [
{ flag: 'firewallNodebalancer', label: 'Firewall NodeBalancer' },
{ flag: 'recharts', label: 'Recharts' },
{ flag: 'objMultiCluster', label: 'OBJ Multi-Cluster' },
{ flag: 'vmPlacement', label: 'VM Placement' },
];

export const FeatureFlagTool = withFeatureFlagProvider(() => {
Expand Down
3 changes: 2 additions & 1 deletion packages/manager/src/dev-tools/dev-tools.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
width: 60px;
transition: all 0.3s;
z-index: 1;
overflow: auto;
}

#dev-tools:hover {
height: 300px;
height: 325px;
width: 100%;
opacity: 0.9;
}
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export interface Flags {
taxes: Taxes;
tpaProviders: Provider[];
unifiedMigrations: boolean;
vmPlacement: boolean;
vpc: boolean;
}

Expand Down

0 comments on commit 240b7a6

Please sign in to comment.