mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
- Closes https://github.com/elastic/kibana/issues/188508 ## Summary This is a follow up PR for https://github.com/elastic/kibana/pull/187160#pullrequestreview-2181768414. It stores the toggle state in local storage under `fieldDescription:truncateByDefault`. To test, open field popover from a sidebar to see ECS field description or a custom field description. By default it should be truncated. But after expanding (by clicking on the short description), it will expand automatically when opening another field popover next time. Please note that it does not affect field descriptions in DocViewer popover as they are always shown in full length there. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios |
||
---|---|---|
.. | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json | ||
types.ts |
@kbn/field-utils
Utils for rendering fields