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

Forms fixes #8722

Merged
merged 5 commits into from
Dec 20, 2024
Merged

Forms fixes #8722

merged 5 commits into from
Dec 20, 2024

Conversation

SchrodingersGat
Copy link
Member

- Allow error message to be passed through via field definition
- Return error information to onFormError
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action Platform UI Related to the React based User Interface backport-to-0.17.x Backport these changes to the 0.17.x branch labels Dec 19, 2024
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Dec 19, 2024
Copy link

netlify bot commented Dec 19, 2024

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit c88ff83
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/6764e059c0f10000089bbfb1
😎 Deploy Preview https://deploy-preview-8722--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 86 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 68.42105% with 6 lines in your changes missing coverage. Please review.

Project coverage is 85.30%. Comparing base (5379269) to head (c88ff83).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
src/frontend/src/components/forms/ApiForm.tsx 33.33% 4 Missing ⚠️
...frontend/src/components/forms/fields/TextField.tsx 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8722      +/-   ##
==========================================
+ Coverage   85.25%   85.30%   +0.04%     
==========================================
  Files        1175     1174       -1     
  Lines       52432    52433       +1     
  Branches     2079     2087       +8     
==========================================
+ Hits        44703    44727      +24     
+ Misses       7228     7189      -39     
- Partials      501      517      +16     
Flag Coverage Δ
pui 69.31% <68.42%> (+0.23%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SchrodingersGat SchrodingersGat merged commit aabcf52 into inventree:master Dec 20, 2024
27 checks passed
@SchrodingersGat SchrodingersGat deleted the forms-fixes branch December 20, 2024 03:53
github-actions bot pushed a commit that referenced this pull request Dec 20, 2024
* Refactor form fields

- Allow error message to be passed through via field definition
- Return error information to onFormError

* Fix debounce issue for text fields

* Fix for useForm hook

* Badge fix

- Fix badge rendering for SalesOrderShipment

* Cleanup unit test

(cherry picked from commit aabcf52)
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
0.17.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Dec 20, 2024
* Refactor form fields

- Allow error message to be passed through via field definition
- Return error information to onFormError

* Fix debounce issue for text fields

* Fix for useForm hook

* Badge fix

- Fix badge rendering for SalesOrderShipment

* Cleanup unit test

(cherry picked from commit aabcf52)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Apply this label to a PR to enable auto-backport action backport-to-0.17.x Backport these changes to the 0.17.x branch bug Identifies a bug which needs to be addressed Platform UI Related to the React based User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants