-
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
Allow specification of swimlanes via configuration #7200
Conversation
Current Playwright Test Results Summary✅ 165 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 12/14/2023 02:19:22pm UTC)
|
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 1 • Initial Attempt |
0% (0)0 / 34 runsfailed over last 7 days |
29.41% (10)10 / 34 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 / 33 runsfailed over last 7 days |
57.58% (19)19 / 33 runsflaked over last 7 days |
Current Playwright Test Results Summary
✅ 15 Passing
Run may still be in progress, this comment will be updated as current testing workflow or job completes...
(Last updated on 12/14/2023 02:19:22pm UTC)
Run Details
Running Workflow e2e-couchdb on Github Actions
Commit: e1ad784
Started: 12/14/2023 02:12:20pm UTC
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #7200 +/- ##
==========================================
+ Coverage 54.99% 55.92% +0.92%
==========================================
Files 655 655
Lines 26297 26316 +19
Branches 2541 2543 +2
==========================================
+ Hits 14462 14717 +255
+ Misses 11125 10888 -237
- Partials 710 711 +1
*This pull request uses carry forward flags. Click here to find out more.
... and 49 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.
Found one small optional formatting change, otherwise good to go from my end. Up to you if you want to change it. Nice work!
src/plugins/plan/util.js
Outdated
let groupIds; | ||
const sourceMap = domainObject.sourceMap; | ||
const json = getObjectJson(domainObject); | ||
if (sourceMap !== undefined && sourceMap.groupIds !== undefined) { |
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 you can simplify this as if (sourceMap?.groupIds) {
e2e/appActions.js
Outdated
@@ -644,6 +644,26 @@ async function renameObjectFromContextMenu(page, url, newName) { | |||
await page.click('[aria-label="Save"]'); | |||
} | |||
|
|||
async function addPlanGetInterceptor(page) { |
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.
Let's move this to planningUtils
since it is specific to the Plan / Gantt Chart testing suites
…a/openmct into timelist-swimlane-order-7196
…a/openmct into timelist-swimlane-order-7196
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'm wary of this solution because it further couples Open MCT (open source) Plans with VIPER Plans. There should be a way we can handle this completely on the VIPER side, maybe with some kind of interceptor?
There is an interceptor on the VIPER side here: viper-openmct PR 202 |
I think a good way to decouple these would be to have something like a PlanProvider so we could allow users to define their own schemas. I'll create an enhancement ticket if it seems like a reasonable idea. Will re-review |
Closes #7196
Also see: viper-openmct PR 202
Describe your changes:
Read the groupIds (swimlanes) configuration and use it to order the plan view swimlanes. If there is no grouIds configuration, use the activities to get the groups like before.
All Submissions:
Author Checklist
Reviewer Checklist