You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to have a dashboard widget for Collectives with a list of recently changed pages from the collectives you're part of.
Starting points
Backend
We would need a way to retrieve recently changed pages from the backend. Something like a findRecent() function in PageService.php that gets exposed as API endpoint in PageController.php.
Not sure whether the pages should be sorted by collective or not. Probably just sorting them by date is the best. The graphical representation could be similar to how the link previews reference collective pages, reusing PageReferenceWidget.vue:
The text was updated successfully, but these errors were encountered:
Your app might also benefit work on developing Team and Project views for Dashboard... could make sense to incorporate Collectives as a way to include Circles support. I have no idea, but I know adding support for Circles has been an on-going question. Your project was mentioned in this discussion thread on Projects of Teams, plus this one on organizing Circles groups. It is mentioned in the first thread that Circles are planned to become Core functionality in an upcoming release. v22 is tagged at the moment. Also mentioned your app on the Circles app repo.
I started with the development of a Collectives app dashboard widget in branch dasbhoard-widget. It's completely untested and just a first rough start though.
Unfortunately, we cannot add the nodejs dependency @nextcloud/vue-dashboard at the moment. It required @nextcloud/vue 3 and we already use @nextcloud/vue 4. There's an open issue to track the migration or @nextcloud/vue-dashboard to @nextcloud-vue version 4: nextcloud-libraries/nextcloud-vue-dashboard#233
Also, I'm not sure how to best retrieve the list of recently changed pages in a performant way. Fetching the full list of pages for all collectives and comparing their timestamps feels a bit heavy, given that the dashboard list is supposed to update itself in the background every minute or so. This would result in a lot of filesystem directory reads. Maybe we could get the list of most recent files from the filecache? 🤔
Summary
The idea is to have a dashboard widget for Collectives with a list of recently changed pages from the collectives you're part of.
Starting points
Backend
We would need a way to retrieve recently changed pages from the backend. Something like a
findRecent()
function inPageService.php
that gets exposed as API endpoint inPageController.php
.Frontend
A dashboard widget that displays the recently changed pages. There's documentation for writing a dashboard widget
Not sure whether the pages should be sorted by collective or not. Probably just sorting them by date is the best. The graphical representation could be similar to how the link previews reference collective pages, reusing
PageReferenceWidget.vue
:The text was updated successfully, but these errors were encountered: