Skip to content

Commit 02e82e6

Browse files
upcoming: [UIE-9511, UIE-9513, UIE-9632] - Add and Integrate Prefix List Details Drawer (#13146)
* Add and integrate PL details drawer * Update comment * Update some old references * Added changeset: Add and Integrate Prefix List Details Drawer * Added changeset: Add `deleted` property to `FirewallPrefixList` type after API update * Some refactor and clean up * Some refactor and update button text from cancel to close * Rename the 'reference' to 'context' prop for clarity and update all related instances
1 parent 545e476 commit 02e82e6

18 files changed

+980
-45
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/api-v4": Upcoming Features
3+
---
4+
5+
Add `deleted` property to `FirewallPrefixList` type after API update ([#13146](https://github.com/linode/manager/pull/13146))

packages/api-v4/src/firewalls/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export type FirewallPrefixListVisibility = 'private' | 'public' | 'restricted';
134134

135135
export interface FirewallPrefixList {
136136
created: string;
137+
deleted: null | string;
137138
description: string;
138139
id: number;
139140
ipv4?: null | string[];
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Upcoming Features
3+
---
4+
5+
Add and Integrate Prefix List Details Drawer ([#13146](https://github.com/linode/manager/pull/13146))
Lines changed: 3 additions & 0 deletions
Loading

packages/manager/src/factories/firewalls.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ export const firewallRuleSetFactory = Factory.Sync.makeFactory<FirewallRuleSet>(
107107
created: '2025-11-05T00:00:00',
108108
deleted: null,
109109
description: Factory.each((i) => `firewall-ruleset-${i} description`),
110-
label: Factory.each((i) => `firewall-ruleset-${i}`),
111-
is_service_defined: false,
112110
id: Factory.each((i) => i),
113-
type: 'inbound',
111+
is_service_defined: false,
112+
label: Factory.each((i) => `firewall-ruleset-${i}`),
114113
rules: firewallRuleFactory.buildList(3),
114+
type: 'inbound',
115115
updated: '2025-11-05T00:00:00',
116116
version: 1,
117117
}
@@ -120,16 +120,17 @@ export const firewallRuleSetFactory = Factory.Sync.makeFactory<FirewallRuleSet>(
120120
export const firewallPrefixListFactory =
121121
Factory.Sync.makeFactory<FirewallPrefixList>({
122122
created: '2025-11-05T00:00:00',
123-
updated: '2025-11-05T00:00:00',
123+
deleted: null,
124124
description: Factory.each((i) => `firewall-prefixlist-${i} description`),
125125
id: Factory.each((i) => i),
126-
name: Factory.each((i) => `pl:system:resolvers:test-${i}`),
127-
version: 1,
128-
visibility: 'public',
129126
ipv4: Factory.each((i) =>
130127
Array.from({ length: 5 }, (_, j) => `139.144.${i}.${j}`)
131128
),
132129
ipv6: Factory.each((i) =>
133130
Array.from({ length: 5 }, (_, j) => `2600:3c05:e001:bc::${i}${j}`)
134131
),
132+
name: Factory.each((i) => `pl:system:resolvers:test-${i}`),
133+
updated: '2025-11-05T00:00:00',
134+
version: 1,
135+
visibility: 'public',
135136
});

0 commit comments

Comments
 (0)