discourse/plugins/chat/test/javascripts
Sérgio Saquetim e306a521fd
DEV: Added chat api to remove secondary actions (#21982)
In some cases, plugins may want to hide some of these actions
at all times, overriding the rules for canX with hiding these
buttons. To achieve this, a plugin can call the API
`removeChatComposerSecondaryButtons` and pass the list of button
IDs that should be removed as argument, like the example below:

```
withPluginApi("1.2.0", (api) => {
  api.removeChatComposerSecondaryActions("copyLink", "select");
});
```

---------

Co-authored-by: Martin Brennan <martin@discourse.org>
2023-06-08 11:37:50 -03:00
..
acceptance DEV: Fix and unskip flaky specs (#22005) 2023-06-08 18:28:42 +04:00
components FEATURE: Add user status to inline mentions in chat (#20564) 2023-05-24 16:55:20 +04:00
helpers DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
integration/components/user-menu DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
unit DEV: Added chat api to remove secondary actions (#21982) 2023-06-08 11:37:50 -03:00
widgets DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
chat-fixtures.js DEV: Rearchitect chat tracking state (#21550) 2023-05-16 14:51:13 +02:00