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

Provide renderWhenVisible to LadTableSets #7384

Merged
merged 9 commits into from
Jan 19, 2024

Conversation

scottbell
Copy link
Contributor

@scottbell scottbell commented Jan 18, 2024

Closes #7383 #7382

Describe your changes:

  • Ensure we provide renderWhenVisible to LadTableSets (and thus to child LadTables)
  • Ensure TelemetryFrame always provides a telemetry keyString when opening a new tab
  • Ensure ladTelemetryObjects is actually initialized before adding objects to it
  • Wrote first (!) LadTableSet e2e test to ensure they work in the future

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?
  • Has this been smoke tested?
  • Have you associated this PR with a type: label? Note: this is not necessarily the same as the original issue.
  • Have you associated a milestone with this PR? Note: leave blank if unsure.
  • Is this a breaking change to be called out in the release notes?
  • 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?

@scottbell scottbell linked an issue Jan 18, 2024 that may be closed by this pull request
7 tasks
@scottbell scottbell changed the title 7383 lad table sets failing to initialize telemetry Provide renderWhenVisible to LadTableSets Jan 18, 2024
@scottbell scottbell requested a review from davetsay January 18, 2024 10:47
@scottbell scottbell added this to the Target:3.3.0 milestone Jan 18, 2024
@scottbell scottbell marked this pull request as ready for review January 18, 2024 10:48
@scottbell scottbell requested a review from ozyx January 18, 2024 10:48
Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (01434ff) 55.89% compared to head (8389b5d) 55.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7384      +/-   ##
==========================================
+ Coverage   55.89%   55.91%   +0.02%     
==========================================
  Files         659      659              
  Lines       26278    26277       -1     
  Branches     2550     2549       -1     
==========================================
+ Hits        14687    14692       +5     
+ Misses      10882    10877       -5     
+ Partials      709      708       -1     
Flag Coverage Δ
e2e-full 41.25% <ø> (ø)
e2e-stable 59.16% <ø> (+0.26%) ⬆️
unit 48.90% <100.00%> (-0.03%) ⬇️
Files Coverage Δ
src/plugins/LADTable/LadTableSetView.js 93.33% <ø> (+26.66%) ⬆️
src/plugins/LADTable/components/LadRow.vue 52.57% <100.00%> (ø)
...gins/LADTable/components/LadTableConfiguration.vue 0.00% <ø> (ø)
...gins/inspectorDataVisualization/TelemetryFrame.vue 0.00% <ø> (ø)

... and 10 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 01434ff...8389b5d. Read the comment docs.

@scottbell scottbell added the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@scottbell

This comment was marked as resolved.

@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@scottbell scottbell added the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@scottbell scottbell linked an issue Jan 18, 2024 that may be closed by this pull request
7 tasks
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@scottbell scottbell added the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@scottbell scottbell added the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jan 18, 2024
Copy link
Contributor

@ozyx ozyx left a comment

Choose a reason for hiding this comment

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

LGTM!

@scottbell scottbell merged commit 43ae3cf into master Jan 19, 2024
24 checks passed
@scottbell scottbell deleted the 7383-lad-table-sets-failing-to-initialize-telemetry branch January 19, 2024 08:47
@@ -36,7 +36,7 @@ test.describe('Testing numeric data with inspector data visualization (i.e., dat
await page.goto('./', { waitUntil: 'domcontentloaded' });
});

test('Can click on telemetry and see data in inspector', async ({ page }) => {
test('Can click on telemetry and see data in inspector', async ({ page, context }) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should have had a @2p

@unlikelyzero unlikelyzero modified the milestones: Target:3.3.0, Target:4.0.0 Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants