discourse/plugins
Régis Hanol 35656a1d5f
DEV: attempt to fix some system spec flakes (#30182)
Since 3e7f0867ea, I started seeing some specs fail due to the following error

```plain
Error occurred while rendering: top-level application > discourse-root > topic > discourse-topic > topic-navigation > plugin-outlet > plugin-connector > topic-presence-display

/assets/plugins/discourse-presence.js - Uncaught TypeError: Cannot destructure property 'whisperer' of 'this.currentUser' as it is null.
```

For some reasons I can't fanthom, the presence components seem to be rendered even though they're using outlets that are only rendered when a user is signed in... 🤷‍♂️

Lost too much time trying to reproduce so I ended up adding this `if (!this.currentUser) { return; }` condition to both "presence display" component to (hopefully) fix these flakes.
2024-12-09 18:01:22 +01:00
..
automation DEV: Correctly lint bundled plugins admin directory (#29999) 2024-12-02 16:31:21 +00:00
chat FIX: chat channel sort order consistency in sidebar (#30180) 2024-12-09 15:36:41 +04:00
checklist DEV: Consolidate i18n import paths (#29804) 2024-11-19 20:45:18 +00:00
discourse-details DEV: Use qunit-dom's hasValue wherever possible (#30018) 2024-12-01 20:37:24 +01:00
discourse-lazy-videos
discourse-local-dates DEV: refactor composer-editor/d-editor, a little more (#29973) 2024-12-02 18:24:14 -03:00
discourse-narrative-bot Update translations (#30062) 2024-12-04 11:59:28 +01:00
discourse-presence DEV: attempt to fix some system spec flakes (#30182) 2024-12-09 18:01:22 +01:00
footnote Update translations (#30062) 2024-12-04 11:59:28 +01:00
poll DEV: Update more deprecated Font Awesome icon names (#30163) 2024-12-08 22:14:28 +01:00
spoiler-alert DEV: Use qunit-dom's hasValue wherever possible (#30018) 2024-12-01 20:37:24 +01:00
styleguide FIX: Tooltip styleguide triggers not rendering options (#29926) 2024-11-25 16:00:52 -06:00