Skip to content

feat(files): Allow more than 50 favorite views - #47400

Merged
Pytal merged 4 commits into
masterfrom
feat/load-more-than-50-faves
Aug 27, 2024
Merged

feat(files): Allow more than 50 favorite views#47400
Pytal merged 4 commits into
masterfrom
feat/load-more-than-50-faves

Conversation

@Pytal

@PytalPytal commented Aug 21, 2024

Copy link
Copy Markdown
Member

Summary

Technically this is a feature but could also be considered a fix. Favorites were being loaded with a hardcoded limit

publicconstFAVORITE_LIMIT = 50;
of 50, so once a user had >=50 favorites none would be loaded. To fix this we no longer block page load with the server-side retrieval and load them from the frontend instead.

Checklist

@PytalPytal added this to the Nextcloud 31 milestone Aug 21, 2024
@Pytal
Pytal requested a review from a teamAugust 21, 2024 17:37
@PytalPytal self-assigned this Aug 21, 2024
@Pytal
Pytal requested a review from skjnldsv as a code ownerAugust 21, 2024 17:37
@Pytal
Pytal requested review from artonge and nfebe and removed request for a teamAugust 21, 2024 17:37
@Pytal
Pytal enabled auto-merge August 21, 2024 17:39
@Pytal

This comment was marked as resolved.

@susnuxsusnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice! Fix, cleanup and semi-feature 😄

@susnux
susnuxforce-pushed the feat/load-more-than-50-faves branch 2 times, most recently from 4f911c4 to c887c14CompareAugust 24, 2024 10:17
@susnux

Copy link
Copy Markdown
Contributor

/backport to stable30

@susnux
susnuxforce-pushed the feat/load-more-than-50-faves branch from c887c14 to 36c6fc6CompareAugust 24, 2024 10:37
@Pytal
Pytalforce-pushed the feat/load-more-than-50-faves branch from 36c6fc6 to 7117356CompareAugust 26, 2024 18:05

@jancborchardtjancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for fixing this!

Pytaland others added 3 commits August 27, 2024 14:33
…retrieval
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
@Pytal
Pytalforce-pushed the feat/load-more-than-50-faves branch from 7117356 to a1f4396CompareAugust 27, 2024 22:39
@PytalPytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 27, 2024
@Pytal

Copy link
Copy Markdown
MemberAuthor

/compile /

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@Pytal
Pytal merged commit b7212e3 into masterAug 27, 2024
@Pytal
Pytal deleted the feat/load-more-than-50-faves branch August 27, 2024 23:25
@skjnldsvskjnldsv mentioned this pull request Jan 7, 2025
@susnux

Copy link
Copy Markdown
Contributor

For 29: #53643

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugenhancementfeature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Favorites in Files navigation not expandable anymore

5 participants

@Pytal@susnux@jancborchardt@skjnldsv@nextcloud-command