Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix applying global settings to widgets #1350

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Fix applying global settings to widgets #1350

merged 1 commit into from
Jun 18, 2024

Conversation

jmthomas
Copy link
Member

No description provided.

@jmthomas jmthomas requested a review from ryanmelt June 18, 2024 16:55
@@ -540,7 +540,8 @@ i.v-icon.mdi-chevron-down {
}
.graph-info {
width: 140px;
margin-left: 70px;
margin-left: 20px;
margin-top: 65px;
Copy link
Member Author

Choose a reason for hiding this comment

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

This was just a simply fix the little helper text on TlmGrapher

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

// Recursively apply to all widgets contained in layouts
if (widget.widgets) {
this.applyGlobalSettings(widget.widgets)
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Nesting this inside the forEach loops caused the page to freeze if you have more than a few global settings and nested widgets.

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.22%. Comparing base (9c9d8e4) to head (76531a2).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1350      +/-   ##
==========================================
+ Coverage   75.21%   75.22%   +0.01%     
==========================================
  Files         600      600              
  Lines       44676    44680       +4     
  Branches      777      777              
==========================================
+ Hits        33602    33611       +9     
+ Misses      10987    10983       -4     
+ Partials       87       86       -1     
Flag Coverage Δ
frontend 55.59% <ø> (+0.05%) ⬆️
python 83.66% <ø> (+0.01%) ⬆️
ruby-api 48.59% <ø> (ø)
ruby-backend 80.00% <ø> (+<0.01%) ⬆️

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.

@jmthomas jmthomas merged commit 518ae83 into main Jun 18, 2024
25 checks passed
@jmthomas jmthomas deleted the global_settings branch June 18, 2024 19:18
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.

2 participants