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

ImageryView 🖼️ + IndependentTimeConductor ⏰ #6791

Conversation

scottbell
Copy link
Contributor

@scottbell scottbell commented Jul 11, 2023

Waiting on Time Conductor PR

Closes #6434

Describe your changes:

Adds the Independent Time Conductor to the ImageryView. Fixes TelemetryCollection to respond properly to time conductor changes.

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)

@scottbell scottbell changed the title ImageryView + IndependentTimeConductor ⏰ ImageryView 🖼️ + IndependentTimeConductor ⏰ Jul 11, 2023
@deploysentinel
Copy link

deploysentinel bot commented Jul 11, 2023

Current Playwright Test Results Summary

✅ 55 Passing - ❌ 4 Failing - ⚠️ 3 Flaky

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

(Last updated on 07/15/2023 06:28:23am UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: 2472351

Started: 07/15/2023 06:18:21am UTC

❌ Failures

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

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 2Retry 1Initial Attempt
Error: Test timeout of 180000ms exceeded.
Test timeout of 180000ms exceeded.
25% (38) 38 / 152 runs
failed over last 7 days
3.29% (5) 5 / 152 runs
flaked over last 7 days

📄   functional/planning/timelist.e2e.spec.js • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Time List Create a Time List, add a single Plan to it and verify all the activities are displayed with no milliseconds
Retry 2Retry 1Initial Attempt
Error: expect(received).toEqual(expected) // deep equality...
expect(received).toEqual(expected) // deep equality

Expected: 5
Received: 0
8.18% (13) 13 / 159 runs
failed over last 7 days
0% (0) 0 / 159 runs
flaked over last 7 days

📄   functional/notification.e2e.spec.js • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Notification Overlay Closing notification list after notification banner disappeared does not cause it to open automatically
Retry 1Initial Attempt
Error: Test timeout of 60000ms exceeded.
Test timeout of 60000ms exceeded.
21.35% (41) 41 / 192 runs
failed over last 7 days
0% (0) 0 / 192 runs
flaked over last 7 days

📄   functional/plugins/imagery/exampleImagery.e2e.spec.js • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Example Imagery Object Can use independent time conductor to change time
Retry 1Initial Attempt
Error: Test timeout of 60000ms exceeded.
Test timeout of 60000ms exceeded.
100% (5) 5 / 5 runs
failed over last 7 days
0% (0) 0 / 5 runs
flaked over last 7 days

⚠️ Flakes

📄   functional/plugins/notebook/restrictedNotebook.e2e.spec.js • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Restricted Notebook with a page locked and with an embed @addinit Allows embeds to be deleted if page unlocked @addinit
Retry 1Initial Attempt
0% (0) 0 / 144 runs
failed over last 7 days
2.78% (4) 4 / 144 runs
flaked over last 7 days
Restricted Notebook with a page locked and with an embed @addinit Disallows embeds to be deleted if page locked @addinit
Retry 1Initial Attempt
0% (0) 0 / 144 runs
failed over last 7 days
2.78% (4) 4 / 144 runs
flaked over last 7 days

📄   functional/plugins/imagery/exampleImagery.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Example Imagery Object Can use Mouse Wheel to zoom in and out of latest image
Retry 1Initial Attempt
0.54% (1) 1 / 185 run
failed over last 7 days
76.76% (142) 142 / 185 runs
flaked over last 7 days

View Detailed Build Results


@codecov
Copy link

codecov bot commented Jul 11, 2023

Codecov Report

Merging #6791 (2472351) into mode-dropdown (df6a3e4) will decrease coverage by 0.15%.
The diff coverage is 2.56%.

@@                Coverage Diff                @@
##           mode-dropdown    #6791      +/-   ##
=================================================
- Coverage          45.70%   45.56%   -0.15%     
=================================================
  Files                408      408              
  Lines              12493    12500       +7     
=================================================
- Hits                5710     5695      -15     
- Misses              6783     6805      +22     
Flag Coverage Δ *Carryforward flag
e2e-full 41.81% <ø> (-0.03%) ⬇️ Carriedforward from df6a3e4
e2e-stable 39.49% <2.56%> (-0.04%) ⬇️

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

Impacted Files Coverage Δ
example/imagery/plugin.js 28.81% <0.00%> (-1.02%) ⬇️
src/api/telemetry/TelemetryAPI.js 72.33% <0.00%> (-2.67%) ⬇️
src/api/telemetry/TelemetryCollection.js 60.00% <0.00%> (-6.86%) ⬇️
src/plugins/imagery/mixins/imageryData.js 4.59% <0.00%> (ø)
src/utils/staleness.js 66.66% <100.00%> (ø)

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 df6a3e4...2472351. Read the comment docs.

…iew-should-support-showing-more-images-than-the-conductor-bounds-1
@akhenry akhenry requested review from akhenry and removed request for shefalijoshi July 13, 2023 17:20
…iew-should-support-showing-more-images-than-the-conductor-bounds-1
@scottbell scottbell marked this pull request as ready for review July 14, 2023 18:53
@jvigliotta jvigliotta changed the base branch from master to mode-dropdown July 14, 2023 19:12
Copy link
Contributor

@jvigliotta jvigliotta left a comment

Choose a reason for hiding this comment

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

Couple questions and changes! Nice work!

@scottbell scottbell requested a review from jvigliotta July 14, 2023 20:15
if (this.timeContext) {
hasClock = this.timeContext.clock();
return this.timeContext.isRealTime();
Copy link
Contributor

@akhenry akhenry Jul 15, 2023

Choose a reason for hiding this comment

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

Independent time contexts and the global time context have an identical interface, so this code shouldn't care which one it's dealing with.

…iew-should-support-showing-more-images-than-the-conductor-bounds-1
@jvigliotta jvigliotta merged commit 249f820 into mode-dropdown Jul 17, 2023
@jvigliotta jvigliotta deleted the 6434-image-view-should-support-showing-more-images-than-the-conductor-bounds-1 branch July 17, 2023 21:53
@ozyx ozyx added this to the Target:3.0.0 milestone Jul 19, 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.

Image view should support showing more images than the conductor bounds
4 participants