Repository navigation
feat(applications): give applications a technical name - #56
Open
rubenvdlinde wants to merge 1 commit into
Open
rubenvdlinde wants to merge 1 commit into
rubenvdlinde wants to merge 1 commit into
Conversation
An application can get an optional technical name, unique per owner, so it
opens at /apps/tables/app/{name}. The create and edit dialogs take it, the
scheme carries it, and the owner's links use it; others link by id. The
overview shows each page's required technical name next to its title.
Migration dated after the page migrations; app version 2.4.0-dev.8.
Assisted-by: ClaudeCode:claude-opus-5-5
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebuild of #43 (originally #29) on the page model of nextcloud#3100, see #13. Stacked on #55.
What changes
An application can get a technical name, so it opens at a readable address like
/apps/tables/app/intakeinstead of/apps/tables/app/28.tables_contexts_contextgets a nullabletechnical_name(Version2400Date20261016120000, dated after r5's page migrationsVersion2400Date20261016000001-3). App version 2.4.0-dev.8 so installs run it./apps/tables/app/{name}opens the application. The user's own application wins over one shared with them under the same name. Because names are only unique per owner, applications of others are linked by id, both in the app navigation and on the overview. An unknown name opens the Tables start page.technicalNameon the context response and on the create, update and import scheme endpoints (OpenAPI and TS types regenerated).Carried over from #43, and what changed because of nextcloud#3100
PageController::contexttest.TechnicalNameHelper), not part of this PR. To keep the UI consistent, the application dialogs use the page form's wording ("Lowercase letters, digits and underscores, starting with a letter"), and the overview's page list shows each page's technical name next to its title.Tests
Nextcloud 34 container (PostgreSQL 16), one file per call, after
occ upgradeto dev.8:tests/unit/Db/ContextMapperTechnicalNameTest.php(real DB):OK (4 tests, 8 assertions)tests/unit/Controller/PageControllerTest.php:OK (4 tests, 7 assertions)tests/unit/Service/ContextServiceTest.php:OK (45 tests, 119 assertions)(malformed and taken names, blank clears, absent keeps, create stores, navigation links by name only for the owner, import passes the scheme's name)tests/unit/Model/ContextSchemeTest.php:OK (16 tests, 38 assertions);ContextControllerTestOK (7 tests, 20 assertions);ContextMapperTest,ContextPagesRoundTripTest,ContextSchemeServiceTestOK.--timeout=120000:application.spec.tswith the new "An application with a technical name is opened at its readable address" (the overview shows the address and the start page'sdashboard),context.spec.ts(create and edit dialogs),context-menu.spec.ts,context-navigation.spec.ts:24 passed (4.7m).composer cs:check: no files; psalmNo errors found!;composer openapiregenerated;npm run lint: 0 errors, 1 inherited warning (src/store/store.js:176);npm run stylelint: clean.Prepared in the Conduction fork for porting upstream by @remko48. Prepared with Claude Code.