Repository navigation
feat(applications): personal layout for the standalone application - #45
Closed
rubenvdlinde wants to merge 1 commit into
Closed
rubenvdlinde wants to merge 1 commit into
rubenvdlinde wants to merge 1 commit into
Conversation
Opened on its own, an application lets each person choose how wide each widget of a page is, without changing the page for anyone else. - Widths: "Edit layout" lets a person give each widget full width, two thirds, half or one third; "Reset layout" goes back to the page as arranged, and the layout is saved or cancelled as a whole. A widened widget that would no longer fit moves left; the grid moves widgets down where they would overlap. - Storage: the layout is personal and kept in the browser (local storage), per user, application and page. It does not follow the user to another browser or device. When the browser refuses to store it, the layout applies to the current visit only and the user is told so. - Managers editing the page see and arrange the page as stored. Assisted-by: ClaudeCode:claude-opus-5-5
This was referenced Oct 15, 2026
Collaborator
Author
|
Dropped on Ruben's decision (15 Oct). Without the card grid of tables and views there is nothing personal to arrange. The page grid is designed by the application manager for everyone. Personal layout can come back later if users ask for it. The branch |
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 #31 on application pages (nextcloud#3075, see #13). Stacked on #44.
What changes
Opened on its own, an application lets each person choose how wide each widget of a page is, without changing the page for anyone else.
Carried over from #31, and what changed because of pages
GridPage/GridCanvas), keyed by application and page id and widget id instead of by resource key. The CSS grid, its responsive spans andgetGridCellStyleare gone; narrow screens reflow as the page grid already does.Tests
Nextcloud 34 container (PostgreSQL 16), Playwright at 1600 x 1000,
--timeout=120000:application.spec.ts: new "A width chosen for a table in an application opened on its own is kept after a reload" (half width survives a reload, the stored start page keeps width 12). With the rest ofapplication.spec.tsandcontext-grid-pages.spec.ts:19 passed.npx cypress run --component --spec cypress/component/contextLayout.cy.js:4 passing(storage per application and page, reset, unknown widths and a broken entry, widths applied with the widget kept on the grid).npm run lint: 0 errors (1 inherited warning instore.js), stylelint clean,npm run buildOK.Prepared in the Conduction fork for porting upstream by @remko48. Prepared with Claude Code.