Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move asset_input.rb into this gem #22

Closed
gburgett opened this issue Sep 22, 2022 · 0 comments · Fixed by #23
Closed

Move asset_input.rb into this gem #22

gburgett opened this issue Sep 22, 2022 · 0 comments · Fixed by #23
Assignees

Comments

@gburgett
Copy link
Member

The wcc-styles gem provided a simple_form extension that made it easy to link tessa-client :asset fields to Dropzone. We should copy that extension into the tessa-client gem, and have it auto-register in an Engine initializer if simple form is present.

This would make the tessa-client v2.x gem into a true one-stop-shop for convenience wrappers around ActiveStorage uploads. We still need it anyways for the Dropzone direct-upload initialization via POST /tessa/uploads, as well as the Dropzone configuration inside of tessa/index.js.coffee. So I don't think we're getting rid of this gem anytime soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants