FriendsOfFlarum / byobu

Well integrated, advanced private discussions for your Flarum forum.
https://discuss.flarum.org/d/4762-flagrow-by-bu-well-integrated-advanced-private-discussions
MIT License
54 stars 33 forks source link

Leave a discussion? #5

Closed jordanjay29 closed 4 years ago

jordanjay29 commented 7 years ago

Especially a discussion with multiple recipients, how would a participant leave?

Could they retain a copy of the messages thus far?

And could they be added back in?

Is it better to make this simple (move your feet, lose your seat; aka when you leave it's all gone) or complex to preserve ownership of messages?

luceos commented 7 years ago

Very good question, food for thought.

luceos commented 7 years ago

I'd like to suggest a "leave this discussion" with the following challenges:

jordanjay29 commented 7 years ago

I'm wondering whether the Ignore function of the Subs extension already implements this feature to satisfaction.

luceos commented 7 years ago

I might have a solution for this. The recipients table holds information when a recipient was removed (removed_at). If I would prioritise the state of a removed user of his access from a group state, he should not be able to participate anymore. That's the backend side of the solution, the frontend side is way more complex because the interface supports adding recipients, not blocking them.. A solution for that would be to add another autocomplete recipient search based on whether the recipient autocomplete has any groups.

Thoughts?


On further note, I forgot this was about a voluntary decision by a recipient. In that case it might be easy to solve from the frontend by simply adding the "leave this discussion" button.

luceos commented 7 years ago

In case of blacklisting a user (groups doesn't make too much sense). We could create another column on the table called blacklisted_at, a button on the PD that says "Blacklist recipient" and re-use the recipient modal to select a user to blacklist.

luceos commented 7 years ago

Given the scenario that a user leaves a discussion voluntarily, we set a column value left_at.

Eldenroot commented 7 years ago

@luceos any progress? Last feature which is needed to make this extension perfect ;)

luceos commented 7 years ago

@pflstr you have questions, I understand. But these are unrelated to this issue, feel free to open a new issue. I'll be deleting your reply once you did. I sadly can't do this for you.

@Cu8eeeR as soon as we get to it. I'm sorry I can't give you any indication yet.