Improvements to `Project::Infra::Google Cloud`
- Feature flag `incubation_5mp_google_cloud` bound to Project This allows for easier testing on gitlab.com where the feature flag may be enabled for select projects. - `service_accounts` is an active route for `google_cloud` menu item This expands the appropriate project sidemenu item when creating a service account - Introduce a top level `app.vue` component Achieves consistency with a majority of frontend code in the repo Where a single route with a single entry point serves multiple templates Instead of routing the frontend in `index.js` use a top level component to render the appropriate `screen` https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75295
显示
- app/assets/javascripts/google_cloud/components/app.vue 59 个添加, 0 个删除app/assets/javascripts/google_cloud/components/app.vue
- app/assets/javascripts/google_cloud/components/home.vue 41 个添加, 0 个删除app/assets/javascripts/google_cloud/components/home.vue
- app/assets/javascripts/google_cloud/components/service_accounts_form.vue 1 个添加, 12 个删除...scripts/google_cloud/components/service_accounts_form.vue
- app/assets/javascripts/google_cloud/index.js 8 个添加, 36 个删除app/assets/javascripts/google_cloud/index.js
- app/controllers/projects/google_cloud/base_controller.rb 1 个添加, 1 个删除app/controllers/projects/google_cloud/base_controller.rb
- app/controllers/projects/google_cloud/service_accounts_controller.rb 3 个添加, 2 个删除...lers/projects/google_cloud/service_accounts_controller.rb
- app/controllers/projects/google_cloud_controller.rb 1 个添加, 0 个删除app/controllers/projects/google_cloud_controller.rb
- app/views/projects/google_cloud/errors/gcp_error.html.haml 1 个添加, 1 个删除app/views/projects/google_cloud/errors/gcp_error.html.haml
- app/views/projects/google_cloud/errors/no_gcp_projects.html.haml 1 个添加, 1 个删除...ws/projects/google_cloud/errors/no_gcp_projects.html.haml
- app/views/projects/google_cloud/service_accounts/index.html.haml 1 个添加, 1 个删除...ws/projects/google_cloud/service_accounts/index.html.haml
- lib/sidebars/projects/menus/infrastructure_menu.rb 2 个添加, 2 个删除lib/sidebars/projects/menus/infrastructure_menu.rb
- locale/gitlab.pot 1 个添加, 1 个删除locale/gitlab.pot
- spec/frontend/google_cloud/components/app_spec.js 115 个添加, 0 个删除spec/frontend/google_cloud/components/app_spec.js
- spec/frontend/google_cloud/components/home_spec.js 61 个添加, 0 个删除spec/frontend/google_cloud/components/home_spec.js
- spec/frontend/google_cloud/components/service_accounts_form_spec.js 1 个添加, 7 个删除...end/google_cloud/components/service_accounts_form_spec.js
加载中
想要评论请 注册 或 登录