Summarise changes in the activity log display #425

Closed
opened 2024-12-05 18:47:35 +00:00 by erictapen · 6 comments
erictapen commented 2024-12-05 18:47:35 +00:00 (Migrated from github.com)

tmp wOxkuJahh3

![tmp wOxkuJahh3](https://github.com/user-attachments/assets/fad9f5b4-b4d1-4795-b83b-8040f8c06b8d)
fricklerhandwerk commented 2024-12-05 20:16:07 +00:00 (Migrated from github.com)

Ah, this is because we're not removing them in one transaction since the htmx stuff. How about debouncing and batching the removal, e.g. by only sending a bulk request when

  • the suggestion scrolls out of view
  • when the state changes
  • some timer runs out?
Ah, this is because we're not removing them in one transaction since the htmx stuff. How about debouncing and batching the removal, e.g. by only sending a bulk request when - the suggestion scrolls out of view - when the state changes - some timer runs out?
erictapen commented 2024-12-06 08:49:01 +00:00 (Migrated from github.com)

Mh I don't like breaking the promise, that changes are immediate. What if the user closes the browser tab before scrolling further?

Mh I don't like breaking the promise, that changes are immediate. What if the user closes the browser tab before scrolling further?
fricklerhandwerk commented 2024-12-06 10:00:08 +00:00 (Migrated from github.com)

Yeah, I was just thinking we'd have to put roughly the same logic for grouping changes into either component. But I guess if we issue a random token with each static page and send it back on change, grouping activities by that token will be a pretty good approximation.

Yeah, I was just thinking we'd have to put roughly the same logic for grouping changes into either component. But I guess if we issue a random token with each static page and send it back on change, grouping activities by that token will be a pretty good approximation.
erictapen commented 2024-12-06 10:09:07 +00:00 (Migrated from github.com)

Ah I was just thinking about grouping by time delta tbh. Everything from the same user within 5min distance should be grouped together.

Ah I was just thinking about grouping by time delta tbh. Everything from the same user within 5min distance should be grouped together.
alejandrosame commented 2024-12-08 17:40:21 +00:00 (Migrated from github.com)

If we are to group by time delta, how should the ISO timestamps be displayed?

For example, should it be displayed as the first and last timestamp like 2024-11-26T11:38:41+00:00 to 2024-11-26T11:43:41+00:00?

If we are to group by time delta, how should the ISO timestamps be displayed? For example, should it be displayed as the first and last timestamp like `2024-11-26T11:38:41+00:00 to 2024-11-26T11:43:41+00:00`?
fricklerhandwerk commented 2024-12-08 18:11:24 +00:00 (Migrated from github.com)

I'd keep it simple and only display the last one.

I'd keep it simple and only display the last one.
Sign in to join this conversation.
No description provided.