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

Export display #6562

Merged
merged 9 commits into from
Apr 6, 2023
Merged

Export display #6562

merged 9 commits into from
Apr 6, 2023

Conversation

jvigliotta
Copy link
Contributor

Closes #6561

Describe your changes:

Finding and replacing identifiers as well.

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?
  • Tests included and/or updated with changes?
  • Command line build passes?
  • Has this been smoke tested?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?
  • 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)

@jvigliotta jvigliotta requested a review from davetsay April 6, 2023 02:46
@deploysentinel
Copy link

deploysentinel bot commented Apr 6, 2023

Current Playwright Test Results Summary

✅ 117 Passing - ❌ 1 Failing - ⚠️ 3 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 04/06/2023 02:55:26am UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: 92d990b

Started: 04/06/2023 02:48:41am UTC

❌ Failures

📄   framework/baseFixtures.e2e.spec.js • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
baseFixtures tests Verify that tests fail if console.error is thrown
Initial Attempt
Error: Error: Console error detected: [error] This should result in a failure at ( 0:14...
Error: Console error detected: [error] This should result in a failure at ( 0:14)

Expected: not "error"

100% (12) 12 / 12 runs
failed over last 7 days
0% (0) 0 / 12 runs
flaked over last 7 days

⚠️ Flakes

📄   functional/plugins/plot/logPlot.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Log plot tests Log Plot ticks are functionally correct in regular and log mode and after refresh
Retry 1Initial Attempt
0% (0) 0 / 8 runs
failed over last 7 days
12.50% (1) 1 / 8 run
flaked over last 7 days

📄   functional/plugins/plot/plotLegendSwatch.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Legend color in sync with plot color Testing
Retry 1Initial Attempt
0% (0) 0 / 7 runs
failed over last 7 days
28.57% (2) 2 / 7 runs
flaked over last 7 days

📄   functional/plugins/plot/overlayPlot.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Overlay Plot Clicking on an item in the elements pool brings up the plot preview with data points
Retry 1Initial Attempt
0% (0) 0 / 7 runs
failed over last 7 days
100% (7) 7 / 7 runs
flaked over last 7 days

View Detailed Build Results


@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

Merging #6562 (92d990b) into master (c0c383b) will decrease coverage by 0.26%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6562      +/-   ##
==========================================
- Coverage   54.97%   54.71%   -0.26%     
==========================================
  Files         628      628              
  Lines       26805    26814       +9     
  Branches     2422     2422              
==========================================
- Hits        14736    14672      -64     
- Misses      11409    11476      +67     
- Partials      660      666       +6     
Flag Coverage Δ *Carryforward flag
e2e-ci 39.35% <ø> (+0.01%) ⬆️ Carriedforward from c0c383b
e2e-full 51.07% <ø> (+0.01%) ⬆️ Carriedforward from c0c383b
e2e-stable 55.41% <0.00%> (-0.11%) ⬇️
unit 48.90% <83.33%> (-0.44%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...c/plugins/exportAsJSONAction/ExportAsJSONAction.js 93.75% <83.33%> (-1.66%) ⬇️

... and 12 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

Copy link
Contributor

@davetsay davetsay left a comment

Choose a reason for hiding this comment

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

Great find and fix.

Like you said, we really should go through and ensure we're using the api method on creating identifiers.

Object.keys(this.idMap).forEach(function (oldId) {
const newId = this.idMap[oldId];
treeString = treeString.split(oldId).join(newId);
}.bind(this));
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need no stinking binders!

@davetsay davetsay merged commit 7a3ec3a into master Apr 6, 2023
10 checks passed
@davetsay davetsay deleted the export-display branch April 6, 2023 06:03
@ozyx ozyx added this to the Target:2.2.2 milestone Apr 17, 2023
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.

[Export as JSON] Issues with items that have identifiers stored in configuration
3 participants