grafana/pkg/services/featuremgmt
Nick Richmond 559fab9dc6
Prometheus: Fuzzy search for metric names in Code Mode (#85396)
* perf: limit metric names in Code Mode suggestions

* feat: configurable metric names limit

* feat: code mode autocomplete info/disclaimer

* chore: put new functionality behind new feature toggle

* refactor: avoid type assertions

* refactor: avoid explicit `any`

refactor: type guards

* refactor: type guards

* chore: add testdata results

* fix: add missing feature toggle guard

* perf: prefer array access to `Array.prototype.at`

* test: add missing config override

* test: refactor for brevity & clarity

* perf: avoid unnecessary mapping

* chore: undo testdata changes

* fix: use correct limit; perf optimizations

* refactor: avoid unnecessary `async`s

* types: simplify

* test: add missing tests

* fix: avoid hardcoding

* test: update mock path

* docs: fix typo

style: remove formatting artifact

style: remove formatting artifact

style: remove formatting artifact

* fix: event scope regression

* style: refactor for clarity

* refactor: prefer `useCallback` to in-effect handler

* refactor: simplify & broaden `filter`

* refactor: rename file to keep with conventions

* chore: mirror Prometheus package changes in app

* refactor: prefer no `@ts-ignore`

* chore: update betterer results

* docs: use type in TSDoc `@link` without `@ts-ignore`

* test: add missing provider

* test: fix jest mock path

* fix: display disclaimer in empty input case
2024-04-04 23:38:23 +03:00
..
strcase Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
codeowners.go Chore: Move BI feature flags to Dataviz (#82224) 2024-02-10 02:24:08 +02:00
manager_test.go Feature Toggles: Remove DocsURL from FeatureFlag struct (#79774) 2024-01-31 08:25:16 +02:00
manager.go Feature Toggle Management: allow editing PublicPreview toggles (#81562) 2024-02-09 18:48:56 +02:00
models.go FeatureFlags: manage creation/modification times automatically (#82131) 2024-02-09 15:34:12 -08:00
registry.go Prometheus: Fuzzy search for metric names in Code Mode (#85396) 2024-04-04 23:38:23 +03:00
service_test.go FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407) 2024-01-28 15:22:45 -08:00
service.go FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled (#81407) 2024-01-28 15:22:45 -08:00
toggles_gen_test.go Page: Use browser native scrollbars for the main page content (#82919) 2024-03-06 15:06:47 +00:00
toggles_gen.csv Prometheus: Fuzzy search for metric names in Code Mode (#85396) 2024-04-04 23:38:23 +03:00
toggles_gen.go Prometheus: Fuzzy search for metric names in Code Mode (#85396) 2024-04-04 23:38:23 +03:00
toggles_gen.json Prometheus: Fuzzy search for metric names in Code Mode (#85396) 2024-04-04 23:38:23 +03:00
usage_stats_test.go FeatureFlags: Use interface rather than manager (#80000) 2024-01-09 10:38:06 -08:00
usage_stats.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00