Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

enh(platform): Use API to select metrics in virtual metrics configuration form #11430

Merged
merged 10 commits into from
Jul 29, 2022

Conversation

hyahiaoui-ext
Copy link
Contributor

Description

Replacing www/include/views/graphs/common/makeXML_ListMetrics.php by the select2 for metrics

Listed metrics are from host/service couple selected in form

Previews:

Before:
image
After:
image

Fixes # MON-14359

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

  • 21.04.x
  • 21.10.x
  • 22.04.x
  • 22.10.x (master)

Checklist

Community contributors & Centreon team

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (master, maintenance).

@hyahiaoui-ext
Copy link
Contributor Author

Hey dear reviewers 👋, i know i've made changes in the composer.json and lock files, just to test the build, i'll revert them after mergin the branch in "test-lib"!

@hyahiaoui-ext hyahiaoui-ext requested a review from callapa July 29, 2022 10:12
@sonarqube-decoration
Copy link

@hyahiaoui-ext hyahiaoui-ext merged commit 0a57a73 into develop Jul 29, 2022
@hyahiaoui-ext hyahiaoui-ext deleted the MON-14359-use-api-to-select-metrics branch July 29, 2022 14:50
hyahiaoui-ext added a commit that referenced this pull request Jul 29, 2022
…tion form (#11430)

* changing select with select2 of metrics

* fix alignement

* remove unecessary files and replace selec by select2 in formComponentTemplate

* fix select id name for acceptance tests

* update composer for acceptance tests

* fix acceptance test 2

* add allow clear to metrics select2

* applying suggested changes

* final changes for merging

* remove unecessary select tag
hyahiaoui-ext added a commit that referenced this pull request Jul 29, 2022
…tion form (#11430)

* changing select with select2 of metrics

* fix alignement

* remove unecessary files and replace selec by select2 in formComponentTemplate

* fix select id name for acceptance tests

* update composer for acceptance tests

* fix acceptance test 2

* add allow clear to metrics select2

* applying suggested changes

* final changes for merging

* remove unecessary select tag
hyahiaoui-ext added a commit that referenced this pull request Jul 29, 2022
…tion form (#11430)

* changing select with select2 of metrics

* fix alignement

* remove unecessary files and replace selec by select2 in formComponentTemplate

* fix select id name for acceptance tests

* update composer for acceptance tests

* fix acceptance test 2

* add allow clear to metrics select2

* applying suggested changes

* final changes for merging

* remove unecessary select tag
hyahiaoui-ext added a commit that referenced this pull request Aug 1, 2022
…tion form (#11430)

* changing select with select2 of metrics

* fix alignement

* remove unecessary files and replace selec by select2 in formComponentTemplate

* fix select id name for acceptance tests

* update composer for acceptance tests

* fix acceptance test 2

* add allow clear to metrics select2

* applying suggested changes

* final changes for merging

* remove unecessary select tag
hyahiaoui-ext added a commit that referenced this pull request Aug 4, 2022
…tion form (#11430)

* changing select with select2 of metrics

* fix alignement

* remove unecessary files and replace selec by select2 in formComponentTemplate

* fix select id name for acceptance tests

* update composer for acceptance tests

* fix acceptance test 2

* add allow clear to metrics select2

* applying suggested changes

* final changes for merging

* remove unecessary select tag
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants