Skip to content

Prettify mapping builder form

Olena Horal-Koretska requested to merge 280851-prettify-mapping-builder into master

🇺🇦 the section is behind 2 feature flag s http_integrations_list && multiple_http_integrations_custom_mapping

To check navigate to Settings=>Operations=>Alerts=> Select HTTP Endpoint (in Select integration type dropdown)=>Toggle Active toggle ON=>Press "Submit payload" (Currently interaction with BE is mocked so it doesn't matter what test payload field contains)

What does this MR do?

  1. Aligns controls on mapping builder form based on UX feedback
  2. Adds toast message on successful payload parse
  3. adds aria-labelledby attribute to each control referencing column header based on this discussion gitlab-svgs#159 (comment 437106979) (I've opted for labelledby instead of describedby based on this article)

Plan for the feature rollout on frontend side

header header
Introduce feature flag, add placeholder for Mapping Builder !46437 (merged)
Add mapping builder form with mocked data !45797 (merged)
Add linking arrow !45797 (merged)
Mock communication with BE for sample payload parse and read !47019 (merged)
Prettify the form workflowin review Current MR !47512 (merged)
Integrate parsing alert payload with backend
Send test alert - integration with backend
Save form - integration with backend
Remove feature flag

Screenshots (strongly suggested)

Mapping fields

Screen_Shot_2020-11-12_at_14.43.43

Screen_Shot_2020-11-13_at_16.14.13

Screen_Shot_2020-11-13_at_16.14.32

Parsing & mapping

2020-11-13_16.06.57

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #280851 (closed)

Edited by Olena Horal-Koretska

Merge request reports