fix(frontend): align log region column and disable selection on metadata#5105
Conversation
PR #5105 Review: fix(frontend): align log region column and disable selection on metadataStatus: MERGED | +35 / -6 | 2 files changed OverviewThis PR fixes two UX issues in the deployment logs view:
Code QualityPositive aspects:
Concerns1. Possible // logs.tsx
const regionLabelLength = datacenters.reduce(
(max, dc) => Math.max(max, dc.name.length),
0,
);If const regionLabelLength = (datacenters ?? []).reduce(
(max, dc) => Math.max(max, dc.name.length),
0,
);2. Minor: comment typo // Width all region labels to the longest datacenter name so messages line up.Should be "Widen" not "Width". 3. Minor: "16ch" magic string duplicated The fallback SummaryThe core logic is correct and the fix is minimal and focused. The main risk is the potential |
38ae0e4 to
b1f1d5c
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: