-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
enhancement: remove requirement for attachment_key
on trix fields when field is ActionText
#3567
base: main
Are you sure you want to change the base?
Conversation
Code Climate has analyzed commit 6289e72 and detected 0 issues on this pull request. View more on Code Climate. |
Hi @Olli thanks for submitting this contribution. Could you please give some details about the issue that this is solving and how to reproduce it? It will help the review process |
@Paul-Bob well if there is a ActionText field, AVO utilize it but it's not possible to perform uploads on this field because the upload button is not available (even if |
In order to upload files, right now, it is necessary to configure the
I think we can make |
attachment_key
when field is ActionText`
attachment_key
when field is ActionText`attachment_key
on trix fields when field is ActionText
# Conflicts: # app/components/avo/fields/trix_field/edit_component.rb # lib/avo/fields/trix_field.rb
@Olli I made some changes to this PR It removes the requirement for Let me know if it works as expected on your use-case. This enables uploads to ActionText by default keeping the authorization in place. |
Thx ... does work here. 👍 |
I didn't know that about domain portability @Olli. |
@adrianthedev Tbh actually I do not fully understand how ActionText works but if I understand it right the attachments are referenced by the Signed GlobalId.
even if the blob url is embedded changing the port or the url doesn't matter because it's referenced by the sgid. |
Awesome! Let's merge this PR as it is since it already fixes a problem, however let's continue the domain portability discussion which can lead to a new issue / PR |
Yeah it makes sense. |
Thanks for explaining that |
Description
Make uploads only with ActionText possible
Checklist: