Skip to content

Migrate `form_errors` to Pajamas::AlertComponent

What does this MR do and why?

Implements #364957 (closed)

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  • Under /-/profile/keys, click the first one (or anyone). Note its database id from the browser's URL.
  • You have to make it invalid on the console to see the "form errors". There is actually no form here!
Key.find(123).update_attribute(:title, nil) # use your key's id instead of 123
  • Refresh the page.

MR acceptance checklist

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

Merge request reports