Migrate admin "New group" form to Vue
Background
Currently the admin "New group" form (/admin/groups/new
) is a mixture of Vue/HAML/jQuery. We are in the process of building the form out in Vue for Organizations in #410804 (closed). Once that is complete we should use that Vue form for the admin "New group" form to reduce technical debt and have a consistent UX experience across all of GitLab.
Proposal
Use the Vue from build in #410804 (closed) to migrate the from on /admin/groups/new
Implementation guide
- Create a
new_group_app.vue
file inapp/assets/javascripts/admin/groups/components
- Render
app/assets/javascripts/groups/components/new_group_form.vue
- Add hidden inputs in
new_group_app.vue
that update with the values fromapp/assets/javascripts/groups/components/new_group_form.vue
. - Mount form in
app/views/admin/groups/new.html.haml
Edited by Christina Lohr