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

Discrete Event Visualization in Timeline #7967

Open
wants to merge 76 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
3159de0
initial structure
scottbell Dec 9, 2024
680b095
more scaffolding
scottbell Dec 9, 2024
7b22cf3
going to try with YAMCS data
scottbell Dec 10, 2024
7af3996
fix events not being removed
scottbell Dec 10, 2024
944634d
adding inspector
scottbell Dec 10, 2024
55bed6a
Merge remote-tracking branch 'origin/master' into 7936-add-discrete-e…
scottbell Dec 11, 2024
2776cc8
inspector works
scottbell Dec 11, 2024
5b006b6
inspector and colors work
scottbell Dec 11, 2024
8b5e2f4
remove undefined
scottbell Dec 11, 2024
3b236cc
pass event bus
scottbell Dec 11, 2024
0db301d
add facility to send action to mounted component regarding extending …
scottbell Dec 12, 2024
e9f120a
button works
scottbell Dec 12, 2024
d046ad1
extended events
scottbell Dec 12, 2024
052129b
ensure colored lines work
scottbell Dec 13, 2024
6f26add
works per swimlane now
scottbell Dec 13, 2024
aaec052
add title
scottbell Dec 13, 2024
96d8870
watch for left offset changes
scottbell Dec 13, 2024
3829295
Closes #7960
charlesh88 Dec 13, 2024
3d3f093
Closes #7960
charlesh88 Dec 14, 2024
64bd625
remove debugging code and extraneous classes
scottbell Dec 16, 2024
781d834
add hovered effect for extended lines
scottbell Dec 16, 2024
d97f7c3
resolve conflicts
scottbell Dec 16, 2024
cda7cc9
fix extended lines
scottbell Dec 16, 2024
d048af1
add tooltip
scottbell Dec 16, 2024
62b4975
add selection class
scottbell Dec 16, 2024
20247bb
only add left margin to container
scottbell Dec 16, 2024
20426fe
add tooltip class and only offset swimlane
scottbell Dec 16, 2024
6bda108
Closes #7936
charlesh88 Dec 17, 2024
aaa2e43
Closes #7936
charlesh88 Dec 17, 2024
2ba6bc9
ensure metadata exists on events
scottbell Dec 17, 2024
3af9083
add a random severity
scottbell Dec 17, 2024
36d3197
bump priority for our timeline view
scottbell Dec 17, 2024
72ff0bc
start e2e testing
scottbell Dec 17, 2024
f4ec532
add tests
scottbell Dec 17, 2024
49a106b
Closes #7936
charlesh88 Dec 17, 2024
cba7c7f
remove is selected, add hover event for extended liens
scottbell Dec 17, 2024
2ae1fe1
resolve conflicts
scottbell Dec 17, 2024
b865d8c
Closes #7936
charlesh88 Dec 18, 2024
27af030
Mods to Event Generator and limit provider
charlesh88 Dec 18, 2024
099153b
Closes #7936
charlesh88 Dec 18, 2024
546714b
Closes #7936
charlesh88 Dec 18, 2024
51d9654
fix selection issue
scottbell Dec 18, 2024
68fc317
Merge branch '7936-add-discrete-event-visualization' of github.com:na…
scottbell Dec 18, 2024
531ef3e
good job tests
scottbell Dec 18, 2024
638b03c
spelling
scottbell Dec 18, 2024
601fc33
trigger off selection for extended line hilight
scottbell Dec 18, 2024
8c72e4a
Closes #7936
charlesh88 Dec 18, 2024
65b1f02
Closes #7936
charlesh88 Dec 19, 2024
3c24205
Merge remote-tracking branch 'origin/7936-add-discrete-event-visualiz…
charlesh88 Dec 19, 2024
5312458
Closes #7936
charlesh88 Dec 19, 2024
bb4fea7
Closes #7936
charlesh88 Dec 19, 2024
5b28086
Closes #7936
charlesh88 Dec 19, 2024
9522040
Closes #7936
charlesh88 Dec 19, 2024
6cafa7a
Closes #7936
charlesh88 Dec 19, 2024
cfa2129
Closes #7936
charlesh88 Dec 19, 2024
e6cb940
Closes #7936
charlesh88 Dec 19, 2024
f163034
Closes #7936
charlesh88 Dec 20, 2024
0933d27
Closes #7936
charlesh88 Dec 20, 2024
15b674f
Closes #7936
charlesh88 Dec 20, 2024
0e940b2
lint and simplify playwright locator
scottbell Jan 6, 2025
32a0e15
handle case where we only have events in timeline
scottbell Jan 6, 2025
9e68514
Removed commented out code
shefalijoshi Mar 5, 2025
1ced12d
Remove the priority for imagerytimestripviewprovider and reduce the p…
shefalijoshi Mar 5, 2025
3ad64f0
Refactor code to
shefalijoshi Mar 5, 2025
aa5fa46
Use the tooltips mixin
shefalijoshi Mar 5, 2025
74a5d7e
Merge branch 'master' of https://github.com/nasa/openmct into 7936-ad…
shefalijoshi Mar 6, 2025
157bde8
Fix linting issues
shefalijoshi Mar 6, 2025
8be969f
Increase priority of event timeline view provider
shefalijoshi Mar 6, 2025
14a5c47
Increase the priority of EventtimelineView
shefalijoshi Mar 6, 2025
88b4331
Handle right offset alignment for event timeline view
shefalijoshi Mar 7, 2025
b171f82
Ensure now marker shows up correctly even when there are no plots to …
shefalijoshi Mar 7, 2025
af6f327
remove extraneous class
scottbell Mar 7, 2025
bbae9c6
use this.el instead of hardcoded layout ref
scottbell Mar 7, 2025
55d15ca
add documentation as to why we need the label hint for EventTimelineView
scottbell Mar 7, 2025
8545dde
remove eventemitter and use native custom events
scottbell Mar 7, 2025
2e35212
Decode object path
akhenry Mar 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/plugins/events/components/EventTimelineView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -196,16 +196,15 @@ export default {
}
},
getClientWidth() {
let clientWidth = this.$refs.events.clientWidth;

// Try to use the component’s own element first
let clientWidth = this.$refs.events?.clientWidth;
if (!clientWidth) {
//this is a hack - need a better way to find the parent of this component
const parent = this.openmct.layout.$refs.browseObject.$el;
// Fallback: use the actual container element (the immediate parent)
Copy link
Contributor

Choose a reason for hiding this comment

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

I vaguely recall .parentElement not working in some specific cases for planView, but maybe that's not an issue here. I'll test.

const parent = this.$el.parentElement;
if (parent) {
clientWidth = parent.getBoundingClientRect().width;
}
}

return clientWidth;
},
updateViewBounds(bounds, isTick) {
Expand Down
Loading