Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[UI v2] feat: Adds deployment metadata #17023

Closed
wants to merge 1 commit into from

Conversation

devinvillarosa
Copy link
Contributor

@devinvillarosa devinvillarosa commented Feb 6, 2025

Adds deployment metadata

Screenshot 2025-02-06 at 2 04 28 PM

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

Relates to #15512

@github-actions github-actions bot added the ui-replatform Related to the React UI rewrite label Feb 6, 2025
@devinvillarosa devinvillarosa marked this pull request as ready for review February 6, 2025 22:04
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing this key name

key: "Infrastructure Document ID",
value: deployment.infrastructure_document_id,
},
] as const;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious if this is needed for some reason? usually only needed for types but key: string is probably all we need here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually just add it so that the TS compiler knows the set size of the array.
But IMO this isn't really needed for this case. Just from habit

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIL
image

@devinvillarosa
Copy link
Contributor Author

Going to close this PR. Decided to join the data together for the side details

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ui-replatform Related to the React UI rewrite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants