-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(#7367): ProgressBar for ExportAsJSONAction
#7374
Conversation
@@ -71,14 +71,14 @@ export default class LocalStorageObjectProvider { | |||
* @private | |||
*/ | |||
persistSpace(space) { | |||
this.localStorage[this.spaceKey] = JSON.stringify(space); | |||
this.localStorage.setItem(this.spaceKey, JSON.stringify(space)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a driveby, but figured we should be using the localStorage API here
Current Playwright Test Results Summary✅ 174 Passing - ❌ 1 Failing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 01/12/2024 09:34:41pm UTC) ❌ Failures📄 functional/plugins/plot/logPlot.e2e.spec.js • 1 FailureTest 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 1 • Initial Attempt |
0% (0)0 / 66 runsfailed over last 7 days |
28.79% (19)19 / 66 runsflaked 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 Limit lines persist when series is moved to another Y Axis and on refresh
Retry 1 • Initial Attempt |
4.82% (4)4 / 83 runsfailed over last 7 days |
4.82% (4)4 / 83 runsflaked over last 7 days |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #7374 +/- ##
==========================================
+ Coverage 55.88% 55.89% +0.01%
==========================================
Files 659 659
Lines 26247 26278 +31
Branches 2550 2550
==========================================
+ Hits 14667 14687 +20
- Misses 10872 10882 +10
- Partials 708 709 +1
*This pull request uses carry forward flags. Click here to find out more.
... and 10 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
655cb39
to
3a0c975
Compare
await page.locator('div:nth-child(7) .c-form-row__controls .form-control .field input').fill('2'); | ||
await page.getByLabel('Period').fill('2'); | ||
await page.getByLabel('Amplitude').fill('6'); | ||
await page.getByLabel('Offset').fill('4'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol what were we doing with the old locator pattern
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* refactor(ExportAsJSONAction): use private methods * refactor: remove unnecessary webpack alias * refactor: lint * fix: tests for `ExportAsJSONAction` * test: stabilize `InspectorStylesSpec` tests * docs: fix jsdocs * chore: remove dead / redundant code * refactor(LocalStorageObjectProvider): use `getItem()` and `setItem()` * refactor(ExportAsJSONAction): use `Promise.all` where applicable * refactor(MenuAPI): one-liner * feat: add percentage ProgressBar to ExportAsJSONAction * fix(ProgressBar.vue): v-if conditionals * test(fix): update mockLocalStorage * test: fix locators * test: remove unneeded awaits * fix: example imagery urls (moved after NASA wordpress migration) * Revert "refactor(LocalStorageObjectProvider): use `getItem()` and `setItem()`" This reverts commit 4f8403a. * test(e2e): fix logPlot test * Revert "Revert "refactor(LocalStorageObjectProvider): use `getItem()` and `setItem()`"" This reverts commit 0de6640. * test(e2e): remove waitForNavigations
Closes #7367
Closes #7380
Describe your changes:
Adds a ProgressBar to asynchronous Export as JSON actions (such as with external persistence i.e. CouchDB).
Also a few refactors and minor fixes:
LocalStorageProvider
to use the actuallocalStorage
api (getItem()
andsetItem()
, etc).ExportAsJSONAction
to use private methodsmodel
prop object in ProgressDialog-- use individual props insteadScreen.Recording.2024-01-12.at.11.58.02.AM.mov
All Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist