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

enh(NavigationManager): Use ID as fallback for app property of entries #42055

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Dec 6, 2023

Summary

Some apps like Talk do not use the appinfo for registering the navigation entries but using the NavigationManager directly. Those apps do not always set the app property of the navigation entry, in this cases it is currently not possible to use that entry for the default app.

To fix 99% of the cases the ID is now checked to be a valid and enabled app and if yes then use it as fallback.

Checklist

@susnux susnux added enhancement 3. to review Waiting for reviews php Pull requests that update Php code labels Dec 6, 2023
@susnux
Copy link
Contributor Author

susnux commented Dec 6, 2023

/backport to stable28

@nickvergessen

This comment was marked as resolved.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the enh/navigation-manager-set-app-from-id branch from ecd3fad to b1fffb0 Compare December 6, 2023 14:46
@susnux susnux enabled auto-merge December 6, 2023 15:58
@nickvergessen nickvergessen merged commit 9296788 into master Dec 7, 2023
49 of 50 checks passed
@nickvergessen nickvergessen deleted the enh/navigation-manager-set-app-from-id branch December 7, 2023 08:09
@nickvergessen nickvergessen added this to the Nextcloud 29 milestone Dec 7, 2023
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants