Skip to content

refactor(frontend): Auth component refactor - #9121

Merged
SchrodingersGat merged 25 commits into
inventree:masterfrom
matmair:pui-refactor-auth
Feb 24, 2025
Merged

SchrodingersGat merged 25 commits into
inventree:masterfrom
matmair:pui-refactor-auth

Conversation

@matmair

@matmair matmair commented Feb 21, 2025 •

Copy link
Copy Markdown
Member

Follow up to #6293

Refactors the way login/auth components are structured to ensure a consistent look

@matmair matmair added refactor User Interface Related to the frontend / User Interface labels Feb 21, 2025
@matmair matmair added this to the 1.0.0 milestone Feb 21, 2025
@matmair matmair self-assigned this Feb 21, 2025
@netlify

netlify Bot commented Feb 21, 2025 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 58f4052
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67bcc6e2ab0f300008e09cd1
😎 Deploy Preview https://deploy-preview-9121--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: 94 (🟢 up 1 from production)
Accessibility: 89 (no change from production)
Best Practices: 92 (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.

@matmair matmair changed the title refactor(frontend): Auth compnent refactor refactor(frontend): Auth component refactor Feb 21, 2025
@matmair
matmair marked this pull request as ready for review February 22, 2025 10:25
@codecov

codecov Bot commented Feb 22, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 64.04494% with 32 lines in your changes missing coverage. Please review.

Project coverage is 86.07%. Comparing base (cfdafcd) to head (58f4052).
Report is 228 commits behind head on master.

Files with missing lines Patch % Lines
src/frontend/src/functions/auth.tsx 45.83% 25 Missing and 1 partial ⚠️
src/frontend/src/pages/Auth/Login.tsx 62.50% 2 Missing and 1 partial ⚠️
src/frontend/src/pages/Auth/Layout.tsx 85.71% 1 Missing and 1 partial ⚠️
.../frontend/src/components/forms/InstanceOptions.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9121      +/-   ##
==========================================
+ Coverage   86.01%   86.07%   +0.06%     
==========================================
  Files        1180     1181       +1     
  Lines       52181    52139      -42     
  Branches     2179     2187       +8     
==========================================
- Hits        44881    44878       -3     
+ Misses       6741     6699      -42     
- Partials      559      562       +3     
Flag Coverage Δ
pui 69.39% <64.04%> (∅)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat

Copy link
Copy Markdown
Member

@matmair I notice on the "reset password" screen that if you leave everything blank, the errors don't get populated to the right fields in the form:

image

@matmair

matmair commented Feb 23, 2025

Copy link
Copy Markdown
Member Author

@SchrodingersGat I made the confirm button disabled in that case to address this

@SchrodingersGat
SchrodingersGat merged commit 991b578 into inventree:master Feb 24, 2025
@SchrodingersGat
SchrodingersGat deleted the pui-refactor-auth branch February 24, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants