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

Add forms plugin to issue report component #2302

Merged
merged 10 commits into from
Jan 21, 2025
Merged

Add forms plugin to issue report component #2302

merged 10 commits into from
Jan 21, 2025

Conversation

christian-byrne
Copy link
Collaborator

@christian-byrne christian-byrne commented Jan 20, 2025

This PR adds the primevue-forms plugin and integrates it with the ReportIssuePanel component, adding validation against a form schema and providing responsive messages for validation failures according to the given errored field.

forms-ux.mp4

┆Issue is synchronized with this Notion page by Unito

- remove and inline CheckboxGroup component
- add PrimeVue forms integration
Copy link

socket-security bot commented Jan 20, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@primevue/[email protected] None +2 306 kB tugcekucukoglu

View full report↗︎

@@ -0,0 +1,10 @@
declare module '@primevue/forms/resolvers/zod' {
Copy link
Member

Choose a reason for hiding this comment

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

Can you link the issue primefaces/primevue#6722 here to explain why this file need to be added?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The issue is also resolved by updating primevue from v4.0.5 to match the version of primevue/forms which starts at v4.2.0

Copy link
Member

Choose a reason for hiding this comment

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

@christian-byrne christian-byrne marked this pull request as ready for review January 21, 2025 00:36
@huchenlei huchenlei merged commit ed6ece2 into main Jan 21, 2025
9 of 10 checks passed
@huchenlei huchenlei deleted the vue-forms-report branch January 21, 2025 01:21
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