-
Notifications
You must be signed in to change notification settings - Fork 310
cover images #2858
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
cover images #2858
Conversation
206bfb6 to
b9cc583
Compare
appinfo/info.xml
Outdated
| - 🚀 Get your project organized | ||
|
|
||
| </description> | ||
| <version>1.4.0-alpha1</version> |
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.
If you need to bump the version for migrations, please only bump the alpha1 to alpha2, the regular version bump will be done during the release process.
| */ | ||
| public function update($id, $title, $color, $archived) { | ||
| return $this->boardService->update($id, $title, $color, $archived); | ||
| public function update($id, $title, $color, $archived, $coverImages) { |
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.
We would need to support this in the API Controller as well for the mobile app.
| */ | ||
| public function find($id, $withLabels = false, $withAcl = false) { | ||
| $sql = 'SELECT id, title, owner, color, archived, deleted_at, last_modified FROM `*PREFIX*deck_boards` ' . | ||
| $sql = 'SELECT id, title, owner, color, archived, deleted_at, last_modified, cover_images FROM `*PREFIX*deck_boards` ' . |
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.
I'm not entirely sure if we should rather make this a user setting. In any case we should reuse the ConfigService for this instead of adding more fields to the board table to keep it flexible.
|
We (Android app) are quite confused at the moment. It was really nice if one could describe the target state.
|
|
@stefan-niedermann @juliushaertl: How we will do it in the WebApp? Start like doing it in the Android App? |
|
Open questions i would like to clarify before going any further:
Trello has a dedicated option for making an image a cover for example which I personally would prefer rather than trying to magically find a picture as that could always lead to seeing an image there which you might not want or might not help to get a better idea on what the card is about.
There should be one, yes.
Yes, those settings could still be exposed through the board api endpoints even if they are stored separately. My main concern is that just adding an individual column for each possible setting to the board table doesn't scale very well |
The Android app started with only pictures because otherwise this will cause confusion why attachments which have been uploaded with Deck
In the first draft, the Android app just picks the three first ones in the database. The three most recent sounds better, but i would avoid to make this selectable by the user because this needs a manual user interaction, it will clutter the UI and it will cause maintenance efforts for the options which are probably put into something other more important stuff. But ringing in @nextcloud/designers for this 😉
Is this really board related? IMHO a global setting for this makes more sense (also a question for @nextcloud/designers) |
b9cc583 to
5832c0c
Compare
|
@weeman1337
|
|
Hi @jakobroehrl . If it is okay for you I would submit some commits. |
This would be awesome, thanks! |
@weeman1337 This would be awesome, thanks! |
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
456c446 to
997c7e3
Compare
|
I have been checking the status on this PR since a while back. Can I help somehow? |
|
Is this issue outdated? Would love to see those pretty images at the cardlist. |
|
When I talked to @jakobroehrl last time he mentioned that he would appreciate if someone could take over the pull request. So I think the best would be to checkout the changes and push them to your own fork to open a new pull request then. Let me know if you have any questions, looking forward to your contribution. |
|
Let me close this for now. If anyone wants to pick up the work feel free to open a new pull request with it. |


Signed-off-by: Jakob Röhrl jakob.roehrl@web.de
shows the 1st image attachment:
Questions/Todo