-
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
Upcoming/Today/Tomorrow dashboard widgets #2658
Upcoming/Today/Tomorrow dashboard widgets #2658
Conversation
return generateUrl('/apps/deck') + `#/board/${card.boardId}/card/${card.id}` | ||
} | ||
}, | ||
showMoreUrl() { |
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.
Those could go into a mixin to avoid duplicate code across widgets.
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.
still open
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.
Here's how you create a mixin: https://v2.vuejs.org/v2/guide/mixins.html
Let me know if you need help :)
Idea: Should we rename src/views/Dashboard.vue to something else? |
Yes, since this PR introduces DashboardToday and DashboardTomorrow, it could just be DashboardUpcoming for example. |
@juliushaertl please take a look. |
@juliushaertl do you think, we can let this on this status an merge it into main? |
Sorry for the delay here, I have it on my list of things to review. |
can we merge? Are only a few changes: https://github.com/nextcloud/deck/pull/2658/files |
@BKapelari could you provide some screenshots? |
Signed-off-by: Bernhard Kapelari <bernhard@kapelari.com> First feedback Signed-off-by: Bernhard Kapelari <bernhard@kapelari.com> lint:fix Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
needed for dashboard widgets Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Did another rebase and resolved conflicts |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
🎉 |
Hi, I want to add the Upcoming cards widget to the dashboard for all the users of my nextcloud via occ command like so: <occ config:app:set dashboard layout --value='welcome,mail,activity,UpcomingCards'> I am however unsure about the parameter I need to pass to this command to add the mentioned widget. I looked around the repo with search funtion but as I am no javascript nor php programmer I was not able to find what I was looking for. |
Summary
Basic function for the new dashboard widgets
TODO
Checklist