You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to refactor actions to build them as a components instead of as an onclick handler.
And then when declaring an action we should be able to set a mode property.
mode = view (component is displayed in sidebar)
mode = no-view (component is loaded in background)
As a first view example we should do a followup of this PR and introduce PDF/Word options.
To build this first view we need to build a simple frontend api for sub-commands like Raycast does: https://developers.raycast.com/api-reference/user-interface/action-panel ; I guess we already built something similar for the first level of action? We just need to make sure the API is as nice and simple
The text was updated successfully, but these errors were encountered:
We need to refactor actions to build them as a components instead of as an onclick handler.
And then when declaring an action we should be able to set a
mode
property.mode =
view
(component is displayed in sidebar)mode =
no-view
(component is loaded in background)As a first
view
example we should do a followup of this PR and introduce PDF/Word options.To build this first view we need to build a simple frontend api for sub-commands like Raycast does: https://developers.raycast.com/api-reference/user-interface/action-panel ; I guess we already built something similar for the first level of action? We just need to make sure the API is as nice and simple
The text was updated successfully, but these errors were encountered: