-
Notifications
You must be signed in to change notification settings - Fork 192
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
Multiple attachment files in a community post has all same name when saving #2743
Comments
Recommendation: call the attachments "session-attachment-2023-04-16-0123456-1.jpeg" .. "session-attachment-2023-04-16-0123456-<n>.jpeg" |
types/Attachment.ts saveAttachmentToDisk should have a new parameter index, which should be "" at
components/conversation/message/message-content/MessageContextMenu.tsx
|
I'll try to get a patch for this. |
Work in progress |
If somebody else wants to tackle this, please do. This is my first patch here, so I will take a while to get used to the project. |
@slrslr with this the first attachment keeps the name, but following attachments will have 001,002, ... added to them so the names are now unique. |
I also have a branch which adds support to download all attachments in a message: |
Any new update regarding this change? |
The patch needs to be approved by a developer, and I have not received any input yet. |
Hey, thanks for the PR! |
Also, have a look at #2928 when you have time. |
It appears that in a community when post has multiple image attachments, all have same name (when saving it), for example "session-attachment-2023-04-16-0123456.jpeg".
IMO the attachment name within one post would be handy to be unique so one does not need to rename each one:
Other information (please complete the following information):
The text was updated successfully, but these errors were encountered: