-
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
Discrete Event Visualization in Timeline #7967
base: master
Are you sure you want to change the base?
Conversation
…vent-visualization
- Removed in-page `style` defs from ExtendedLinesOverlay.vue; CSS actually located in timeline.scss. - Improved sizing and style for Marcus Bains ("now") line. - Removed extraneous padding at bottom of plot view when in Time Strip. - Added missing header info to timeline.scss. - CSS refinements.
- Removed bad `}` in TimeSystemAxis.vue. - Removed `.u-contents` from line 129 of ganttChart.e2e.spec.js. - Removed `event-handle` element; not needed. - Changed `__event-wrapper` to not set height explicitly; uses absolute positioning. - Added :before element to event-wrapper for better hit area. - Improved hover styling. - $colorEvent* style constants added to theme constant SCSS files.
- Layout converted to set `min-height` on top-most `c-swimlane` element. Interior containers now use 100% height or absolute positioning. - Removed `c-timeline-holder` from `c-events-tsv` in EventTimelineView.vue; Refactored `c-events-tsv__contents` to be `js-events-tsv` as that was being used as a reference. - New theme constant `eventLineW` sets event lines to be 1px wide for more precision.
…ation' into 7936-add-discrete-event-visualization
@@ -234,6 +235,7 @@ | |||
openmct.install(openmct.plugins.Timelist()); | |||
openmct.install(openmct.plugins.BarChart()); | |||
openmct.install(openmct.plugins.ScatterPlot()); | |||
openmct.install(openmct.plugins.EventTimestripPlugin(timeLinePlugin.extendedLinesBus)); |
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.
we need to decide if we want this to be the default plugin in core. Traditionally, we don't add new plugins for e2e tests and run the addInitScript
to add the plugin at runtime.
const eventWrappersContainer = page.locator('.c-events-tsv__container'); | ||
const eventWrappers = eventWrappersContainer.locator('.c-events-tsv__event-line'); | ||
const expectedEventWrappersCount = 25; | ||
await expect(eventWrappers).toHaveCount(expectedEventWrappersCount); |
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 great
@@ -126,7 +126,7 @@ test.describe('Gantt Chart', () => { | |||
await page.goto(ganttChart.url); | |||
|
|||
// Assert that the Plan's status is displayed as draft | |||
expect(await page.locator('.u-contents.c-swimlane.is-status--draft').count()).toBe( | |||
expect(await page.locator('.c-swimlane.is-status--draft').count()).toBe( |
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.
why was this change necessary?
|
||
// turn on extended lines | ||
await page | ||
.getByLabel(eventTimelineView.name) |
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 first step in the chainable shouldn't be necessary
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.
Looks amazing. We should determine if we want this to be the default plugin and included as a notable change in the release notes
Closes #7936
Describe your changes:
Adds a discrete event visualization for the Time Strip object.
All Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist