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

[#55801] Add form validation in add project dialog for project attributes #15921

Merged

Conversation

judithroth
Copy link
Contributor

@judithroth judithroth commented Jun 21, 2024

OP#55801

@judithroth judithroth self-assigned this Jun 21, 2024
@judithroth judithroth force-pushed the bug/55801-form-validation-in-add-project-dialog-missing branch 2 times, most recently from fc1ae41 to aafd431 Compare June 24, 2024 07:54
@judithroth judithroth changed the base branch from dev to release/14.2 June 24, 2024 07:55
@judithroth judithroth force-pushed the bug/55801-form-validation-in-add-project-dialog-missing branch 2 times, most recently from 1936e23 to 50292c4 Compare June 24, 2024 12:30
@judithroth judithroth marked this pull request as ready for review June 24, 2024 12:52
@judithroth judithroth requested review from akabiru and a team June 24, 2024 12:52
@judithroth judithroth removed their assignment Jun 24, 2024
@judithroth judithroth changed the title Bug/55801 form validation in add project dialog missing [#55801] Add form validation in add project dialog for project attributes Jun 24, 2024
Copy link
Member

@akabiru akabiru left a comment

Choose a reason for hiding this comment

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

Looks good to me, Judith! 👍🏾 I left some remarks tagged by the traffic light system (🟢 🟠 🔴 )


Some general Qs:

  • 🟠 I noticed that we have a bit of a flicker now due to the split dialog render- I presume this is acceptable UX as the respond_with_dialog already existed?

    flicker-add-projects-attributes.mp4
  • 🟢 I wonder if there's any further padding or restructuring we can do to the modal body to stop the "X" icon hover state touching the autocompleter input. Right now it's a bit of an eye sore 😬

Screenshot 2024-06-25 at 2 36 40 PM

@judithroth
Copy link
Contributor Author

Looks good to me, Judith! 👍🏾 I left some remarks tagged by the traffic light system (🟢 🟠 🔴 )

Some general Qs:

* [ ]  🟠 I noticed that we have a bit of a flicker now due to the split dialog render- I presume this is acceptable UX as the `respond_with_dialog` already existed?

I assume this is the case. After you mentioned it, I saw the flickering too (it only happens on the first time after the page is loaded). I used the pattern described in the lookbook "Async dialogs as turbo streams". Actually I'm not sure how I could fix it.

      flicker-add-projects-attributes.mp4

* [ ]  🟢 I wonder if there's any further padding or restructuring we can do to the modal body to stop the "X" icon hover state touching the autocompleter input. Right now it's a bit of an eye sore 😬

Screenshot 2024-06-25 at 2 36 40 PM

Well... one of my last code clean ups obviously removed the dialog header text. After readding the header title the eye sore is gone again and the icon hover and the input don't snuggle any more:

Screenshot from 2024-06-25 15-23-17

Copy link
Member

@akabiru akabiru left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the feedback, looking good! :shipit:

@akabiru
Copy link
Member

akabiru commented Jun 26, 2024

⚠️ @judithroth reminder to change the branch base to dev

@judithroth judithroth force-pushed the bug/55801-form-validation-in-add-project-dialog-missing branch from df03806 to a873e1d Compare June 26, 2024 13:02
@judithroth judithroth changed the base branch from release/14.2 to dev June 26, 2024 13:02
@judithroth
Copy link
Contributor Author

Force push / rebase because of changing the base branch - when I started working on this, I thought it was going into the release/14.2 branch, but it should go into dev.

@judithroth judithroth merged commit c65d77a into dev Jun 26, 2024
10 checks passed
@judithroth judithroth deleted the bug/55801-form-validation-in-add-project-dialog-missing branch June 26, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants