Skip to content

Update user list component error message

What does this MR do and why?

Update user list component error message

Updates the user list component error message to so it is more clear and actionable.

Changelog: changed

Screenshots or screen recordings

Before After
Screenshot_2023-08-30_at_3.37.53_pm Screenshot_2023-08-27_at_3.52.31_pm

How to set up and validate locally

  1. In your editor, set the if attribute on line 91 to be true to force the error message to display, e.g. <gl-alert v-if="true" variant="danger" @dismiss="dismissErrorAlert">.
  2. Navigate to a project's feature flag user lists page, e.g. http://127.0.0.1:3000/GROUP/PROJECT/-/feature_flags_user_lists.
  3. Select an existing user list, or create a new one and select it.
  4. View the error message at the top of the screen.
  5. Revert your code changes you made in step 1.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #229873 (closed)

Edited by Taliesin Millhouse

Merge request reports

Loading