discourse/app/assets/javascripts/admin/addon
Joffrey JAFFEUX 043b4a4187
FIX: replaces data-tooltip usage by <DTooltip /> (#24062)
As much as possible I would like us to avoid having to go the with a global event listener on click/mouseover. For now I have removed all cases of `data-tooltip`, if we clearly identify a use case of a global event listener we might reconsider this.

The following changes are also included:
- by default tooltips won't attempt to focus first focusable element anymore
- tooltip will now use `cursor: pointer` by default
- a new service has been introduced: `InternalTooltip` which is responsible to track the current instance displayed by a `<DTooltip />`. Portal elements when replaced are not properly cleaned and I couldn't figure out a way to have a proper hook to ensure the previous `DTooltipInstance` is properly set as not expanded; this problem was very visible when using a tooltip as interactive and hovering another tooltip, which would replace the interactive tooltip as not closed.
2023-10-23 21:09:02 +02:00
..
adapters DEV: Migrate remaining admin classes to native syntax (#20717) 2023-03-17 12:25:05 +00:00
components FIX: replaces data-tooltip usage by <DTooltip /> (#24062) 2023-10-23 21:09:02 +02:00
controllers FIX: display and link to correct grant_by users for granted badges (#24021) 2023-10-23 14:46:10 +08:00
helpers DEV: replace registerUnbound usage with default exports (#23802) 2023-10-19 14:28:25 +01:00
lib DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
mixins DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
models DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
routes DEV: Add new experimental admin UI route and sidebar (#23952) 2023-10-19 14:23:41 +10:00
services DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
templates FIX: replaces data-tooltip usage by <DTooltip /> (#24062) 2023-10-23 21:09:02 +02:00