Skip to content

Improve docs from user feedback: clarify run color settings navigation#2934

Open
mintlify[bot] wants to merge 7 commits into
mainfrom
mintlify/c7f6bef2
Open

Improve docs from user feedback: clarify run color settings navigation#2934
mintlify[bot] wants to merge 7 commits into
mainfrom
mintlify/c7f6bef2

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Add explicit navigation context to the screenshots on the semantic run plot legends page so readers can locate the settings shown.

Changes

  • Explain that the first example plot shows the workspace result after configuring key-based colors, and identify the Key and Y value used.
  • Add step-by-step navigation to reach the Buckets section in the workspace Runs settings drawer before showing the buckets screenshot.
  • Clarify that the second screenshot shows a workspace line plot recolored by the bucket configuration, and update the alt text on both bucket images to describe what's on screen.

Feedback basis

Contextual feedback on /models/runs/color-code-runs reported that it was unclear where the screenshots come from or how to reach the pictured UI. The screenshots for the buckets section in particular lacked navigation steps, unlike the "Turn on key-based colors" section higher on the page.

@mintlify
mintlify Bot requested a review from a team as a code owner July 20, 2026 13:08
@mintlify

mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
wandb 🟢 Ready View Preview Jul 20, 2026, 1:13 PM

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

📚 Mintlify Preview Links

🔗 View Full Preview

📝 Changed (1 total)

📄 Pages (1)

File Preview
models/runs/color-code-runs.mdx Color Code Runs

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: 3b32ceb at 2026-07-24 22:11:28 UTC

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

🔗 Link Checker Results

⚠️ Some issues were detected

Preview: https://wb-21fd5541-mintlify-c7f6bef2.mintlify.site

Full Github Actions output

@mintlify

mintlify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
wandb 🟡 Building Jul 20, 2026, 1:08 PM

@johndmulhausen

johndmulhausen commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

📋 Validation of technical assertions

Every claim below was checked against the truth on the ground using Glean (Slack, Jira, Confluence, GitHub) and Sourcegraph (the implementing code in wandb/core), then put through an adversarial verification pass.

10 assertions · ✅ 6 confirmed · ✅ 2 confirmed (qualified) · 🟡 2 partial · ⚠️ 0 reframed · ⛔ 0 could not validate · ❌ 0 refuted.

