discourse/app/assets/stylesheets/common
Alan Guo Xiang Tan e1ba4c6b73
PERF: Client side triggering multiple requests when opening composer (#21823)
What is the problem?

There are two problems being fixed here:

1. When opening the composer, we are seeing multiple requests made to
   the `/composer_messages` endpoint. This is due to our use of the
   `transitionend` event on the `#reply-control` element. The event is
   fired once for each transition event and the `#reply-control` element
   has multiple transition events.

2. System tests have animations disabled so the `transitionend` event
   does not fire at all.

What is the solution?

Instead of relying on the `transitionend` event, we can instead just
observer the `composerState` property of the `ComposerBody` component
and trigger the `composer:opened` appEvent with a delay that is similar
to the transition duration used for the `ComposerBody` component.
2023-05-31 20:58:45 +08:00
..
admin FIX: Remove unneeded RTL-specific CSS rules 2023-05-31 01:27:38 +03:00
base PERF: Client side triggering multiple requests when opening composer (#21823) 2023-05-31 20:58:45 +08:00
components FIX: Hashtag CSS class color specificity (#21766) 2023-05-26 12:16:34 +02:00
foundation UX: increase sidebar font-size (#21704) 2023-05-24 11:00:20 -04:00
modal FEATURE: integrate DnD with user status (#19410) 2022-12-16 16:35:39 +04:00
select-kit UX: loading slider for select-kit filter (#21401) 2023-05-08 14:56:46 -04:00
d-editor.scss DEV: Show form templates in the composer (#21190) 2023-05-29 14:47:18 -07:00
font-variables.scss FIX: Use rem for font sizes in post headings (#13720) 2021-07-14 11:15:58 +10:00
input_tip.scss DEV: Refactor popup-tip component (#15257) 2021-12-13 11:22:02 -05:00
printer-friendly.scss DEV: Remove lazy-yt and replace with lazy-videos (#20722) 2023-03-29 11:54:25 -04:00
software-update-prompt.scss UX: Add hover style to refresh-page dismiss button (#15711) 2022-02-01 20:04:46 +01:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: use relative units to prevent timeline crop (#20943) 2023-04-04 09:40:43 -04:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00