Skip to content

[O2B-1536] Add lastEditiedBy name to EOR reason section of the run-details page#2090

Draft
isaachilly wants to merge 6 commits intomainfrom
improv/O2B-1536/Add-lastEditiedBy-to-EOR-reason-on-run-details
Draft

[O2B-1536] Add lastEditiedBy name to EOR reason section of the run-details page#2090
isaachilly wants to merge 6 commits intomainfrom
improv/O2B-1536/Add-lastEditiedBy-to-EOR-reason-on-run-details

Conversation

@isaachilly
Copy link
Collaborator

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:

  • n/a

Notable changes for developers:

  • n/a

Changes made to the database:

  • n/a

Now display the lastEditedName for EOR reasons on `run-detail` page.

`formatEorReason` also renders a tooltip above the `lastEditedName` to make clear who it refers to.
Adjust expectations to include displayed author 'Anonymous' on a new line.
@isaachilly isaachilly self-assigned this Feb 26, 2026
@isaachilly isaachilly added frontend javascript Pull requests that update Javascript code labels Feb 26, 2026
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

❌ Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.61%. Comparing base (55062b6) to head (0afb0e0).

Files with missing lines Patch % Lines
lib/public/views/Runs/format/eorReasonComponent.js 0.00% 5 Missing ⚠️
lib/public/views/Runs/format/editRunEorReasons.js 0.00% 3 Missing ⚠️
lib/public/views/Runs/Details/RunPatch.js 0.00% 2 Missing ⚠️
...b/public/views/Runs/Details/runDetailsComponent.js 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2090      +/-   ##
==========================================
- Coverage   45.63%   45.61%   -0.02%     
==========================================
  Files        1039     1040       +1     
  Lines       17324    17331       +7     
  Branches     3148     3150       +2     
==========================================
  Hits         7905     7905              
- Misses       9419     9426       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Add a dedicated eorReasonComponent that renders the EOR reason VDOM.
Stop keeping a separate `eorReasonLastEditedNames` list on RunDetailsModel and instead include `lastEditedName` on each eorReason within RunPatch.

RunPatch `toPojo` then strips that field when building the outbound patch.

This removes duplicate state and ensures only allowed fields are sent to the server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend javascript Pull requests that update Javascript code

Development

Successfully merging this pull request may close these issues.

1 participant