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

fix(settings): Support order property on App Discover elements and hide future elements #44282

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Mar 18, 2024

Summary

This adds support to pinning elements by setting the order property on the element (e.g. order: 0 will always be the first element to show). Also filter list of elements to remove upcoming and outdated elements (as the json might be cached).

Checklist

@susnux susnux added this to the Nextcloud 29 milestone Mar 18, 2024
@susnux susnux requested a review from a team March 18, 2024 16:57
@susnux susnux self-assigned this Mar 18, 2024
@susnux susnux requested review from Pytal, szaimen and emoral435 and removed request for a team March 18, 2024 16:57
@susnux
Copy link
Contributor Author

susnux commented Mar 18, 2024

/compile

@susnux susnux mentioned this pull request Mar 18, 2024
@susnux susnux force-pushed the fix/app-discover-pin-and-parse branch 2 times, most recently from ce0c991 to 9c6071f Compare March 18, 2024 18:15
@susnux susnux requested a review from artonge March 19, 2024 15:29
apps/settings/src/utils/appDiscoverParser.ts Outdated Show resolved Hide resolved
apps/settings/src/utils/appDiscoverParser.ts Outdated Show resolved Hide resolved
susnux added 2 commits March 19, 2024 18:30
…hide future elements

This adds support to pinning elements by setting the `order` property on the element (e.g. `order: 0` will always be the first element to show).
Also filter list of elements to remove upcoming and outdated elements (as the json might be cached).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/app-discover-pin-and-parse branch from 9c6071f to d5b1de8 Compare March 19, 2024 17:43
@susnux susnux merged commit c69d1c5 into master Mar 19, 2024
104 checks passed
@susnux susnux deleted the fix/app-discover-pin-and-parse branch March 19, 2024 18:41
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.

3 participants