Skip to content

feat: prefill the space name when creating a space from a selection - #4508

Merged
AlexAndBear merged 1 commit into
mainfrom
feat/create-space-from-selection-prefill
Nov 17, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
feat/create-space-from-selection-prefill

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

"Create Space from selection" now prefills the space name with "New space" (counted up if a project space with that name already exists), the same way the "New Space" modal does. Both flows now share the same name suggestion.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: the shared suggestion returns "New space", counts up past existing project spaces and ignores other space types; the action opens the modal prefilled
  • test case 2: browser: Create Space from selection shows an empty field on main, "New space (n)" fully selected with Create enabled on the branch; Enter creates the space with the folder content
  • test case 3: browser: suggestions of the action and the "New Space" modal stay in sync after creating spaces and after a reload
  • test case 4: browser: name validation (forbidden characters, leading whitespace, empty) unchanged

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 merged commit eac906d into main Nov 17, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the feat/create-space-from-selection-prefill branch November 17, 2026 08:09
@openclouders openclouders mentioned this pull request Nov 17, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prefill the space name when creating a space from a selection

2 participants