-
Notifications
You must be signed in to change notification settings - Fork 20
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
Sentence highlightment #102
Conversation
Cool, thanks for the input and this idea - looks really cool, I'll look into the code changes! As for your questions:
I don't think so. It reloads the full GUI also when you move your cursor as far as I know...
This would be worth looking into! Could be implemented with a sync-channel that always sends a value when a refresh is requested. We would then replace this line in std::thread::sleep(Duration::from_millis((1000.0 / MAX_FPS) as u64)); with something like this: if let Ok(_) = request_refresh_rx.recv_timeout(Duration::MAX) {
// just wait until a refresh is requested
} could also use |
Create plot settings tab and highlights settings tab. - The highlights settings allow user to set until 4 regex sentence to find in content and highlight them with predefined color - Edits the plot settings to hide the plot view if number of plot equals 0 Signed-off-by: stropee <[email protected]>
I have rebased your main since you did the optimization for the refresh. Thanks ! |
Thanks a lot for the work, this looks great! However, I think the two "tabs" for plot and highlighting are not super obvious. I don't have a clear picture of what would improve it, maybe leaving the plot settings as default and adding a "Advanced Settings" button which opens a settings window with the highlighting settings? or having the "Plot settings" and the "Highlighting Settings" as collapsible options if that works with egui? Because right now they are just two buttons that switch between modes, but it is not clear what they do, before one presses the buttons. What do you think? |
I agree that i was myself not convinced by my UI proposal, I will try to work on it as soon as possible. Thanks for you feedback ! |
maybe something like ui.collapsing("Highlighting Settings", |ui| {
// add settings
} could work? But I think we need to anyway touch up the GUI to make the settings scrollable, if the window/screen is too small |
Signed-off-by: stropee <[email protected]>
…al, Plot and Highlight Signed-off-by: stropee <[email protected]>
Cool, I think this will work nicely with my other PR where the Debug Info will also be a collapsible menu item: #106 Please supply a new entry into the changelog. I'll merge it, once I'm able to test it with hardware! |
Signed-off-by: stropee <[email protected]>
I have edit the changelog. |
Signed-off-by: stropee <[email protected]>
Sorry for the delay, thanks a lot for the contribution!! |
Hello there !
Even if I'm I huge fan of minicom I was looking for a serial monitor that allow me to perform sentence highlightment.
I find you plots feature interesting even if i haven't use it so far but i'm sure I will.
I'm still not a rust Guru and this is still work in progress but i wanted to share it with you and get your opinions on it.
I have concern on how much the sentence search using regex will load the CPU.
For sure it will be possible to save previously found sentence and only doing the search process on new lines.
Also I was wondering if
Here is some capture i have done :
ps : For the screenshot I got no "publicly" shareable UART trace so i force the content with same content as your screenshot, that why there is no graph on the screen
Thanks
Simon