mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-21 16:03:26 +00:00
* feat: add S3 support to download button and PDF preview components Add S3 object and s3:// URL support to AppDownload and AppPdf components, following the same pattern used in AppImage component. Both components now: - Handle partial S3 objects with storage and presigned URL support - Handle s3:// URL format - Construct proper API endpoints for S3 file downloads Fixes #7240 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com> * handle policy + fix s3 picker --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
How to add new components
components.ts:- Create a type for the new component and add it to the
AppComponentunion type - Add the component to the
componentsrecord
- Create a type for the new component and add it to the
sets.ts:- Add the component to one of the component sets:
layout,buttons,inputsordisplay(this controls which group the component will be placed in in the Insert menu)
- Add the component to one of the component sets:
quickStyleProperties.ts:- Add the component to the
quickStylePropertiesrecord - (optional) Add the CSS properties that could be applied to the component parts
- Add the component to the
Component.svelte:- Add the new component in the Svelte
ifstatement
- Add the new component in the Svelte
default-codes.ts:- (optional) Add the default code associated with the new component to the
DEFAULT_CODESrecord
- (optional) Add the default code associated with the new component to the