Skip to content

feat(applications): tables, members and stats on the overview - #55

Open
rubenvdlinde wants to merge 1 commit into
stack/s3-export-importfrom
stack/s4-overview-extras
Open

rubenvdlinde wants to merge 1 commit into
stack/s3-export-importfrom
stack/s4-overview-extras

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Collaborator

Rebuild of #42 (originally #28) on the page model of nextcloud#3100, see #13. Stacked on #54.

What changes

The application overview now shows which tables the application works on, who it is shared with, and a short summary.

  • Tables: every table the application uses, through its own nodes, the start page's tables and views, a data widget on one of its pages, or a menu entry that opens a table or view. Each row shows the row count, the number of views and what uses the table: the page title, the menu entry label, or "Application" for a node nothing else uses. A table the user cannot access is listed by id.
  • Members (owner only): the owner and everyone the application is shared with, with a button to change the shares. Only the owner gets the full list of shares, so others don't see this section.
  • Stats: a line counting the pages and tables, plus the members for the owner.
  • Page filter: a filter field appears once an application has more than six pages, matching title, type and what the page shows.

Carried over from #42, and what changed because of nextcloud#3100

Tests

Nextcloud 34 container (PostgreSQL 16), Playwright at 1600 x 1000, --timeout=120000:

  • application.spec.ts: new "The overview lists the tables the application uses, its members and its counts" (2 pages, 2 tables, 1 member; the menu's table row names the menu entry, a table shown only by a data widget on a grid page names that page) and "An application with many pages gets a filter for them" (8 pages, the filter leaves 1). Whole file: 13 passed (1.3m).
  • npm run lint: 0 errors, 1 inherited warning (src/store/store.js:176); npm run stylelint: clean; npm run build: OK.

Prepared in the Conduction fork for porting upstream by @remko48. Prepared with Claude Code.

The overview lists every table the application uses: through its nodes, the
start page's tables and views, a data widget's source on one of its pages, or
a menu entry that opens a table or view, with row and view counts and what
uses it. The owner sees the members, everyone a line of counts, and a filter
appears once an application has more than six pages.

Assisted-by: ClaudeCode:claude-opus-5-5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant