User story #10765
openAutocompletion in Rudder UI
Description
This is a major productivity killer or error source at the moment. (depending on if you take measures to avoid the errors)
Any generated configuration object or named item (so, not servers but rules, directives, techniques, methods, variables, classes) should be easily referenced.
It would also be good to have a minimal level of IDE (handle brackets and operators)
The common cfengine classes like sys.fqhost should be included.
namespaces should probably be stripped away for the real index.
So you type ru and can only complete to "rule." which then autocompletes based on another stemmer result list thing.
and if you type "abc" that should produce both "rule.*abc*def" and "directive "directive.super*abc*rocket", but not just a host named abc.
Meaning, hosts should not be a host or anything, because it would be just too much.
- If a new object is added it needs to notify + inject / delete in the autocomplete tables. Some half-assed thing would be dangerous and misleading.
- if the UI caches those results, the server must have a way of invalidating or injecting / deleting, since there might be multiple people working in the UI.
Updated by Benoît PECCATTE almost 7 years ago
- Target version set to Ideas (not version specific)