-
Notifications
You must be signed in to change notification settings - Fork 13
Uday/feat/customize debug search count #39
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
Merged
mxgrey
merged 7 commits into
open-rmf:main
from
uday-kalyan-s:uday/feat/customize_debug_search__count
Mar 19, 2026
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
38d30e9
add state management for debug_ticket_size
uday-kalyan-s 4b9cf82
added UI
uday-kalyan-s 33349f3
made the code use the new state
uday-kalyan-s 03fef14
put the buttons together to make it look better
uday-kalyan-s 9842161
split function, removed TODO and added clearing of trajectories
uday-kalyan-s 19be2ab
switched from button to slider
uday-kalyan-s 6b7a81f
vertically aligned slider
uday-kalyan-s File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this 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.
While trying this out I found it a bit tedious to repeatedly click the
-or+to change the count. I wonder if we could change this to a text input that gets interpreted as a number. It would be better to do a NumberInput, but we're currently relying on a fork oficed, so I suspect this more recent version oficed_awwill be incompatible (edited) without a considerable amount of work.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.
Ohhh right yeah that seems like a much better option. I'l switch over to that then
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.
@mxgrey I'm running into a version dependency issue on all versions of iced_aw > 0.5 :(
and updating rfd gives
Should I just move on with the v0.5 iced_aw? It does support number_input but its been through a lot of bug fixes in each version
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 so sorry, there was a typo in my earlier comment which I've edited to correct. I was expecting the newer versions of
iced_awto be incompatible due to our fork, and that's exactly what you've found 😭If you're able to find any version of
iced_awthat hasnumber_inputand is compatible with the fork we use, that would be fantastic. I'm definitely not expecting the newest version oficed_awto work without us doing a major overhaul of our fork oficedand probably other dependency migrations.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.
Ohhh lolll. Thats alright! I'l just switch over to 0.5 then. it seems to be exactly what we are looking for
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.
Maybe as a last resort we could use a slider that ranges from 1 to 100 or 1000. It's certainly not ideal, but it's a significant improvement over the previous fixed value of 10.
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.
Yepp. I guess it's a bit hard to control, but I doubt anyone's looking to set a fine-grained value of this. Anyways, can you pls check the latest commit once to see if it's fine.
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.
A problem I'm noticing with the slider is that the text to its left will change size while sliding, which changes the spatial range of the sliding bar and creates an unstable feedback loop:
slider_problems.mp4
Moving the slider by a single pixel can make the numerical value jump around wildly. Instead of this side-by-side approach we should place the slider under the text, like you see for the other numerical sliders in the app:
That way when the slider changes the displayed number, it's not also changing the space of the slider itself.
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.
Ohhhh rightt yeah fairss that's true. I thought the issue was a glitch in the iced library 💀 . I'll change that bit over to a vertical layout then
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.
Yepp. Now it works much better thanks!!

Although it doesnt look the best asthetically 😅 , but im not sure if theres any other option