MastodonAgain icon indicating copy to clipboard operation
MastodonAgain copied to clipboard

Refactor status & account actions

Open schwa opened this issue 3 years ago • 0 comments

Provide AccountActions and StatusActions views that return Buttons() for all actions that can interact with these types.

This views can then be used to populate toolbars with buttons, context menus, menubar menus and whatever else.

Can also tie into Accessibility.

Have thought about tying this into an Action object (with a title, systemIcon and closure) that we can use to generate buttons from but it's nice being able to use modifiers and button styles directly on button types.

  • [ ] #27

schwa avatar Nov 22 '22 23:11 schwa