Skip to content

Drop custom grid & Add vue component library - #1073

Open
kesselb wants to merge 3 commits into
masterfrom
grid-migration
Open

Drop custom grid & Add vue component library#1073
kesselb wants to merge 3 commits into
masterfrom
grid-migration

Conversation

@kesselb

@kesselb kesselb commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

This PR

  • Removes the custom grid in favor of CSS grid
  • Introduces the vue component library
  • Migrations the external monitoring section to NcFormGroup.

Screenshots

Example 1

Using CSS grid and removal of exceptions for components ensure a clean look across all components.

The gap between cpu/memory, disk and network interfaces is the same.

image

Example 2

Using NcFormGroup adds a clean look, removes custom css, and adds the ability to copy the url or command. In addition a strong token is suggested.

image

@kesselb
kesselb requested a review from benjaminfrueh as a code owner August 8, 2026 16:58
@kesselb
kesselb requested a lite review from Copilot August 8, 2026 17:12
@kesselb kesselb self-assigned this Aug 8, 2026
@kesselb
kesselb requested a review from ChristophWurst August 8, 2026 17:12
@kesselb kesselb added this to the Nextcloud 35 milestone Aug 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the settings UI layout by removing the legacy flex-based “grid system” and adopting CSS Grid, while also introducing @nextcloud/vue form components to improve the External Monitoring configuration UX.

Changes:

  • Replaces the custom .row/.col-* layout system with CSS Grid (.row + .row--cards) and updates affected views/sections accordingly.
  • Migrates the External Monitoring section to @nextcloud/vue form components (NcFormBox / NcFormGroup / switches + copy buttons) and adds a suggested token UX.
  • Updates dependencies and generated build artifacts to include @nextcloud/vue.

Reviewed changes

Copilot reviewed 13 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/views/SettingsAdmin.vue Removes legacy column classes and adjusts layout to rely on CSS Grid.
src/main.css Deletes the old flex “grid system” and defines new CSS Grid-based .row patterns.
src/components/SharesSection.vue Updates share summary layout to use the new grid/card patterns.
src/components/SectionHeading.vue Adds a class hook for heading styling.
src/components/NetworkSection.vue Simplifies layout and moves interface cards to .row--cards.
src/components/MonitoringSection.vue Migrates to @nextcloud/vue form components and adds token suggestion UX.
src/components/DiskSection.vue Switches disk cards to the shared .row--cards grid styling.
src/components/ActiveUsersSection.vue Simplifies markup by removing unused grid wrappers.
package.json Adds @nextcloud/vue dependency.
package-lock.json Locks new transitive dependencies for @nextcloud/vue.
js/serverinfo-main.mjs.license Updates generated license metadata for new deps.
js/serverinfo-main.mjs.map.license Updates generated license metadata for new deps.
css/serverinfo-main.css Updates generated CSS entrypoint import.
css/main-C_6xGBMP.chunk.css Removes old generated chunk (grid + monitoring CSS).
css/main-5RcpR5ey.chunk.css Adds new generated chunk including CSS Grid + @nextcloud/vue component styles.
Files not reviewed (1)
  • css/main-5RcpR5ey.chunk.css: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/components/MonitoringSection.vue
Comment thread src/components/MonitoringSection.vue
@kesselb kesselb added enhancement and removed bug labels Aug 8, 2026
@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Aug 8, 2026
kesselb added 3 commits August 9, 2026 16:01
auto-fit/minmax replaces the .col-* scale, its breakpoint variants and
all media queries. Rows that were only stacked full-width columns lose
their wrappers.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Group the endpoint URL, its options and authentication into form groups,
make every value copyable and suggest a generated token instead of the
yourtoken placeholder.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants