Open cburschka opened 8 years ago
Note: This is somewhat complicated by the fact that the items must be generated for a specific user, so the config key wouldn't be an object but a function that receives a user object and returns an items object.
Considering how much code is actually involved (access control, accessing string labels etc.), this is way beyond what should conceivably be a config key, and is more of a job for a plugin system.
custom.js could support adding items to the context menu.
https://github.com/cburschka/cadence/blob/master/js/core/ui.js#L446
Maybe check config.ui.whatever and add those items at the end of the menu below a separator.
Format:
This would allow eg. bot commands etc.