From 06781f2a25f5b5f475141817442ee6d58ce7ee8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Caplette?= Date: Thu, 4 Aug 2022 14:39:09 -0400 Subject: [PATCH 1/4] Add ci variable settings and table components In the series of commits to migrate the CI/CD variables to graphQL, this commit introduce the final version of the settings and table components. --- .../components/ci_variable_settings.vue | 88 +++++++++++++- .../components/ci_variable_table.vue | 75 +++++++++--- .../components/ci_variable_settings_spec.js | 113 ++++++++++++++++++ .../components/ci_variable_table_spec.js | 101 ++++++++++++++++ 4 files changed, 358 insertions(+), 19 deletions(-) create mode 100644 spec/frontend/ci_variable_list/components/ci_variable_settings_spec.js create mode 100644 spec/frontend/ci_variable_list/components/ci_variable_table_spec.js diff --git a/app/assets/javascripts/ci_variable_list/components/ci_variable_settings.vue b/app/assets/javascripts/ci_variable_list/components/ci_variable_settings.vue index 4cc00eb01d934e..7b2f143e0af5f8 100644 --- a/app/assets/javascripts/ci_variable_list/components/ci_variable_settings.vue +++ b/app/assets/javascripts/ci_variable_list/components/ci_variable_settings.vue @@ -1,9 +1,93 @@ diff --git a/app/assets/javascripts/ci_variable_list/components/ci_variable_table.vue b/app/assets/javascripts/ci_variable_list/components/ci_variable_table.vue index f078234829acc7..1bb94080694704 100644 --- a/app/assets/javascripts/ci_variable_list/components/ci_variable_table.vue +++ b/app/assets/javascripts/ci_variable_list/components/ci_variable_table.vue @@ -1,10 +1,17 @@ + -