mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 08:49:27 -04:00
## Summary - Avoid constructing the capabilities passed to core's capability provider for each request - Add proper *explicit* lock mechanism to the feature registry - Some other minor cleanup, probably #### Before: (look at the `getFeatureUICapabilities` block) <img width="1629" alt="CleanShot 2023-03-26 at 09 55 45@2x" src="https://user-images.githubusercontent.com/1532934/227951476-1edbd2bc-f60b-4529-8c22-ff0d9511b2b8.png"> #### After <img width="1640" alt="CleanShot 2023-03-27 at 14 58 31@2x" src="https://user-images.githubusercontent.com/1532934/227951533-dbe675c3-7089-4b36-86a9-584a3e97c860.png"> |
||
---|---|---|
.. | ||
__snapshots__ | ||
feature_privilege_iterator | ||
routes | ||
feature_registry.test.ts | ||
feature_registry.ts | ||
feature_schema.ts | ||
index.ts | ||
mocks.ts | ||
oss_features.test.ts | ||
oss_features.ts | ||
plugin.test.ts | ||
plugin.ts | ||
types.ts | ||
ui_capabilities_for_features.test.ts | ||
ui_capabilities_for_features.ts |