-
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
Embedding images in notebook entries #7048
Embedding images in notebook entries #7048
Conversation
…ing-images-in-notebook-entries
…ing-images-in-notebook-entries
…ing-images-in-notebook-entries
The new feature in action: first-draft.mov |
Current Playwright Test Results Summary✅ 14 Passing Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 09/18/2023 07:57:26am UTC) Run DetailsRunning Workflow e2e-couchdb on Github Actions Commit: d6129c2 Started: 09/18/2023 07:52:26am UTC Current Playwright Test Results Summary✅ 139 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 09/18/2023 07:57:26am UTC)
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Telemetry Table unpauses and filters data when paused by button and user changes bounds
Retry 1 • Initial Attempt |
2.74% (2)2 / 73 runsfailed over last 7 days |
23.29% (17)17 / 73 runsflaked over last 7 days |
📄 functional/planning/timelist.e2e.spec.js • 1 Flake
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 1 • Initial Attempt |
0.94% (1)1 / 106 runfailed over last 7 days |
49.06% (52)52 / 106 runsflaked over last 7 days |
📄 functional/plugins/notebook/notebookSnapshots.e2e.spec.js • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Snapshot image tests Can drop an image onto a notebook and create a new entry
Retry 1 • Initial Attempt |
0% (0)0 / 7 runsfailed over last 7 days |
28.57% (2)2 / 7 runsflaked over last 7 days |
Codecov Report
@@ Coverage Diff @@
## master #7048 +/- ##
==========================================
- Coverage 55.58% 54.30% -1.29%
==========================================
Files 650 650
Lines 25922 25972 +50
Branches 2532 2539 +7
==========================================
- Hits 14409 14104 -305
- Misses 10819 11177 +358
+ Partials 694 691 -3
*This pull request uses carry forward flags. Click here to find out more.
... and 55 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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 really great stuff, nice job! I've got a few suggestions, mostly minor things. We should come up with some more test scenarios for this as well.
}); | ||
export async function saveNotebookImageDomainObject(openmct, object) { | ||
console.debug('🍎 Saving notebook image domain object', object); | ||
await openmct.objects.save(object); |
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.
could this cause issues if one user is editing an entry (has an open transaction) and the other is adding an image to an entry? we should test that
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.
I think this is working ok:
editing.entry.and.adding.image.mov
e2e/tests/functional/plugins/notebook/notebookSnapshots.e2e.spec.js
Outdated
Show resolved
Hide resolved
e2e/tests/functional/plugins/notebook/notebookSnapshots.e2e.spec.js
Outdated
Show resolved
Hide resolved
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.
LGTM. Great work~!
Closes #6737
Describe your changes:
Allows dropping images onto notebooks and entries.
All Submissions:
Author Checklist
Reviewer Checklist