feat(spaces): frontend feature-detect + robust error surfacing (#216 frontend) #224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-fe-spaces216"
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?
Frontend half of #216 — closes the UI side of #209/#210.
api()error hardening: the helper already pulled.errorfrom JSON, but a Go plain-text404 page not found(and empty HTTP/2statusText) left the message blank — the emptyCreate failed:you saw. Now it reads the body once and falls back JSON.error→ raw body →HTTP <code>, so a real message always surfaces./me: reads the newme.spacescapability intofeat.spaceCreate/feat.spaceMembers.With the API half already merged, both capabilities are true on every instance now, so create-space and member management work; the feature-detect keeps the UI coherent on any instance where they're not.
JS validated with
node --checkin the scaffold workflow (CI itself only builds Go). No i18n added — reuses existing keys.