Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve devise error display #4857

Merged
merged 5 commits into from
Aug 31, 2022
Merged

Improve devise error display #4857

merged 5 commits into from
Aug 31, 2022

Conversation

masaball
Copy link
Contributor

This PR updates the generation of sign up and related devise registration errors to provide details on what caused the error. It also removes extra white space between the label and entry field that was being added when errors triggered.

devise_errors

Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good sleuthing! I wonder if there isn't a simpler solution though leaning into bootstrap_form and newer versions of files from devise. Would you be open to trying that out? It seems like you have a really good grasp on the situation so hopefully it wouldn't take too much time to try.

@masaball
Copy link
Contributor Author

Yeah, I can try out those options. At the very least, definitely in our best interests to take care of the stuff being deprecated while I'm already working on them. Keep on top of some of the tech debt.

Copy link
Member

@cjcolvar cjcolvar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@cjcolvar cjcolvar merged commit 2841b1a into develop Aug 31, 2022
@cjcolvar cjcolvar deleted the devise_errors branch August 31, 2022 18:17
@cjcolvar cjcolvar mentioned this pull request Nov 29, 2022
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants