Skip to content

Create profile selector component

What does this MR do?

This creates the OnDemandScansProfileSelector component. It will serve as a way to dynamically render the Site profile and Scanner profile selectors in the On-demand scans form.

Currently, both those selectors are implemented individually in the form, which results in a bloated template and a lot of duplicated code. Creating this new component lets us bundle the shared code in a single component that we'll include in the form in a follow-up MR where we'll cleanup the duplicated bits.

Screenshots

Since the component currently isn't used anywhere, there aren't any relevant screenshots to put here.

For reference though, here are the selectors that are being reimplemented in this new component:

Screen_Shot_2020-09-10_at_11.12.43_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports