-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Parse multiple navigation items #14343
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
Conversation
Signed-off-by: Daniel Kesselberg <[email protected]>
f8a7b91 to
36c51bc
Compare
|
We could fallback to |
Don't have a strong opinion on that. Do you think someone would bind application logic to an navigation item and use
Not nice but backwards compatible 🙈
PHP7+ looks a bit nicer 🤣 |
|
Good news, master is 7.1+ Well I think at least items should have a unique ID. |
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, tested and works 👍
|
Failures unrelated. |
|
/backport to stable15 |
|
/backport to stable14 |
|
backport to stable15 in #14416 |
|
backport to stable14 in #14417 |
Close #14052
Test
Pick any app with
<navigations>ininfo.xml(e.g. activity) and add a second<navigation>item.Expected
Two navigation items for this app
Actual
No navigation entry for this app
Known limitationIfidis not defined for navigation app name is used as fallback. At least one navigation item needs the id element with a value not equal to app name.