Repository navigation
feat: create a space with quota, subtitle, description, image and members - #3413
Merged
Merged
Conversation
AlexAndBear
force-pushed
the
issues/1188
branch
4 times, most recently
from
September 21, 2026 13:44
aadbed1 to
ea38f7a
Compare
AlexAndBear
marked this pull request as ready for review
September 22, 2026 00:33
AlexAndBear
force-pushed
the
issues/1188
branch
12 times, most recently
from
September 22, 2026 06:28
dc366df to
d26f713
Compare
Member
AlexAndBear
force-pushed
the
issues/1188
branch
2 times, most recently
from
September 22, 2026 08:07
28755d6 to
2398c3c
Compare
JammingBen
reviewed
Sep 22, 2026
…bers An `Options` toggle in the create-space dialog reveals image, subtitle, description, quota and members. The options are applied once the drive exists; each step runs on its own and failures are collected into one summary toast, so a space that was created is never rolled back because e.g. its image failed. Modals render as a stack, so the image cropper can open over the create-space dialog without resetting it. A modal's body scrolls while its header and footer stay in place.
AlexAndBear
force-pushed
the
issues/1188
branch
from
September 22, 2026 08:22
2398c3c to
f37d104
Compare
JammingBen
approved these changes
Sep 22, 2026
openclouders
pushed a commit
that referenced
this pull request
Sep 22, 2026
…bers (#3413) An `Options` toggle in the create-space dialog reveals image, subtitle, description, quota and members. The options are applied once the drive exists; each step runs on its own and failures are collected into one summary toast, so a space that was created is never rolled back because e.g. its image failed. Modals render as a stack, so the image cropper can open over the create-space dialog without resetting it. A modal's body scrolls while its header and footer stay in place.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Create a space with everything already set, instead of configuring it afterwards. The name-only dialog stays as it was — an
Optionstoggle (same pattern as public links) reveals the rest.Added
CreateSpaceOptions.vue,SpaceImagePicker.vue(upload + crop, or an emoji via the existing icon picker, previewed next to the name),SpaceMemberSelect.vue(recipient autocomplete + role).useCreateSpaceapplies the options once the drive exists:setSpaceReadme,setSpaceImage,applyMembers.useSpaceImage— saves a cropped image on an existing space and reports the outcome.useCollaboratorAutocomplete— the debounced recipient search, shared with the sidebar invite form.Changed
ModalWrapperrenders the whole modal stack instead of only the active one, so the cropper can open over the create-space modal without resetting it.OcModalgainedactive(only the topmost dims the background and holds the focus trap) and per-instance title ids, so stacked dialogs don't share onearia-labelledbytarget.OcDropoutranks the modal layer and hands focus back to its toggle on close.InviteCollaboratorFormuses the new autocomplete composable — behaviour unchanged, ~125 lines lighter.SpaceImageModalandAvatarUploaduse@vueuse/core'suseObjectUrlinstead of a hand-rolled one; the space-image actions delegate their error reporting touseSpaceImage..space/readme.mdthat the drive doesn't have registered.concurrentRequests.shares.createqueue.OcSelectno longer lets vue-select's search input outrank everything outside the select, so it can't show through a sticky footer it scrolls under.Related Issue
How Has This Been Tested?
pnpm check:all(4171 unit tests, incl. new specs foruseSpaceImage,SpaceMemberSelect,CreateSpaceModal,OcDrop,ModalWrapperandTextEditorContent)Run manually in the browser:
.space/readme.mdwith the content intactNot covered: creating an end-to-end encrypted space end to end (needs a vault password), and the summary toast for a failing step.
Types of changes