Add an ActiveUsers island

Created on 15 July 2025, 14 days ago

Problem/Motivation

Add real-time collaboration Active is planned for beta and will be a wow-factor feature.

However, we are not 100% ready for this yet. User ID is now stored in logs, thanks to 📌 [1.0.0-alpha2] Better logs Active . But we miss:

  • storage of step dates as a timestamp instead of a formatted string
  • storage of the date of the first date

So, we need to start the implementation to check everything is OK

Proposed resolution

Add an ActiveUsers island:

Visibility rules:

  • an active user is an user with a step in the last 15 minutes. We don't count users "on" the builder, but the users doing stuff with the builder.
  • if no active user, show nothing
  • if only the current user is an active user, show nothing
  • if the current user is not among the active users, show it anyway with others
  • always show the active user at the first place

For this, we need to add a StateManagerInterface::getUsers(string $builder_id): array method returning an array of all users which have authored a step in present, past or future. Each key is an User entity ID, each value is a timestamp of the most recent step.

This is also the opportunity to improve LogsPanel by:

  • removing the hash
  • a shorter formatting of the date when younger than 24 hours

Remaining tasks

This proposal has two issues:

Also, do we add this island by default in config?

Feature request
Status

Active

Version

1.0

Component

UI/UX/Islands

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024