8000 feat(ui): align experiments data table borders, typography, and links by liutj-tech · Pull Request #956 · google/xmc · GitHub
[go: up one dir, main page]

Skip to content

feat(ui): align experiments data table borders, typography, and links - #956

Merged
AntonTyb merged 4 commits into
mainfrom
feat/ui-style-5-experiments-table
Sep 23, 2026
Merged

AntonTyb merged 4 commits into
mainfrom
feat/ui-style-5-experiments-table

Conversation

@liutj-tech
Copy link
Copy Markdown
Collaborator

Summary

Adds 1px solid #dadce0 (8px radius) card framing to the Experiments Table and aligns 13px header/cell typography, #f8f9fa row hover highlight, and underlined #1a73e8 experiment title links with the prototype.

(Part 5 of 8 in the scoped UI Style Alignment series corresponding to Area #5 of the Style Inconsistency Table.)

Visual Comparison (Before vs. After)

Component-Level Diff (Area #5)

Component Before vs After

📸 Full-Page Context Screenshot (Production vs. Prototype)

Full Page Context

Motivation & Context

Brings Area #5 of cmd/ui/ into visual alignment with the Google Cloud / Material 3 prototype specification while keeping this Pull Request focused on a single cohesive component area (< 45 lines of diff).

Key Changes

  • cmd/ui/app/experiments_list_page/experiments_table/experiments_table.scss: Add border: 1px solid #dadce0 (border-radius: 8px, background-color: #ffffff) to .table-container, style th.mat-mdc-header-cell (13px, 600 weight, #dadce0 border) and td.mat-mdc-cell (13px, #f1f3f4 border), add #f8f9fa row hover, and underline .title-cell .cell-link (#1a73e8).

Assumptions

  • Preserving the "XManager" brand title/logo and fixed 200px non-expandable left sidenav was explicitly requested by the user — expandable drawer behavior and brand header text changes are deferred to a future change — zero impact on current routes or functionality.
  • Styling existing Angular Material components via SCSS overrides rather than replacing templates with custom HTML elements — preserves all existing Angular CDK test harnesses and production data streams.

Verification & Testing

  • Commands Executed:
    • ./tools/analyze_diff_size.py --base-ref origin/main... (well below 400-line threshold)
    • npm run format:check && npm run lint (Prettier & ESLint passed cleanly)
    • npm run build (Angular production bundle compiled cleanly)
    • npm test -- --watch=false --browsers=ChromeHeadlessNoSandbox (616 of 616 SUCCESS)

Related Issues / Bugs

N/A

TAG=agy
CONV=10ea5f21-5600-4e9d-91a0-f605c676b5bd

Add 1px solid #dadce0 (8px radius) card framing to the experiments table and align 13px header/cell typography, #f8f9fa row hover highlight, and underlined #1a73e8 title links.

TAG=agy
CONV=10ea5f21-5600-4e9d-91a0-f605c676b5bd
@gemini-code-assist gemini-code-assist Bot left a comment
Copy link
Copy Markdown

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 updates the styling of the experiments table, including container borders, header and cell padding, hover states, and link decorations. The feedback points out that hardcoded hex colors are used instead of standard Material Design CSS custom properties, which breaks themeability (such as dark mode support) for both the table elements and the cell links.

Comment link: #956 (comment)

TAG=agy
CONV=10ea5f21-5600-4e9d-91a0-f605c676b5bd
@liutj-tech
liutj-tech marked this pull request as ready for review September 22, 2026 21:56
@liutj-tech liutj-tech self-assigned this Sep 22, 2026
@liutj-tech
liutj-tech requested review from AntonTyb and removed request for andrzejfudro September 22, 2026 21:56
@AntonTyb
AntonTyb enabled auto-merge September 23, 2026 07:16
@AntonTyb
AntonTyb added this pull request to the merge queue Sep 23, 2026
Merged via the queue into main with commit 7a42e07 Sep 23, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0