Skip to content

Conversation

lucasgoral
Copy link
Contributor

What this PR does / why we need it:

This PR fixes toast notification text that was not displayed fully and adds small improvement to the create project form.

@lucasgoral lucasgoral marked this pull request as ready for review March 24, 2025 11:56
Copy link
Contributor

@andreaskienle andreaskienle left a comment

Choose a reason for hiding this comment

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

Just some smaller remarks, otherwise looks good

Copy link
Contributor

@andreaskienle andreaskienle 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! Just for my own curiosity:

  • Why aren’t we using ⁠reset() to reset the entire form instead of resetting each field separately?
  • I might be missing something, but could we use ⁠defaultValues in ⁠useForm to prefill the email address instead of doing it in ⁠useEffect? Then, we could just call ⁠reset(defaultValues) when ⁠isOpen changes. If this works, it might make the code easier to follow. But we can also leave it like it is, it just crossed my mind.

Anyway, thanks for resolving the issue so swiftly! 😊

@lucasgoral lucasgoral merged commit b40654c into main Mar 25, 2025
4 checks passed
@lucasgoral lucasgoral deleted the bugfix/toast-and-form-fixes branch March 26, 2025 10:45
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.

4 participants