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 stackplots static style #5045

Merged
merged 15 commits into from
Jun 3, 2022
Merged

Conversation

shefalijoshi
Copy link
Contributor

@shefalijoshi shefalijoshi commented Apr 8, 2022

Closes #4912 #4864

Describe your changes:

The StyleRuleManager was subscribing to condition set updates even when it was destroyed (via a promise). Now we check to make sure that the StyleRuleManager is not destroyed when we handle the promise.
Cancelling the properties dialog was not handled. Added a handler for this.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Unit tests included and/or updated with changes?
  • Command line build passes?
  • Has this been smoke tested?
  • Testing instructions included in associated issue?

Reviewer Checklist

  • Changes appear to address issue?
  • Changes appear not to be breaking changes?
  • Appropriate unit tests included?
  • Code style and in-line documentation are appropriate?
  • Commit messages meet standards?
  • Has associated issue been labelled unverified? (only applicable if this PR closes the issue)
  • Has associated issue been labelled bug? (only applicable if this PR is for a bug fix)

shefalijoshi and others added 7 commits April 4, 2022 08:33
* added the ability to pass the element you would like to enlarge to the view large action
* Example of performance marks (#5027)
Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: unlikelyzero <jchill2@gmail.com>
Co-authored-by: Andrew Henry <andrew.k.henry@nasa.gov>
* adding transactions to notebook entry editing

Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov>
Co-authored-by: Andrew Henry <andrew.k.henry@nasa.gov>
… prevents any ambiguity about which element should receive the style
@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #5045 (0197e9b) into master (f5796c9) will increase coverage by 0.05%.
The diff coverage is 100.00%.

❗ Current head 0197e9b differs from pull request most recent head 1fb7e5f. Consider uploading reports for the commit 1fb7e5f to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5045      +/-   ##
==========================================
+ Coverage   49.84%   49.90%   +0.05%     
==========================================
  Files         556      534      -22     
  Lines       20393    19549     -844     
  Branches     1876     1767     -109     
==========================================
- Hits        10164     9755     -409     
+ Misses       9736     9348     -388     
+ Partials      493      446      -47     
Impacted Files Coverage Δ
src/plugins/formActions/EditPropertiesAction.js 38.23% <ø> (-52.95%) ⬇️
src/plugins/condition/StyleRuleManager.js 73.25% <100.00%> (+0.31%) ⬆️
example/exampleUser/plugin.js 0.00% <0.00%> (-100.00%) ⬇️
src/plugins/flexibleLayout/utils/container.js 0.00% <0.00%> (-100.00%) ⬇️
src/plugins/conditionWidget/plugin.js 50.00% <0.00%> (-50.00%) ⬇️
src/api/forms/components/controls/TextField.vue 50.00% <0.00%> (-50.00%) ⬇️
src/plugins/telemetryTable/TelemetryTableType.js 50.00% <0.00%> (-50.00%) ⬇️
...rc/api/forms/components/controls/TextAreaField.vue 0.00% <0.00%> (-50.00%) ⬇️
...ins/conditionWidget/ConditionWidgetViewProvider.js 50.00% <0.00%> (-37.50%) ⬇️
... and 91 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 04ee6f4...1fb7e5f. Read the comment docs.

@davetsay
Copy link
Contributor

sorry @shefalijoshi , i think i let this get stale and now its out of sync with master

@davetsay
Copy link
Contributor

davetsay commented May 9, 2022

@nikhilmandlik , can you take a look at this one?

@akhenry akhenry removed the request for review from davetsay May 9, 2022 21:16
* @private
*/
_onCancel() {
//noop
Copy link
Contributor

Choose a reason for hiding this comment

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

ahh thanks,
there are more like this tracked here, #4864

Copy link
Contributor

@nikhilmandlik nikhilmandlik left a comment

Choose a reason for hiding this comment

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

very small change.

Copy link
Contributor

@nikhilmandlik nikhilmandlik left a comment

Choose a reason for hiding this comment

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

LGTM

@nikhilmandlik
Copy link
Contributor

Needs testing fix

@shefalijoshi shefalijoshi enabled auto-merge (squash) June 3, 2022 16:29
@shefalijoshi shefalijoshi merged commit 40a7451 into master Jun 3, 2022
@shefalijoshi shefalijoshi deleted the fix-stackplots-static-style branch June 3, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants