discourse/plugins
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
..
chat DEV: Added chat api to remove secondary actions (#21982) 2023-06-08 11:37:50 -03:00
discourse-details Update translations (#21583) 2023-05-16 19:40:01 +02:00
discourse-lazy-videos DEV: Fix random typos (#21638) 2023-05-18 15:34:46 +02:00
discourse-local-dates DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
discourse-narrative-bot FIX: Send TL2 promotion message to correct user (#21978) 2023-06-07 22:51:24 +03:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll Update translations (#21583) 2023-05-16 19:40:01 +02:00
styleguide Update translations (#21827) 2023-05-31 09:15:16 +02:00