Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(menu): make it easier to distinguish menu choices in analytics s…
…oftware like Heap -CHANGELOG- This change adds the value of the menu item's `text` property under the attribute `data-text`, to make it possible to distinguish which menu option was selected, in analytics apps like Heap. Note that if you are putting any kind of sensitive data in the `text` property of menu items, and you are using a service for analysing user behaviour, such data could be sent to your analytics service, which may be a violation of GDPR and other regulations. If including such data in the menu item is absolutely necessary, we recommend including it in the menu item's `data-secondary-text` property instead.
- Loading branch information