-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Allow pasting attachments on Akkoma / Pleroma instances #735
Conversation
@Steffo99 I saw the code formatting is a little off. Your code editor might need some prettier plugin to follow the project's prettier settings 🙇 |
Oh, I didn't notice the |
Co-authored-by: Scott Feeney <[email protected]> Co-authored-by: Lim Chee Aun <[email protected]>
Co-authored-by: Lim Chee Aun <[email protected]>
Co-authored-by: Lim Chee Aun <[email protected]>
What, shouldn't this: phanpy/src/components/compose.jsx Lines 1308 to 1340 in 0f6f206
Share behaviour with this function?: phanpy/src/components/compose.jsx Lines 600 to 647 in 0f6f206
I think that's the reason why the attach button worked but copy-and-pasting not in #656: |
@cheeaun How would you want me to handle this? Should I just leave it alone? In that case, the PR is ready... |
Whoops. Committed via web and forgot to enter commit text. A sec! |
8d19420
to
28f87e2
Compare
You mean the filtering logic with |
Alas, it doesn't prevent the user from adding files not matching the MIME types listed there, it just filters them by default in the file picker: I guess that's a
bug
|
Possible to resolve the conflicts here? Thanks |
# Conflicts: # src/locales/en.po
@cheeaun Done! There seem to be non-prettified files in the main branch; not modifying those to prevent more conflicts. |
Fixes #656.
See commit titles for info on how the bug was fixed!