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

Option to disable react and reply message buttons #280

Closed
khanilov opened this issue May 18, 2020 · 6 comments
Closed

Option to disable react and reply message buttons #280

khanilov opened this issue May 18, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@khanilov
Copy link
Contributor

  • components: MessageList and Message
  • stream-chat-react version 0.11.18
  • import method es
  • react version 16.3.1

What is happening?

There are no option to disable reply and react buttons in Message component.

What should be happening?

Add reply and react options to messageActions, in order to control this two features.

@jaapbakker88
Copy link
Contributor

@khanilov you can disable these features on the Stream dashboard, this should hide the options from the component.

@khanilov
Copy link
Contributor Author

@jaapbakker88 I was told, that in dashboard it's only possible to disable options completely.
In our case we need to disable react & reply depending on some conditions, like user role.

@jaapbakker88
Copy link
Contributor

@khanilov alright, willl look into this.

@khanilov
Copy link
Contributor Author

khanilov commented May 22, 2020

@jaapbakker88 is it possible to give any timetable on this feature? Thanks.

I can help, but I have a couple questions.

@jaapbakker88
Copy link
Contributor

@khanilov right now we're refactoring a bunch of component and taking it on as soon as we're ready to work on the relevant components. Of course you can help, what questions do you have?

@jaapbakker88
Copy link
Contributor

@khalinov, this was added in version 2.6.0.

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

3 participants