-
Notifications
You must be signed in to change notification settings - Fork 240
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
Event attachments: Enable directory selection #6534
Conversation
Signed-off-by: Daniel Kesselberg <[email protected]>
Although folder selection is possible, the callback does not receive the picked node unless `allowDirectories(true)` is explicitly set. Signed-off-by: Daniel Kesselberg <[email protected]>
Fallback to the folder icon when a content type is missing. Signed-off-by: Daniel Kesselberg <[email protected]>
/backport to stable5.0 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6534 +/- ##
=========================================
Coverage 23.33% 23.33%
Complexity 453 453
=========================================
Files 248 248
Lines 11777 11777
Branches 2257 2257
=========================================
Hits 2748 2748
Misses 8705 8705
Partials 324 324
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/backport to stable4.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. Works
Summary:
It’s possible to attach files to an event. An internal or public share link is stored within the event.
On the main branch, adding a folder currently doesn’t work (while selection is possible, the folder isn’t actually added). It’s unclear to me from the initial implementation #4251 whether folder support was intended or not.
Folders typically don’t have a content type returned, so I added a fallback to display the folder icon.
Warning
Adding another attendeed will generate a public share link instead of the internal link. This is apparently broken as well, I will try to address that in a follow up or log an issue.
How to test: