Skip to content

[PUI] Add quick login via url - #7022

Merged
SchrodingersGat merged 5 commits into
inventree:masterfrom
matmair:pui-add-quick-login
Apr 17, 2024
Merged

SchrodingersGat merged 5 commits into
inventree:masterfrom
matmair:pui-add-quick-login

Conversation

@matmair

@matmair matmair commented Apr 14, 2024

Copy link
Copy Markdown
Member

This PR:

  • Adds the url based login method (user + pwd) that we use for the demo to PUI
  • Switches most tests (all that do not explicitly test user login UI) to use this method as it is easier to compute

@matmair matmair added CI CI / unit testing ecosystem User Interface Related to the frontend / User Interface labels Apr 14, 2024
@matmair matmair added this to the 0.15.0 milestone Apr 14, 2024
@matmair matmair self-assigned this Apr 14, 2024
@netlify

netlify Bot commented Apr 14, 2024 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit be4f463
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/661d465bf3f6950008685632
😎 Deploy Preview https://deploy-preview-7022--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: 70 (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.

@codecov

codecov Bot commented Apr 14, 2024 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 83.39%. Comparing base (f15a300) to head (be4f463).
Report is 4 commits behind head on master.

Files Patch % Lines
src/frontend/src/pages/Auth/Login.tsx 66.66% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7022      +/-   ##
==========================================
- Coverage   83.41%   83.39%   -0.02%     
==========================================
  Files        1028     1038      +10     
  Lines       45213    45456     +243     
  Branches     1187     1242      +55     
==========================================
+ Hits        37716    37910     +194     
- Misses       7255     7296      +41     
- Partials      242      250       +8     
Flag Coverage Δ
pui 57.99% <66.66%> (+0.93%) ⬆️

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.

@matmair

matmair commented Apr 14, 2024

Copy link
Copy Markdown
Member Author

ready for review

Comment thread src/frontend/src/pages/Auth/Login.tsx Resolved
@matmair

matmair commented Apr 17, 2024

Copy link
Copy Markdown
Member Author

@SchrodingersGat this would be ready for review and handy as it cuts down on test run time

@SchrodingersGat
SchrodingersGat merged commit 500f63d into inventree:master Apr 17, 2024
@SchrodingersGat
SchrodingersGat deleted the pui-add-quick-login branch April 17, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CI / unit testing ecosystem User Interface Related to the frontend / User Interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants