Skip to content

fix: keep shift-click ranges contiguous in admin settings lists - #3744

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/admin-shift-click-arrow
Oct 14, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/admin-shift-click-arrow

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Shift+click: the keyboard selection cursor is set to the clicked row, so Shift+Arrow after a Shift+click extends or shrinks the range without leaving gaps.
  • Checkboxes: Shift/Ctrl+click on a row checkbox selects the range like a row click, the same way as in the files table, instead of additionally toggling the clicked item.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: Shift+click on a row or checkbox followed by Shift+Arrow keeps a contiguous range
  • test case 2: a plain checkbox click still toggles the item
  • test case 3: browser: groups, users and spaces lists, including batch actions on the selected range

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 force-pushed the fix/admin-shift-click-arrow branch from 03c404d to d8d017d Compare October 14, 2026 07:36
@AlexAndBear
AlexAndBear merged commit 563d2b2 into main Oct 14, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/admin-shift-click-arrow branch October 14, 2026 08:15
@openclouders openclouders mentioned this pull request Oct 14, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shift+Arrow after a Shift+click leaves a gap in the selection of admin lists

2 participants