Contextual Apps
CushyApps can be started form both context menu. this page shows how your custom app can support that
Contextual apps allow you start any app (workflow) from an existing image ( Image Comtext menu) or selection (Unified canvas)
Make your app compatible
Add canStartFromImage
update your
run
handler to take a third param
Add new entries to the image context menu
once your CushyApp is start-from-image enabled, you can just create new drafts of your app.
Every draft will show as a new menu entry
Support both beeing run as context action or standalone
Supporting both is easy.
Built-in examples to look at
look at the library/quick-actions/*
library/built-in/quick-actions/quick-dispace.ts
library/built-in/quick-actions/quick-refine.ts
...
Last updated