No claim was refuted — every UI label in the new navigation matches the frontend code. Two navigation details did not fully survive: (a) reaching the Run colors controls may require selecting a Colors tab that the steps omit (#5), and (b) the Buckets section only renders after you select a Key, and is hidden entirely while run grouping is active — so a reader following the steps literally may see no Buckets section (#6; this matches a reviewer's report). Two claims are confirmed with a scope qualifier.

# Assertion in the docs Verdict Evidence (truth on the ground) Source
1 Line plots live in a Workspace tab you select on the project page · color-code-runs.mdx:30,104 ✅ Confirmed Nav helper visits the workspace page; the "Turn on key-based colors" steps already use "select the Workspace tab"; internal ref: "workspace Settings → Runs" core:RUNS_TABLE.md#L361
2 Click the Settings icon in the top-right corner to open the settings drawer · color-code-runs.mdx:105 ✅ Confirmed Sibling doc: "the workspace settings icon, which has a gear with the label Settings"; openWorkspaceSettings is the drawer entry point docs:line-plot.mdx#L129
3 The settings drawer has a Runs menu item · color-code-runs.mdx:106 ✅ Confirmed selectRunsMenuItem clicks [data-test="workspace-semantic-legend-menu-item"]; internal ref "Settings → Runs" core:utils.ts#L114
4 A Run colors section offers Key-based colors · color-code-runs.mdx:107 ✅ Confirmed <SettingLabel text="Run colors" /> / aria-label="Run colors" and the radio <span>Key-based colors</span> (id="key-based-colors") core:SemanticLegendRunColorOptions.tsx#L100
5 You reach Run colors directly after selecting Runs (no intermediate tab) · color-code-runs.mdx:106-107 🟡 Partially confirmed The e2e path selects Runs, then a separate selectTab('Colors') (getByRole('tab', {name:'Colors'})) before clicking Key-based colors — so a Colors tab sits in between. Whether it's the default tab (no click needed) is not verifiable from code. See Open items. core:semantic_legends/utils.ts#L127
6 A Buckets section appears below the Key and Y value dropdowns · color-code-runs.mdx:107 🟡 Partially confirmed The Buckets label is real (<SettingLabel text="Buckets" />) and does render below Key/Y value. But it's conditionally shown: the Y value dropdown, the Number of buckets input, and the Buckets section only render once you select a Key (the dropdown defaults to 'default'; guard is key !== DEFAULT…key), and the whole feature is disabled while run grouping is active ("Key-based colors are currently disabled because run grouping is active"). The steps omit this precondition, so a reader who hasn't selected a Key (or has grouping on) sees no Buckets section. See Open items. core:SemanticLegendBuckets…tsx#L102; core:SemanticLegendColorTab…tsx#L97
7 Y value options include Latest and Max · color-code-runs.mdx:30,118 ✅ Confirmed Internal ref: "Y value (Latest/Max/Min)"; matches the doc's own Latest/Max/Min list core:RUNS_TABLE.md#L362
8 Key can be set to a logged metric (e.g. loss, Accuracy/acc) · color-code-runs.mdx:30,117 ✅ Confirmed "Select a metric/parameter key"; the Key dropdown is populated from logged metrics + config keys (useWorkspaceMetricOptions / useWorkspaceConfigKeyOptions) core:SemanticLegendKey…tsx#L35
9 After configuring key-based colors and closing the drawer, workspace line plots update to the new/bucket colors · color-code-runs.mdx:30,102,131 ✅ Confirmed (qualified) Recoloring by bucket is real: colors.ts maps a run's metric value → bucket → buckets[bucketIndex].color. Qualifier: settings apply to the workspace view; recoloring isn't gated specifically on closing the drawer. core:colors.ts#L662
10 Gradient direction: deeper color = higher value, lighter = lower · color-code-runs.mdx:30 ✅ Confirmed (qualified) Bucket→palette coloring is real (colors.ts). Qualifier: this describes the example screenshot's palette ordering, not a guaranteed invariant across palettes. core:colors.ts#L662

Open items — recommended next steps

  • Added photos to GitHub repo #5 — the Colors tab between Runs and Run colors: quick UI check — open a project workspace → SettingsRuns and observe whether the Run colors / Key-based colors controls are visible immediately, or whether you must first select a Colors tab. If a click is required, add a step ("Select the Colors tab") to both this Customize buckets navigation and the existing Turn on key-based colors section (which has the same 4-step nav). If Colors is the default tab, no change is needed. SME fallback: @ngrayluna (docs) or the semanticLegend frontend owner in wandb/core.
  • Revert "Added photos to GitHub repo" #6 — the Buckets section is gated (a reviewer reported not seeing it): the Y value, Number of buckets, and Buckets controls only appear after you select a Key, and the whole feature is hidden while run grouping is active. Fix: in the Customize buckets steps, add "Select a metric or config key from the Key dropdown" before referencing the Buckets section, and note that key-based colors requires run grouping to be off. (Note: the UI also has a separate "Number of buckets" stepper distinct from the "Buckets" ranges section.)

Scope notes

  • The Key values loss and Accuracy/acc are illustrative (any logged metric is selectable), so they're confirmed as valid examples rather than fixed enum values.
  • Bucket ranges/values and the "Six buckets" example are pre-existing unchanged content and were not re-verified (out of diff scope).

🤖 Generated by the CoreWeave Docs Team's Validator (beta-validator v1.0.0). Sources are linked inline; this is an accuracy aid, not a substitute for SME review.

Comment thread models/runs/color-code-runs.mdx Outdated
Consider the following:
1. Navigate to your W&B project and select the **Workspace** tab.
2. Click the **Settings** icon in the top right corner.
3. In the drawer, select **Runs**.

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.

🟡 Partially confirmed — the navigation labels here all match the app (Runs, Run colors, Key-based colors are the real UI strings). But in the frontend the Run colors controls sit under a Colors tab within the Runs settings panel: the e2e test selects the Runs menu item and then selects a separate Colors tab (getByRole('tab', {name:'Colors'})) before it can click Key-based colors. So a reader may need to select a Colors tab between step 3 (Runs) and step 4 (Run colors section).

Recommended: open a project workspace → SettingsRuns and check whether Run colors / Key-based colors shows immediately or only after selecting a Colors tab. If a click is required, add a "Select the Colors tab" step here and in the Turn on key-based colors section above (same 4-step nav). If Colors is the default tab, no change is needed.

Source: core:semantic_legends/utils.ts#L127-L131

🤖 CoreWeave Docs Team's Validator — partially confirmed

Style-only pass (Google Developer Style Guide + wandb/docs conventions)
over models/runs/color-code-runs.mdx. No UI labels, navigation steps,
code, links, anchors, frontmatter, or MDX components were changed.

Per-pass summary:
- Context/Structure: no changes; purpose, signposting, and outcomes
  already present. Structural gaps flagged for review (see below)
  rather than restructuring unchanged sections.
- Language: contracted "is not" to "isn't" in the Note; split a 36-word
  run-on in the loss-metric example into two sentences for readability.
- Terminology: "Click on" to "Click"; directional "settings above" to
  "previous settings" and "line plot below" to "following line plot".
- Considerate: no changes needed.
- Formatting: no changes needed (no em dashes or semicolons in prose).
- Polish: made the Y-value option list parallel ("Determine color based
  on" to "Color based on").
- Audit: verified no remaining violations; MDX intact; broken-links clean.

Recommendations for technical review (out of scope for a style pass):
- Heading hierarchy: "Turn on key-based colors" and "Example: Key-based
  coloring with loss metric" are H3 with no parent H2 (level skip).
  Consider promoting to H2; anchors are unaffected.
- The "Default metrics" list follows its heading with no introductory
  sentence; consider a lead-in such as "W&B defines the following
  default metrics:".
- Frontmatter has no keywords field; adding 3-5 keywords was left out of
  scope since frontmatter edits were excluded.
- Navigation: a separate validator flagged a possible missing "Colors"
  tab step; that is a technical-content decision and was left intact.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Comment thread models/runs/color-code-runs.mdx Outdated
Comment thread models/runs/color-code-runs.mdx Outdated
1. Navigate to your W&B project and select the **Workspace** tab.
2. Click the **Settings** icon in the top right corner.
3. In the drawer, select **Runs**.
4. In the **Run colors** section, confirm that **Key-based colors** is selected. The **Buckets** section appears below the **Key** and **Y value** dropdowns.

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.

🟡 Partially confirmed — the Buckets section is real, but it's conditionally rendered and these steps omit the precondition.

In the frontend, the Y value dropdown, the Number of buckets input, and the Buckets section only appear after you select a Key (the Key dropdown defaults to 'default'; the render guard is key !== DEFAULT…key). The entire key-based-colors feature is also disabled while run grouping is active ("Key-based colors are currently disabled because run grouping is active"). So a reader who opens Runs → Run colors → Key-based colors without picking a Key — or with grouping on — sees no Buckets section. (This matches a reviewer's report of not finding the section.)

Recommended: add a step to select a metric/config key from the Key dropdown before referring to the Buckets section, and note that key-based colors requires run grouping to be off. (Also note the UI has a separate "Number of buckets" stepper, distinct from the "Buckets" ranges section.)

Source: core:SemanticLegendColorTab…tsx#L97-L123, core:SemanticLegendBuckets…tsx#L103

🤖 CoreWeave Docs Team's Validator — partially confirmed

Document two preconditions that were previously implicit, surfaced by a
reader who couldn't find the Buckets section:

- Key-based colors are disabled while run grouping is active (add a Note
  in "Turn on key-based colors").
- The Y value dropdown and the Buckets section only appear after you
  select a Key (split the "Customize buckets" step so selecting a key is
  explicit).

Verified against wandb/core (SemanticLegendColorTabWithCategoricalConfig
render guards and the run-grouping disable banner). mint broken-links: pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Customize buckets steps assumed a metric key and a fixed layout. A
reader with grouping off still could not find the Buckets section because
the metric vs. configuration key paths differ:

- Selecting Key-based colors hides Color palette and reveals the Key
  dropdown; the remaining controls appear only after a key is selected.
- Metric key: Y value (Min/Max/Latest) + Number of buckets + Buckets
  section.
- Configuration key: a Grouping dropdown (Continuous/Discrete); Discrete
  shows a Categories section instead of Buckets.

Verified against wandb/core (SemanticLegendColorTab, SemanticLegendYValue,
SemanticLegendBuckets). mint broken-links: pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant