Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add presence support #562

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

nexy7574
Copy link

@nexy7574 nexy7574 commented Dec 21, 2024

This PR aims to add:

  • Display users' presence (online/offline/unavailable)
  • Display users' status message
  • Setting the current user's presence?
  • Setting the current user's status message?

Some screenshots:
User with presence and a status
User with just a presence
User who does not federate presence

nexy7574 and others added 3 commits December 22, 2024 00:30
This is not the final design, I am waiting for my mautrix-go PR to be merged.
* Change the display of presence setter to use a list of the three statuses for accessibility, rather than the (arguably cooler) grid of three buttons
* Make the status message setter fit better with the gomuks theme
* added a `clear` button in addition to the status setter
* Seperated the edit/display into seperate components, and put them in their own file
* Added the update_presence event  to the backend
* Presence indicators are now customisable SVG circles, instead of emojis
* some more stuff that I probably forgot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant