Skip to content

Restyle realization status indicators - #14110

Draft
MagnusSletten wants to merge 1 commit into
equinor:mainfrom
MagnusSletten:realization-styling
Draft

Restyle realization status indicators#14110
MagnusSletten wants to merge 1 commit into
equinor:mainfrom
MagnusSletten:realization-styling

Conversation

@MagnusSletten

@MagnusSletten MagnusSletten commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The pastel fills with a pie-chart overlay and a "finished / total" caption are hard to scan at larger realization counts, and the pie competes with the status fill for the same shape.

Replace it with a status dot plus a progress ring drawn only while running, dropping the caption the ring now conveys. Cells shrink from 90x90 to 70x70 so more of the ensemble fits on screen.

Issue
Resolves #14109

Screen.Recording.2026-08-05.214514.mp4

Approach

Replace the current large status indicators with smaller status dots and a progress ring shown only while running. Reduce the cell size and update the legend to match, making the grid less visually noisy and easier to scan for large ensembles.

  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure unit tests pass locally after every commit (git rebase -i main --exec 'just rapid-tests')

When applicable

  • When screenshots are changed: Review screenshot-PR in ert-testdata,
    merge screenshot-PR in ert-testdata before merging this PR.
  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Add backport label to latest release (format: 'backport release-branch-name')

@ertomatic

Copy link
Copy Markdown
Collaborator

Screenshots differ from baselines. A baseline update PR has been prepared: equinor/ert-testdata#77

The pastel fills with a pie-chart overlay and a "finished / total"
caption are hard to scan at larger realization counts, and the pie
competes with the status fill for the same shape.

Replace it with a status dot plus a progress ring drawn only while
running, dropping the caption the ring now conveys. Shrink the cells so
more of the ensemble fits on screen.

Copilot AI 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.

Pull request overview

This PR simplifies the ensemble realization status UI in the experiments view by replacing the large filled indicators (with pie overlay and per-cell finished/total caption) with a smaller status dot and an optional progress ring shown only while running, improving scanability for large ensembles.

Changes:

  • Restyled realization cell delegate to draw a centered status dot plus a running-only progress ring, and reduced cell size from 90×90 to 70×70.
  • Updated the progress legend markers to match the new dot styling (including an outlined “Waiting” marker) and tightened layout spacing/heights.
  • Aligned legend label text formatting and updated the corresponding unit test expectation.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/ert/gui/experiments/view/realization.py Redraws realization indicators as dot + running-only ring; shrinks cell size and updates selection highlight rendering.
src/ert/gui/experiments/view/progress_widget.py Updates legend marker visuals/layout and removes leading-space prefix in legend label text.
src/ert/ensemble_evaluator/state.py Revises status color palette used across the UI for realization/ensemble state visualization.
tests/ert/unit_tests/gui/experiments/view/test_legend.py Updates assertion to match the new legend label text formatting (no leading space).

ertomatic pushed a commit to equinor/ert-testdata that referenced this pull request Aug 5, 2026
@codecov-commenter

codecov-commenter commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.91525% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.93%. Comparing base (6557b68) to head (4b609d5).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/ert/gui/experiments/view/realization.py 91.42% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14110      +/-   ##
==========================================
+ Coverage   91.89%   91.93%   +0.03%     
==========================================
  Files         479      479              
  Lines       33397    33411      +14     
==========================================
+ Hits        30689    30715      +26     
+ Misses       2708     2696      -12     
Flag Coverage Δ
cli-tests 36.29% <13.55%> (-0.02%) ⬇️
fuzz 44.22% <22.03%> (-0.05%) ⬇️
gui-tests 58.64% <54.23%> (-0.01%) ⬇️
performance-and-unit-tests 80.80% <94.91%> (-0.01%) ⬇️
test 46.05% <22.03%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/ert/ensemble_evaluator/state.py 100.00% <100.00%> (ø)
src/ert/gui/experiments/view/progress_widget.py 98.85% <100.00%> (+0.08%) ⬆️
src/ert/gui/experiments/view/realization.py 94.91% <91.42%> (-0.59%) ⬇️

... and 5 files with indirect coverage changes

@eilskra eilskra added this to SCOUT Aug 11, 2026
@eilskra eilskra moved this to In Progress in SCOUT Aug 11, 2026
@eilskra eilskra added the release-notes:improvement Automatically categorise as improvement in release notes label Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes:improvement Automatically categorise as improvement in release notes

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Simplify realization status indicators

5 participants