-
Notifications
You must be signed in to change notification settings - Fork 280
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
File attachments for cards #488
Conversation
Codecov Report
@@ Coverage Diff @@
## master #488 +/- ##
=========================================
+ Coverage 76.85% 80.36% +3.5%
=========================================
Files 38 44 +6
Lines 1175 1441 +266
=========================================
+ Hits 903 1158 +255
- Misses 272 283 +11 |
62e3cb7
to
5d62ce2
Compare
@nextcloud/designers Some feedback on the UI would be great. I've updated the screenshots above with the current state. cc @nextcloud/deck for review/testing |
Oh wow, that seems really nice! :) Have only small pieces of feedback:
|
👍
This is out of scope for now, since previews are not available for files stored in the AppData. I've discussed some possible implementation ideas with @rullzer but this is something for later.
I had that in the beginning, but in most cases, the description will contain the most important content of the card and links to attachments/images can also be embedded there, in case users want direct access to it. Also for mobile devices it makes sense to limit the amount of shown information to the description while providing a list of attachments in a separate tab. Otherwise we'll quickly end up with the notification being not visible since it has moved down outside of the visible area.
@jancborchardt What do you mean by displaying them bigger? As for the embedding of attachments into the description, this is how it looks like for images/regular files: MarkdownRendering |
…load Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6200b61
to
c720f96
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Yeah, so the thing is that simply displaying the images below the description is much simpler. No one needs to manually embed stuff then. With them showing bigger, I basically mean how they are shown when embedded. Maybe we can limit the height a bit when there's many attachments though.
What do you mean by that? No important stuff should be displayed below the images. |
I'd say it should be up to the user which images are shown directly and wich are not that important. Also the attachments might in a lot of cases have some relation to sections of the description, so I think embedding is a better way then just listing them.
Good point. Width is limited, but i'll also add a limit for the height.
I mean description not notification 🙈 |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Height limit for image and additional spacing is added. Let's merge this and iterate over it for further adjustments 😉 |
Awesome work @juliushaertl ! |
This PR implements uploading file attachments to cards. The files are stored in AppData and can be downloaded by every user with read access to the board.
Screenshots
List of attachments
Dragging files to the board
Insert attachments into description
ToDo