Skip to content

[Bughancement] Limit Bar on Zero and Colors on DetailsDialog#2891

Merged
clayandgen merged 2 commits intomainfrom
bug/limits-bar-caret
Feb 27, 2026
Merged

[Bughancement] Limit Bar on Zero and Colors on DetailsDialog#2891
clayandgen merged 2 commits intomainfrom
bug/limits-bar-caret

Conversation

@clayandgen
Copy link
Copy Markdown
Contributor

closes #2889
closes #2890

Error below when value is zero -- appears in the beginning of bar (even if bar extends beyond 0, like -10)
Screenshot 2026-02-26 at 3 48 01 PM

Fix below
Screenshot 2026-02-26 at 3 53 06 PM

Add color to the Details Dialog
Screenshot 2026-02-26 at 4 33 07 PM

},
calcPosition(value, limitsSettings) {
if (!value || !limitsSettings) {
if (value == null || !limitsSettings) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what was causing the limit bar issue when value is 0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there might be another on line 40.

<v-row no-gutters>
<v-col cols="1"></v-col>
<v-col cols="4" class="label">With Units Value</v-col>
<v-col>{{ unitsValue }}</v-col>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmthomas -- we no longer have "With Units" right? Removing "With Units" from the Details Dialog.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.30%. Comparing base (1bb2229) to head (afae710).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2891      +/-   ##
==========================================
- Coverage   78.83%   78.30%   -0.53%     
==========================================
  Files         667      673       +6     
  Lines       54527    55118     +591     
  Branches      728      728              
==========================================
+ Hits        42984    43162     +178     
- Misses      11465    11878     +413     
  Partials       78       78              
Flag Coverage Δ
python 79.36% <ø> (-1.47%) ⬇️
ruby-api 80.24% <ø> (-0.05%) ⬇️
ruby-backend 82.17% <ø> (+0.02%) ⬆️

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

☔ 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.

Copy link
Copy Markdown
Member

@jmthomas jmthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please search for !this.screenValues[this.valueId]) and evaluate whether we should change those.

I see a double comparison on RangebarWidget.vue at 71 and 74.

Also fix eslint

@sonarqubecloud
Copy link
Copy Markdown

@clayandgen
Copy link
Copy Markdown
Contributor Author

@jmthomas -- comments should be addressed. !this.screenValues[this.valueId]) should behave ok as-is, but addressed the extra issue in RangeBarWidget

@jmthomas
Copy link
Copy Markdown
Member

I think all the other examples are expecting an array which should be good.

@jmthomas jmthomas self-requested a review February 27, 2026 19:11
@clayandgen clayandgen merged commit a81d678 into main Feb 27, 2026
48 of 51 checks passed
@clayandgen clayandgen deleted the bug/limits-bar-caret branch February 27, 2026 20:51
jmthomas pushed a commit that referenced this pull request Mar 21, 2026
* [Bughancement] Limit Bar on Zero and Colors on DetailsDialog

* Address PR Comments
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.

Caret on limit bar when value is 0 Item details should display colored values

2 participants