-
Notifications
You must be signed in to change notification settings - Fork 392
upcoming: [M3-9530] - Display interface type first in Linode Network IP Addresses table #11865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
72173ac
update ordering for IP table
coliu-akamai 7ac594f
update todo comment
coliu-akamai 80d1828
update aria label/id
coliu-akamai 1a10c2c
update logic to make sortable
coliu-akamai 9e842eb
Added changeset: Display interface type first in Linode Network IP Adβ¦
coliu-akamai c83dbd9
fix cypress
coliu-akamai 73a3b9a
Merge branch 'develop' into m3-9530
coliu-akamai 3cbef2d
Merge branch 'develop' into m3-9530
coliu-akamai 81e4439
address feedback pt1
coliu-akamai 9513b95
add preference key for IP table
coliu-akamai 4779231
maybe this?
coliu-akamai fe1f0a3
or maybe this...
coliu-akamai 71064a4
remove function map
coliu-akamai 1128dda
add back in comment
coliu-akamai b32d897
argh
coliu-akamai ec2c254
Merge branch 'develop' into m3-9530
coliu-akamai bad89bc
lots of cleanup :))
coliu-akamai 07623e2
change slaac for now
coliu-akamai c25237e
Merge branch 'develop' into m3-9530
coliu-akamai aacfedb
fix tests
coliu-akamai 2696523
update changeset
coliu-akamai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
packages/manager/src/features/Linodes/LinodesDetail/LinodeNetworking/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import type { IPTypes } from './types'; | ||
|
|
||
| // @TODO Linode Interfaces: when the Linode Interfaces feature flag is no longer needed, | ||
| // we can instead directly update IPTypes and relevant logic | ||
| export const ipTypeToText: Record<IPTypes, string> = { | ||
| 'IPv4 β Private': 'Private β IPv4', | ||
| 'IPv4 β Public': 'Public β IPv4', | ||
| 'IPv4 β Reserved (private)': 'Reserved IPv4 (private)', | ||
| 'IPv4 β Reserved (public)': 'Reserved IPv4 (public)', | ||
| 'IPv4 β Shared': 'Shared β IPv4', | ||
| 'IPv4 β VPC': 'VPC β IPv4', | ||
| 'IPv4 β VPC β Range': 'VPC β Range β IPv4', | ||
| 'IPv6 β Link Local': 'Link Local β IPv6', | ||
| 'IPv6 β Range': 'Range β IPv6', | ||
| 'IPv6 β SLAAC': 'Public - SLAAC β IPv6', | ||
| 'VPC IPv4 β NAT': 'VPC NAT β IPv4', | ||
| }; | ||
coliu-akamai marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UI mockups example:

(I've been trying to familiarize myself more with IPs/networking stuff, but there's still a lot I don't know - hopefully these are accurate!). For the UI, reading through IPs/networking stuff online and the API spec:
false, so I haven't included 'Public' like in the UI mockup heretrue, and the SLAAC address I receive when fetching IPs matches the SLAAC address in the public Linode Interface