Skip to content
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

Merged
merged 6 commits into from
Oct 18, 2023
Merged

Upcoming/Today/Tomorrow dashboard widgets #2658

merged 6 commits into from
Oct 18, 2023

Conversation

BKapelari
Copy link
Contributor

@BKapelari BKapelari commented Dec 16, 2020

Summary

Basic function for the new dashboard widgets

TODO

  • Translations

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests (unit, integration, api and/or acceptance) are included
  • Documentation (manuals or wiki) has been updated or is not required

l10n/de_DE.js Outdated Show resolved Hide resolved
return generateUrl('/apps/deck') + `#/board/${card.boardId}/card/${card.id}`
}
},
showMoreUrl() {
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still open

Copy link
Member

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 :)

@BKapelari
Copy link
Contributor Author

BKapelari commented Dec 17, 2020

Idea: Should we rename src/views/Dashboard.vue to something else?

@juliusknorr
Copy link
Member

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.

@BKapelari
Copy link
Contributor Author

@juliushaertl please take a look.

@BKapelari
Copy link
Contributor Author

@juliushaertl do you think, we can let this on this status an merge it into main?
If you see any problems, let me know, I will try to resolve them

@juliusknorr juliusknorr added this to the 1.3.0 milestone Jan 28, 2021
@juliusknorr
Copy link
Member

Sorry for the delay here, I have it on my list of things to review.

@BKapelari
Copy link
Contributor Author

BKapelari commented Feb 8, 2021

can we merge? Are only a few changes: https://github.com/nextcloud/deck/pull/2658/files

@juliusknorr juliusknorr modified the milestones: 1.3.0, 1.4.0, 1.5.0, 2.0.0 Apr 7, 2021
@jakobroehrl
Copy link
Contributor

@BKapelari could you provide some screenshots?

@juliusknorr juliusknorr modified the milestones: 1.5.0, 1.6.0 Nov 5, 2021
@juliusknorr juliusknorr modified the milestones: 1.6.0, 1.7.0 Dec 30, 2021
@juliusknorr juliusknorr changed the title basic functions Upcoming/Today/Tomorrow dashboard widgets Aug 9, 2022
@marcelklehr
Copy link
Member

I gave this some love and resolved all open issues. Should be good to go now.

image

BKapelari and others added 4 commits October 18, 2023 11:44
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>
@juliusknorr
Copy link
Member

Did another rebase and resolved conflicts

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr merged commit ea67956 into nextcloud:main Oct 18, 2023
24 checks passed
@marcelklehr
Copy link
Member

🎉

@BKapelari BKapelari deleted the More-Dashboard-Widgets-#2643 branch October 18, 2023 16:40
@qualitaetsdefensive
Copy link

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.
Any help or documentation is much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

More Dashboard Widgets
5 participants