-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Orgs] Persist slug
#16923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Orgs] Persist slug
#16923
Conversation
|
started the job as gitpod-build-at-persist-slug.0 because the annotations in the pull request description changed |
9782c0a to
462ac54
Compare
2b53117 to
9949da9
Compare
b8c6601 to
24a7e6c
Compare
73c138b to
726ce97
Compare
|
Just found another issue I'd like to tackle before setting to ready: when changing slug, it needs to get validated. ✔️ |
726ce97 to
811a8d2
Compare
|
/gh run recreate-vm Comment triggered a workflow runStarted workflow run: 4488322389
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of UX comments below. 🏓
Thanks, @AlexTugarev! 🌮 🌮
Approving to unblock merging, holding to address the missing duplicate slug error and for someone to take a closer look at the code changes.
/hold
| /> | ||
|
|
||
| <TextInputField | ||
| label="Slug" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: Thanks @AlexTugarev for using the new form components! Thanks also @selfcontained for initially adding[1] the htmlFor element.
92e75c4 to
e4b28dd
Compare
e4b28dd to
af2e4d3
Compare
af2e4d3 to
3000b12
Compare
6549295 to
5a2c5ad
Compare
| creationTime: new Date().toISOString(), | ||
| }; | ||
| await teamRepo.save(team); | ||
| let slug = slugify(name, { lower: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing we've ensured that the resulting slug from this function does actually conform to the regex which we're enforcing when doing the update.
|
/gh run recreate-vm |
5a2c5ad to
cf2a7ef
Compare
|
/gh run recreate-vm Comment triggered a workflow runStarted workflow run: 4508570254
|
cf2a7ef to
4190538
Compare
|
/hold cancel We'll verify on gitpod-staging.com once more, as the preview env doesn't work anymore. |

Description
This (re-)introduces persistence of
Organization.slug.New organizations will be given unique slugs. In case of conflicts, the slugified name attribute will be appended by a random string.
Org owners will be able to change the slug under Settings.
Known follow-ups:
slugfor non-owner of the organizationslugfield to New Organization screenRelated Issue(s)
Part of #16856
How to test
Release Notes
Documentation
Build Options:
Run the build with werft instead of GHA
Run Leeway with
--dont-testPublish Options
Installer Options
Add desired feature flags to the end of the line above, space separated
Preview Environment Options:
If enabled this will build
install/previewIf enabled this will create the environment on GCE infra
Valid options are
all,workspace,webapp,ide,jetbrains,vscode,ssh