Ghost/apps
Kevin Ansfield 92a8a53a95
Added lazy-loading of admin auth in Comments UI (#19799)
closes ENG-711

When an Admin is authenticated in Comments-UI we only add moderation options to the displayed comments so we don't need to pre-emptively load the `admin-auth` iframe and make the `/ghost/api/admin/users/me/` request until some comments are actually visible.

- used `state.comments.length` property to defer rendering of the admin auth frame until comments have been fetched (after box is scrolled into view) and the count is > 0
2024-03-05 15:57:20 +00:00
..
admin-x-demo Update Types packages 2024-01-15 21:04:04 +01:00
admin-x-design-system Input field visual design update (#19693) 2024-02-14 13:00:16 +01:00
admin-x-framework 🐛 Fixed trailing slashes not handled in Settings (#19640) 2024-02-01 19:23:22 +02:00
admin-x-settings Reorganized and improved meta data settings so it's easier to parse DES-159 2024-03-05 11:23:42 +00:00
announcement-bar Update dependency vite to v4.5.2 [SECURITY] 2024-01-22 09:25:09 +01:00
comments-ui Added lazy-loading of admin auth in Comments UI (#19799) 2024-03-05 15:57:20 +00:00
portal Portal signup page spacing fixes (#19791) 2024-03-04 16:27:30 +01:00
signup-form Update dependency tailwindcss to v3.4.1 (#19395) 2024-02-13 14:28:02 +00:00
sodo-search Update dependency vite to v4.5.2 [SECURITY] 2024-01-22 09:25:09 +01:00