Skip to content

Presence ​

Following a colleague ​

Click somebody's face in the avatars to follow them: the page brings whichever field they are in into view as they move. Click again, or do anything yourself, to stop. In code: form.collaboration.follow(person.client).

Who is on each record of a list ​

Show, in a list or a table, who is on each record right now:

blade
<x-collaboration::record-presence :presence="Collaboration::presence($posts)">
    @foreach ($posts as $post)
        <tr><td>{{ $post->title }}</td><td><x-collaboration::record-people :record="$post->id" /></td></tr>
    @endforeach
</x-collaboration::record-presence>

Only records this person may view are included, and the faces refresh every few seconds.

Released under the MIT License.