discourse/app/assets/javascripts/float-kit
Jan Cernik 8dd883d4e5
DEV: Refactor topic admin menu to use <DMenu> (#26678)
* DEV: Refactor topic admin menu to use `<DMenu>`

This PR also introduces a new plugin API to add buttons to the topic admin menu

```javascript
api.addTopicAdminMenuButton((topic) => {
  return {
    action: () => {
      alert('Sunrise!');
    },
    icon: 'sun',
    className: 'sunrise-button',
    label: 'actions.rise',
  };
});
```

The plugins that needed to be updated are:

- [discourse-zoom](https://github.com/discourse/discourse-zoom/pull/73)
- [discourse-salesforce](https://github.com/discourse/discourse-salesforce/pull/74)
- [discourse-topic-noindex](https://github.com/discourse/discourse-topic-noindex/pull/11)
2024-04-29 12:44:38 -03:00
..
addon DEV: Refactor topic admin menu to use <DMenu> (#26678) 2024-04-29 12:44:38 -03:00
app FIX: replaces data-tooltip usage by <DTooltip /> (#24062) 2023-10-23 21:09:02 +02:00
.npmrc DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
ember-cli-build.js DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
index.js DEV: FloatKit (#23650) 2023-09-26 13:39:52 +02:00
package.json Build(deps-dev): Bump ember-cli from 5.8.0 to 5.8.1 (#26787) 2024-04-29 00:22:49 +02:00