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

Be able to reorder channels #353

Open
leifriksheim opened this issue Jan 26, 2023 · 4 comments
Open

Be able to reorder channels #353

leifriksheim opened this issue Jan 26, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@leifriksheim
Copy link
Contributor

The admin (creator) of the community should be able to reorder channels.
Use this CRDT algorithm: https://madebyevan.com/algos/crdt-tree-based-indexing/

@leifriksheim leifriksheim added the enhancement New feature or request label Jan 26, 2023
@fayeed
Copy link
Member

fayeed commented Jan 26, 2023

Won't using CRDT be overkill since we only have one admin?

@leifriksheim
Copy link
Contributor Author

I think it would be good to have this implemented so that when we add the ability to add admins, it's already there. I think we could pretty soon create a simple way to add admins. Just let the creator of a community have a "add admin" in the settings tab. Then adding a link on the perspective linking the did to an admin role. The everywhere we check for isSameAgent use something like isAdmin instead.

@leifriksheim
Copy link
Contributor Author

We need validation rules, but we could build out the infrastructure on the frontend before we have all that ready.

@fayeed
Copy link
Member

fayeed commented Jan 26, 2023

I also think just saving the list of channel Id as links by the ad4m would work, since the link language would handle sorting the links for us.

@leifriksheim leifriksheim assigned bnhovde and unassigned jdeepee and fayeed Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants