nextcloud/cypress/e2e
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
..
appstore test(appstore): adjust cypress tests for app split 2026-05-05 22:16:01 +02:00
core fix(NavigationManager): resolve entries only when needed 2026-06-07 16:54:21 +02:00
dashboard test(dashboard): Add regression test for loading unneeded data 2025-01-16 11:36:37 +01:00
dav test(dav): add e2e tests for availability & absence 2025-10-23 05:21:46 +02:00
files fix(test): re-login after cy.uploadContent in conflict-picker 2026-06-01 09:47:30 +00:00
files_external test(appstore): adjust cypress tests for app split 2026-05-05 22:16:01 +02:00
files_sharing chore(ci): Make row action helpers atomic to avoid mid-render detachment 2026-05-11 13:20:48 +02:00
files_trashbin test: Add E2E tests for trashbin columns 2026-05-18 00:33:07 +02:00
files_versions chore(ci): Invert line checking order in version_restoration 2026-05-11 13:20:48 +02:00
login chore: migrate Cypress to @nextcloud/e2e-test-server 2025-10-22 11:57:17 +02:00
settings fix(settings): apply consistent style by using proper components 2026-05-12 18:01:02 +02:00
systemtags refactor(NavigationManager): move navigation definitions into apps 2026-06-02 22:51:05 +02:00
theming refactor(NavigationManager): move navigation definitions into apps 2026-06-02 22:51:05 +02:00
core-utils.ts refactor(appstore): adjust frontend for new API location 2026-05-05 10:41:04 +02:00