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

Add ability to show/hide event types in Events list in viz #60

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

emichael
Copy link
Owner

@emichael emichael commented Nov 4, 2023

Adds a toggle pane on the side that shows/hides the messages in each node's inbox area.

This commit might address #59, but I'm not sure.

@emichael emichael added enhancement New feature or request component:visualizer Issues and PRs relating to the new visualization tool labels Nov 4, 2023
@emichael
Copy link
Owner Author

emichael commented Nov 4, 2023

@wilcoxjay is this what you had in mind for #59?

image

I'm just now realizing you might have meant the list on the right side of the window. What sort of UI were you thinking?

@emichael emichael force-pushed the feature/message-timer-visibility branch 2 times, most recently from b75d798 to 59213bf Compare November 4, 2023 05:49
@wilcoxjay
Copy link
Contributor

Ah, yeah, I actually meant the right-hand pane. The use case is a failing random DFS search trace that is like 50 messages long and most of them are Pings I don't care about :)

@emichael
Copy link
Owner Author

emichael commented Nov 4, 2023

Ahhhh, gotcha. Any ideas for the UI for setting the filters? Should this be in the left side pane like I have these settings or maybe a pop up menu with something similar (and where would you open the pop up menu)?

@wilcoxjay
Copy link
Contributor

I think the simplest thing is just more checkboxes on the far left.

@emichael emichael force-pushed the feature/message-timer-visibility branch from 59213bf to e70bfd4 Compare November 5, 2023 20:11
@emichael
Copy link
Owner Author

emichael commented Nov 5, 2023

Okay, I think this implementation makes sense now. @wilcoxjay want to try it out and kick the tires on it?

Adds a toggle pane to the left side of the viz that shows/hides events
in the Events pane the right side. The current event is never hidden.
The toggle pane is updated as new event types are encountered.

Fixes #59.
@emichael emichael force-pushed the feature/message-timer-visibility branch from e70bfd4 to a5e7eea Compare November 5, 2023 20:16
@emichael emichael changed the title Add ability to show/hide messages/timers in viz Add ability to show/hide event types in Events Nov 5, 2023
@emichael emichael changed the title Add ability to show/hide event types in Events Add ability to show/hide event types in Events list in viz Nov 5, 2023
@wilcoxjay
Copy link
Contributor

Looks good to me! If you try to filter out an event that matches the current state you're looking at, then it is not filtered but still shown. But I think this is probably good behavior anyway.

@emichael
Copy link
Owner Author

emichael commented Nov 5, 2023

Yes, that was intentional.

Alright, cool. I'll merge this. Let me know how it works and if people find it useful

@emichael emichael merged commit 5ba97c9 into master Nov 5, 2023
8 checks passed
@emichael emichael deleted the feature/message-timer-visibility branch November 11, 2023 22:30
wilcoxjay pushed a commit to wilcoxjay/dslabs that referenced this pull request Dec 6, 2023
Adds a toggle pane to the left side of the viz that shows/hides events
in the Events pane the right side. The current event is never hidden.
The toggle pane is updated as new event types are encountered.

Fixes emichael#59.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:visualizer Issues and PRs relating to the new visualization tool enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants