Comments (8)
Alternative (let's call this variant B):
- User types '/' to initiate search
- User starts to type a regular expression / prefix
- rosmon displays all matching nodes, with the first one "selected" (highlighted). Pressing tab selects the next node from the result list.
- The user can type further or select a node using enter. Pressing escape aborts the process.
I guess that's more in line with how other tools do it.
from rosmon.
I implemented a draft solution in #97. Let's continue the discussion there. Beta-testers welcome!
from rosmon.
I've been thinking about a search mode for a while now (like less/vi, triggered with '/'), which would reduce the list of nodes to a number that is manageable using the current shortcut system.
Do you have a better/different idea?
from rosmon.
I like the idea with the search mode similar to vim.
from rosmon.
Search would be great! Another benefit of the search is less time and difficulty to perform actions on a node.
For example: as a new user, if I wish to perform an action to the move_base
node, I instinctively type 'm', when in fact it is assigned node key 'a', then I have to look at the list and correct my entry.
from rosmon.
Since there is interest in this, let's try to brainstorm. What do you think about the following UI flow:
- User types '/' to initiate search
- User starts to type a regular expression / prefix (needs to be decided)
- rosmon displays only the matching nodes, but in the same UI as before.
- At any point, the user can press enter to "fix" the search and use the usual node keybindings (a-z) to access the search results.
- Another enter or escape exits the search mode.
The drawback that I see is that we change node keybindings, i.e. your move_base
node would be accessible using 'g' in the normal mode, but then using 'a' if you search for move_base
.
What do you think? Can you imagine a better alternative?
from rosmon.
Variant b sounds quite nice! 👍
from rosmon.
Fixed in #97.
from rosmon.
Related Issues (20)
- Option to accept node respawns HOT 10
- logwarn, logerr behavior HOT 4
- YAML merge key parsing not correct under lists/array environment HOT 2
- RTABMap does not subscribe topics well after stopping and restarting rosmon HOT 6
- Wrong catch_ros include dir in certain situations
- Unexpected log file(s) when using mon to launch a file containing python nodes HOT 6
- FD leak when processes respawn HOT 2
- Could not find a configuration file for package "Qt5Widgets" that exactly matches requested version "5.10.1" HOT 3
- Nested Global Group Namespace
- Compile warnings HOT 1
- Wrong YAML whitespace parsing inside helper functions like deg() HOT 1
- Error when running rosmon inside launch file HOT 2
- Start Stop All nodes from rosservice HOT 9
- output="log" is ignored with --disable-ui HOT 2
- New noetic release HOT 2
- Std out issue since latest noetic update HOT 4
- Core Dumped for too many open files HOT 3
- using mon with systemd type service HOT 2
- Add options for console logging Node name right justification HOT 2
- Color format issue with newer tag and --disable-ui HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosmon.