feat(spaces): member add validation + feedback (#217) #225
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-member-picker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Members dialog UX for #217.
validateMember()checks the (already-fetched) members + owner and shows inline status — "already a member — change their role above" or "the owner always has full access" — and disables Add for those cases, so there's no silent no-op.Scope note (deferred part of #217): the candidate dropdown + autocomplete needs an enumerable user directory. On OIDC without an admin read-client — the openbao dogfood's case — users aren't enumerable, so a dropdown would be empty; the validated free-text field is the correct fallback there. A candidate source (local users, or the IdP read-client from #215) can feed a
<datalist>later as a small follow-up; I'll note that on the issue rather than pretend it's universal.JS validated with
node --check. i18n added for the three new strings (EN/DE/FR/IT).