nextcloud/cypress/e2e/core
Ferdinand Thiessen 1b4243f5a3
fix(NavigationManager): resolve entries only when needed
The `init` method previously contained two different logics:
1. It set up the internal state of default apps and app order
2. It resolved the app navigation entries

The 1. is needed before `add` can be called, so it was always called by
the `add` method, but this also resolved all appinfo.xml entries on the
first `add` call even if never used.
The 2. is only needed when the navigations are actually fetched.

This splits the logic into two functions:
- `init` for the bare initialization
- `resolveAppNavigationEntries` for resolving the entries when
  requesting to output them.

This should give a small performance improvement for API calls and fixes
a problem when navigations are added before all apps are registered.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-07 16:54:21 +02:00
..
404-error.cy.ts fix: ensure enabled (enforced) themes are always set on template layout 2025-04-04 10:16:34 +02:00
header_access-levels.cy.ts chore: migrate Cypress to @nextcloud/e2e-test-server 2025-10-22 11:57:17 +02:00
header_app-menu.cy.ts fix(NavigationManager): resolve entries only when needed 2026-06-07 16:54:21 +02:00
header_contacts-menu.cy.ts chore: migrate Cypress to @nextcloud/e2e-test-server 2025-10-22 11:57:17 +02:00
setup.ts chore(ci): Increase again timeout for Oracle setup 2026-05-11 13:20:48 +02:00