-
Notifications
You must be signed in to change notification settings - Fork 0
Fix textarea validation tests and success state display #105
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
Merged
jaruesink
merged 14 commits into
main
from
codegen-bot/fix-textarea-validation-tests-1753586526
Jul 27, 2025
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
3317b88
Fix textarea validation tests and success state display
codegen-sh[bot] c1c6e06
Fix textarea component by adding React.forwardRef
codegen-sh[bot] 8117e6d
Fix TypeScript compilation errors
codegen-sh[bot] cd8e40c
Address CodeRabbit review comments
codegen-sh[bot] 4219a74
Refactor Button component to use React 19 ref pattern
codegen-sh[bot] e770563
Initial plan
Copilot 8452908
Fix textarea form submission by correcting field name in onValid handler
Copilot 9fb8bac
Refactor package.json and Vite config for improved exports and entry …
jaruesink 5d3089e
Remove redundant test assertion for submitted message display
Copilot 3eaf6e2
Merge pull request #106 from lambda-curry/copilot/fix-b208e5c2-5efe-4…
jaruesink 79d5eac
Refactor Textarea exports and update TextField display name
jaruesink b7ce651
Merge branch 'codegen-bot/fix-textarea-validation-tests-1753586526' o…
jaruesink 56607c8
Update package version to 0.17.3 in components package.json
jaruesink 80c0d18
Update yarn.lock to reflect new package versions and dependencies
jaruesink File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| // Main entry point for @lambdacurry/forms | ||
| // Export UI components first | ||
| export * from './ui'; | ||
| // Main exports from both remix-hook-form and ui directories | ||
|
|
||
| // Export remix-hook-form components (some may override UI components intentionally) | ||
| // Export all components from remix-hook-form | ||
| export * from './remix-hook-form'; | ||
|
|
||
| // Explicitly export Textarea from both locations to handle naming conflicts | ||
| // The remix-hook-form Textarea is a form-aware wrapper | ||
| export { Textarea as TextareaField } from './remix-hook-form/textarea'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Consider a more type-safe approach to maintain flexibility without losing compile-time safety.
The change from a typed parameter to rest parameters with casting reduces type safety. While this makes the debounce utility more generic, the runtime cast
args[0] as string | numbercould fail if unexpected argument types are passed.Consider maintaining type safety while preserving flexibility:
If generic flexibility is required, consider using a proper generic constraint in the debounce utility instead of runtime casting.
📝 Committable suggestion
🤖 Prompt for AI Agents