Add independant active toggle component
- Add a Vue component on the integrations form to replace the active toggle - Use GlToggle to replace checkbox
Showing
with
208 additions
and
48 deletions
+208
-48
- app/assets/javascripts/integrations/edit/components/active_toggle.vue ...avascripts/integrations/edit/components/active_toggle.vue +53 -0
- app/assets/javascripts/integrations/edit/event_hub.js app/assets/javascripts/integrations/edit/event_hub.js +3 -0
- app/assets/javascripts/integrations/edit/index.js app/assets/javascripts/integrations/edit/index.js +30 -0
- app/assets/javascripts/integrations/integration_settings_form.js ...ets/javascripts/integrations/integration_settings_form.js +17 -12
- app/views/shared/_service_settings.html.haml app/views/shared/_service_settings.html.haml +1 -5
- changelogs/unreleased/199882-update-active-checkbox-component.yml ...gs/unreleased/199882-update-active-checkbox-component.yml +5 -0
- doc/user/project/integrations/bamboo.md doc/user/project/integrations/bamboo.md +1 -1
- doc/user/project/integrations/discord_notifications.md doc/user/project/integrations/discord_notifications.md +1 -1
- doc/user/project/integrations/generic_alerts.md doc/user/project/integrations/generic_alerts.md +1 -1
- doc/user/project/integrations/github.md doc/user/project/integrations/github.md +1 -1
- doc/user/project/integrations/hangouts_chat.md doc/user/project/integrations/hangouts_chat.md +1 -1
- doc/user/project/integrations/hipchat.md doc/user/project/integrations/hipchat.md +1 -1
- doc/user/project/integrations/irker.md doc/user/project/integrations/irker.md +1 -1
- doc/user/project/integrations/mattermost_slash_commands.md doc/user/project/integrations/mattermost_slash_commands.md +1 -1
- doc/user/project/integrations/slack.md doc/user/project/integrations/slack.md +1 -1
- doc/user/project/integrations/slack_slash_commands.md doc/user/project/integrations/slack_slash_commands.md +1 -1
- doc/user/project/integrations/unify_circuit.md doc/user/project/integrations/unify_circuit.md +1 -1
- spec/features/admin/admin_settings_spec.rb spec/features/admin/admin_settings_spec.rb +0 -1
- spec/features/projects/services/user_activates_issue_tracker_spec.rb ...es/projects/services/user_activates_issue_tracker_spec.rb +1 -1
- spec/features/projects/services/user_activates_jira_spec.rb spec/features/projects/services/user_activates_jira_spec.rb +1 -2
- spec/features/projects/services/user_activates_mattermost_slash_command_spec.rb .../services/user_activates_mattermost_slash_command_spec.rb +2 -3
- spec/features/projects/services/user_activates_slack_slash_command_spec.rb ...jects/services/user_activates_slack_slash_command_spec.rb +4 -5
- spec/features/projects/services/user_activates_youtrack_spec.rb ...eatures/projects/services/user_activates_youtrack_spec.rb +1 -1
- spec/frontend/integrations/edit/components/active_toggle_spec.js ...ontend/integrations/edit/components/active_toggle_spec.js +65 -0
- spec/javascripts/integrations/integration_settings_form_spec.js ...avascripts/integrations/integration_settings_form_spec.js +14 -7
- No files found.
Please register or sign in to comment