Skip to content

Define timeline style related variables from the previous enum packages#685

Merged
kyasbal merged 1 commit into
GoogleCloudPlatform:epic/file-schema-v6from
kyasbal:push-nzpzrploywky
May 22, 2026
Merged

Define timeline style related variables from the previous enum packages#685
kyasbal merged 1 commit into
GoogleCloudPlatform:epic/file-schema-v6from
kyasbal:push-nzpzrploywky

Conversation

@kyasbal

@kyasbal kyasbal commented May 22, 2026

Copy link
Copy Markdown
Member

This PR adds Verb, RevisionState, Severities and LogTypes defined in task packages. This will replace the pkg/model/enum packages used previously.
We may need to review these strings later after fitting them into UI. For now, this PR is just creating these variables defined in the new file schema way.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several new contract files across various inspection packages to register log types and severities for the timeline. The review feedback highlights that the use of style.MustForceConvertSRGBHex is deprecated due to incorrect color space mapping. It is recommended to replace these calls with direct style.Color struct definitions using display-p3 values to ensure accurate color rendering and adhere to the project's preference for local, simple definitions.

Comment thread pkg/task/inspection/commonlogk8saudit/contract/log_type.go
Comment thread pkg/task/inspection/inspectioncore/contract/severity.go
@kyasbal kyasbal force-pushed the push-nzpzrploywky branch 2 times, most recently from adbed47 to bc90ee1 Compare May 22, 2026 01:11
@kyasbal kyasbal changed the title Define log type and severity timeline style variables Define timeline style related variables from the previous enum packages May 22, 2026
@kyasbal kyasbal force-pushed the push-nzpzrploywky branch from bc90ee1 to 2d0c841 Compare May 22, 2026 01:15
@kyasbal kyasbal marked this pull request as ready for review May 22, 2026 01:18
@kyasbal kyasbal merged commit 64b15f4 into GoogleCloudPlatform:epic/file-schema-v6 May 22, 2026
9 of 10 checks passed
@kyasbal kyasbal deleted the push-nzpzrploywky branch May 22, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants