Skip to content

Fix hidden error messages on the registration form#9625

Merged
andreslucena merged 1 commit intodecidim:developfrom
mainio:fix/8266
Sep 13, 2022
Merged

Fix hidden error messages on the registration form#9625
andreslucena merged 1 commit intodecidim:developfrom
mainio:fix/8266

Conversation

@ahukkanen
Copy link
Copy Markdown
Contributor

🎩 What? Why?

The registration page does not show the flash alert in case there are errors on the form which can be a confusing experience for the participant. This fixes the issue.

📌 Related Issues

Testing

  • Go to the registration form
  • Fill in all other details but set the password confirmation differently than the password
  • Submit the form
  • Expect to see a flash error at the top of the page

@ahukkanen ahukkanen added module: core type: fix PRs that implement a fix for a bug labels Aug 1, 2022
Copy link
Copy Markdown
Member

@andreslucena andreslucena left a comment

Choose a reason for hiding this comment

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

Confirmed that this is working as expected.

Comparing it on how it was when the original description screenshot was made, now after merging with the latest develop, the design is a bit broken:
image

(See the highlighted text to see the alert).

Just to be sure, I also checked it with the new redesign, that's a bit less broken:

Selection_287

So, just seeing the alert of this PR - and ignoring the rest of the page, LGTM 👍🏽

@ahukkanen
Copy link
Copy Markdown
Contributor Author

FYI: Most of the redesigned views are broken with the old layout. They are just "functional" in the sense that the tests are passing with the old Foundation layout.

Until redesign is completed and enabled globally, this problem will persist in the develop branch.

@andreslucena
Copy link
Copy Markdown
Member

Until redesign is completed and enabled globally, this problem will persist in the develop branch.

Ah, ok, I thought so! Just wanted a confirmation that this isn't only happening in my machine 👍🏽

@andreslucena andreslucena merged commit 3815534 into decidim:develop Sep 13, 2022
@ahukkanen ahukkanen deleted the fix/8266 branch September 13, 2022 15:41
entantoencuanto added a commit that referenced this pull request Sep 13, 2022
* develop:
  Add missing character on code block (#9798)
  Fix hidden error messages on the registration form (#9625)
  Add documentation about configuring ActiveStorage / dynamic file uploads (#9777)
  Add documentation section about customizing cells (#9622)
  Fix hashtags not recognized at the beginning of the string (#9616)
  Fix version pages showing a HTTP 500 error when the version does not exist (#9615)
  Fix multitenant organizations stats cache (#9605)
  Prevent the account edit route through Devise (#9611)
  Fix iframe disabling producing invalid HTML (#9685)
  Fix import of images on spaces (#9779)
  Fix order of last activities (#9756)
  Fix leaking emails on admin user search controller (#9791)
  Ignore participatory spaces without models in meetings visible_for scope (#9790)
entantoencuanto added a commit that referenced this pull request Sep 15, 2022
* develop: (24 commits)
  Add develop index to the documentation (#9666)
  Fix initiatives components (#9633)
  Fix conference speaker avatars (#9643)
  Update `rokroskar/workflow-run-cleanup-action` GitHub action to v0.3.3 (#9750)
  Fix character counter for the WYSIWYG editor (#9680)
  Fix posting comments before the initial load has run (#9614)
  Fix parallel tests port in use (#9661)
  Split parallel test coverage reports into their own folders (#9686)
  Improve admin panel user experience regarding title links and order of actions (#9496)
  Fix title and description too long in initiatives spec sometimes (#9648)
  Fix API GraphiQL system spec with newer ChromeDriver (#9642)
  Add missing character on code block (#9798)
  Fix hidden error messages on the registration form (#9625)
  Add documentation about configuring ActiveStorage / dynamic file uploads (#9777)
  Add documentation section about customizing cells (#9622)
  Fix hashtags not recognized at the beginning of the string (#9616)
  Fix version pages showing a HTTP 500 error when the version does not exist (#9615)
  Fix multitenant organizations stats cache (#9605)
  Prevent the account edit route through Devise (#9611)
  Fix iframe disabling producing invalid HTML (#9685)
  ...
eliegaboriau pushed a commit to eliegaboriau/decidim that referenced this pull request Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: core type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No error message at the top of the sign up is confusing

2 participants