nextcloud / collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
GNU Affero General Public License v3.0
100 stars 19 forks source link

Favourite pages #300

Closed mejo- closed 1 week ago

mejo- commented 2 years ago

We should allow to pin a limited amount of pages (3 or 4) as favourites that are always listed on top of all other pages.

mejo- commented 2 years ago

From design call:

mejo- commented 2 years ago

Notes from another design call:

mejo- commented 2 years ago

marked #379 as a duplicate of this issue

mejo- commented 2 years ago

marked this issue as related to #379

foerster-finsternis commented 1 year ago

Dear contributors. Is there a possibility to deactivate the display of recent pages and collective members? It's a nice feature for sure, but forcing it without any visible way for deactivation is not a very good approach.

juliusknorr commented 1 year ago

Can you file a separate issue for this please?

punkyard commented 1 year ago

hi how do we get rid of the automatically pinned pages? this function appeared suddenly and we can't find how to get rid of it, especially on public pages and the term "landing page" we can't find any topic about this on the nc forum thanks

max-nextcloud commented 1 year ago

The recent pages were introduced as part of #311 and then discussed in #835.

They are not related to favorite pages thus far.

punkyard commented 1 year ago

thanks @max-nextcloud so we'll have to wait to get rid of it?

viktorix commented 3 months ago

We use Collectives a lot, and it would be nice to have a favorites feature for quick and easy access to articles I go to often. Here's a quick mockup of what that might look like:

image

punkyard commented 3 months ago

We use Collectives a lot, and it would be nice to have a favorites feature for quick and easy access to articles I go to often.

And it would be so nice to move 'team over view', 'landing page' and 'recent pages' to this side of the Collectives ✌️

mejo- commented 1 month ago

For me there's still a few open questions how to approach favourites in Collectives:

My current vision would be to pin favourites as first pages inside the collectives page list and somehow highlight them, and maybe limit the amount of allowed favourites (like Signal limits them to four). I don't have a clear preference on whether to make them personal or shared yet.

@nextcloud/designers what's your thoughts here?

marcoambrosini commented 1 month ago

My take:

nimishavijay commented 1 month ago

I can imagine it being something similar to Notion as a collapsible section on top of the page list which is shown only if you have set at least one favourite page in that collective. We could also think about adding a hairline as a separator to distinguish it from the other "normal" pages. What do you think? :)

image

mejo- commented 1 month ago

https://github.com/nextcloud/collectives/tree/feat/favourite_pages implements the current development state.

mejo- commented 1 month ago

Here's a screenshot from a first impementation that poses some questions:

Cc @nimishavijay @marcoambrosini

Actions of non-favorite page Actions of favorite page
image image
nimishavijay commented 1 month ago

Nice! Looks great! To address your questions:

Shall favorites be displayed as expandable if they have subpages, or not? I'd vote for not allowing to expand favorites, and listing them as simple flat pages instead.

Screenshot_20240926_221525_Firefox

When a favorite is opened, shall both representations of the page (in favorites and in normal page order) be highlighted (like page "Title" in the screenshot)?

That's a great call! I agree. Nice catch there :)

Some more small points:

Super nice work! :) 🚀

juliusknorr commented 1 month ago

One additional suggestion, not sure where to put it but maybe it also makes sense to show favorites at the start page of collectives when you have not navigated to a specific collective?

punkyard commented 1 month ago

great idea! to me, it would make sens to see them in the left panel on top of the list of pages and folders - and to make this rubric only visible if a favourite has been chosen - otherwise it would be hidden not to add more distraction to the web page ✌️