GithubHelp home page GithubHelp logo

Comments (5)

jech avatar jech commented on July 25, 2024

Agreed. This is also needed for mainline Galène (the coloured blobs should reflect operator status).

I think we should extend the "user" message to carry permissions. Make sure a "user" message of kind "change" is sent when a user's permissions change.

from galene.

jech avatar jech commented on July 25, 2024

https://lists.galene.org/galene/[email protected]/

from galene.

jvanveen avatar jvanveen commented on July 25, 2024

Sounds good! I like the idea of a state object for custom actions like hand raised. Could probably be used as well to indicate a user's muted state then.

from galene.

jvanveen avatar jvanveen commented on July 25, 2024

I made a draft context menu for users and group using two kebab menus. Not really sure if I identified all features correctly; just something to get started. Running at https://beta.pyrite.video/groups/pyrite (pyrite/1234). Probably needs some more work. Also, it got me thinking that some room-related state may be useful to have as well. E.g. the items in the room context mostly would have an 'on' or 'off' state.

from galene.

jech avatar jech commented on July 25, 2024

This was implemented in f0a39fc and 3ba2394. There is now a dictionary serverConnection.users that contains usernames, permissions and statuses. There is a new userAction called setstatus that sets a user's status; for now, a user can only set their own status, I'll add the ability for admins to set other users' status if there is demand.

Statuses are not interpreted by the server, so you may use any names you wish. It would be good if we could coordinate on a common set of statuses, to avoid confusion, and perhaps allow our clients to interoperate.

from galene.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.