Auto-complete oddities when filtering fields
See original GitHub issueDescription
Under some circumstances, attempting to use the auto-completion on vector fields (as in adding lines for plots or trying to show a particular field in the Raw Messages panel) works poorly.
The below is all based on the state of studio.foxglove.dev as of 2022.05.26 (1.12.1-dev), using log.mcap.gz
Steps To Reproduce
These are two separate issues (not ordered steps):
- Fill in
"/localizer frc971.IMUValuesBatch".readings[:]
– no auto-complete suggestions will be forthcoming - Start typing
imuvalues
. The autocomplete suggests will include"/localizer frc971.IMUValuesBatch".readings.accelerometer_x.
(which is incorrect in two ways–(1) thatreadings
is a vector and (2) thataccelerometer_x
is a scalar field and so the trailing.
is misleading).
Expected Behavior
- Once you fill in
[:]
autocompletion should still work. - Autocompletion options should always be valid.
Actual Behavior
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Allow combining filtering fields in autocomplete results too
E.g., we have a filter created to combine user name and surname fields. But autocomplete includes only one field (name or surname) in...
Read more >Material Autocomplete only filtering with getOptionLabel field
currently working with Google material-UI autocomplete component. it is only filtering on the "getOptionLabel" option field when I type ...
Read more >Using Autocomplete Exposed Filters with Views
Recently I was working on a site and was tasked with adding a author filter to a view page that listed out blog...
Read more >Filtering results with tags | Autocomplete - Algolia
When selecting a filter from a source, you want to display them so that the user knows what's impacting their search. The Tags...
Read more >How to Add Autocomplete Functionality to Text Filters in Views
Views Autocomplete Filters is a simple yet powerful module that allows you to add autocomplete functionality on any text filter on a Views ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah making your id an int will at least give you some suggestions. It looks like offering suggestions following a user-entered
[:]
is going to require reworking the autocomplete logic a bit given our current grammar.The oddities described here have been fixed in #3500 so I’m closing this bug.
We provide no completion for slices currently so that part would be a feature request.