Skeleton loader is active in chat drawer

Hello,

I place this in ux because it is works but seems it is only active in drawer and there was a commit to shows skeleton only on initial load. PERF: applies optimisations on chat-live pane by jjaffeux · Pull Request #20532 · discourse/discourse · GitHub and it seems there is a problem with positioning too but it is maybe cause the loader.

Mar-16-2023 18-47-39

Thanks :slightly_smiling_face:

2 Likes

I’m a bit unclear about what expectation you have here which is not being met.

Are you seeing the skeleton when you don’t expect to ? Or are you expecting to see the skeleton in some case but not seeing it?

2 Likes

On full page chat desktop or mobile this is not use skeleton because of performance.

can this skeleton load icon be made for normal pages as well?

Oh, OK. I think I understand.

The skeleton itself is a “feature”. We show it when messages are not yet loaded to improve the experience of scrolling.

I think what you’re pointing out here is that there is an unexplained and/or unexpected performance difference in loading earlier messages when in the drawer mode, and your evidence of that is that the skeleton appears.

Is that what your getting at?

I think skeleton should only be active on initial load when you open a channel. The commit I linked above contains this on description “show skeleton only on initial load” which works fine on full page chat desktop and mobile. Only drawer keeps skeleton for this purpose and this is why I think this is not by design. :slightly_smiling_face:

Now it uses always when you click to show a reply or a link to a previous message in the same channel even if the message is loaded. Here is an example the replied message is already loaded.

Mar-17-2023 07-12-28

1 Like

Im pretty sure I fixed this the other day, I just tried and it didnt cause a full reload to click a reply.

EDIT: apparently it works on mobile, but not on desktop, weird. Will have a look.

4 Likes

This should have been fixed :+1:

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.