Skip to content

feat: harmonize the right sidebar panels - #3470

Merged
AlexAndBear merged 3 commits into
mainfrom
feat/sidebar-no-selection-panel
Sep 28, 2026
Merged

AlexAndBear merged 3 commits into
mainfrom
feat/sidebar-no-selection-panel

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Description

The right sidebar looked different in almost every panel: icons vs. previews, boxed vs. unboxed content, different paddings and radii, plain texts, and labels with and without trailing colons. This PR harmonizes the panels in the files app and the admin settings so they all follow the layout of the single-selection details panel.

  • No selection: shows the page's illustration (e.g. favorites, shares, trash, users, groups) in a rounded box, an item overview (e.g. Items: 2 files, 0 folders, Total size: 1 kB, Items: 6 users) and the "Select a … to view details" hint in a lighter box with an info icon. Counts are shown even for empty lists.
  • Multiple selection: same layout, with the page's illustration and the "n items selected" hint.
  • Single selection in admin settings (users, groups): avatar in the same rounded box, details list without background, matching paddings of the files app. Also fixes the group avatar that was never rendered.
  • Consistent labels: removed trailing colons from the multiple spaces selection details.
  • New components in web-pkg: SideBarNoSelection and SideBarMultipleSelection.
  • Renamed images/empty-states/empty-*.svg to images/illustrations/*.svg, since they are no longer used for empty states only. ⚠️ Extensions referencing the old paths need to be updated.

Screenshots

Before After
Favorites, no selection before-favorites-no-selection after-favorites-no-selection
Favorites, multiple selection before-favorites-multiple after-favorites-multiple
Users, no selection before-users-no-selection after-users-no-selection
Groups, single selection before-groups-single after-groups-single

Related Issue

  • Fixes <issue_link> (no issue yet)

How Has This Been Tested?

  • test environment: local dev setup (pnpm vite against the docker-compose backend), Chrome
  • test case 1: no selection in personal space, favorites, shares, search, trash, spaces and admin settings users/groups/spaces
  • test case 2: multiple selection in the files app, spaces and admin settings
  • test case 3: single selection in the files app and admin settings users/groups, paddings match
  • test case 4: empty lists show zero counts and 0 B
  • test case 5: pnpm check:all passes, new/extended unit tests for the affected panels

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear AlexAndBear changed the title feat: show empty state image and item overview in sidebar no-selection panels feat: harmonize the right sidebar panels Sep 28, 2026
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Sep 28, 2026
@AlexAndBear
AlexAndBear merged commit 5d3e6df into main Sep 28, 2026
31 checks passed
@AlexAndBear
AlexAndBear deleted the feat/sidebar-no-selection-panel branch September 28, 2026 12:03
@openclouders openclouders mentioned this pull request Sep 28, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants