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

[UI] Reimplement calendar views #8933

Open
wants to merge 52 commits into
base: master
Choose a base branch
from

Conversation

SchrodingersGat
Copy link
Member

@SchrodingersGat SchrodingersGat commented Jan 21, 2025

TODO

  • Update "min_date" and "max_date" filters to account for new "start_date" attribute
  • Playwright testing
  • Implement for build orders
  • implement for sales orders
  • Implement for purchase orders
  • Implement for return orders
  • Updated documentation for calendar views
  • Order by priority
  • Enable "filters" for calendar view

Future Work

  • Custom "my orders" calendar widget for the dashboard?

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders build Build orders refactor User Interface Related to the frontend / User Interface labels Jan 21, 2025
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Jan 21, 2025
Copy link

netlify bot commented Jan 21, 2025

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

Name Link
🔨 Latest commit 2b75bc5
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67d00275d9ff3100086b39b4
😎 Deploy Preview https://deploy-preview-8933--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: 98 (🟢 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.

Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 65.38462% with 63 lines in your changes missing coverage. Please review.

Project coverage is 86.06%. Comparing base (8bca48d) to head (5de6e7b).

Files with missing lines Patch % Lines
...frontend/src/components/calendar/OrderCalendar.tsx 55.55% 17 Missing and 3 partials ⚠️
src/backend/InvenTree/build/api.py 37.50% 10 Missing ⚠️
src/backend/InvenTree/order/api.py 28.57% 10 Missing ⚠️
src/frontend/src/hooks/UseCalendar.tsx 75.75% 5 Missing and 3 partials ⚠️
src/frontend/src/components/calendar/Calendar.tsx 84.61% 2 Missing and 2 partials ⚠️
src/frontend/src/pages/build/BuildIndex.tsx 42.85% 2 Missing and 2 partials ⚠️
src/frontend/src/pages/sales/SalesIndex.tsx 63.63% 2 Missing and 2 partials ⚠️
src/frontend/src/tables/Search.tsx 0.00% 2 Missing ⚠️
src/frontend/src/tables/DownloadAction.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8933      +/-   ##
==========================================
- Coverage   86.11%   86.06%   -0.05%     
==========================================
  Files        1181     1186       +5     
  Lines       52168    52269     +101     
  Branches     2186     2215      +29     
==========================================
+ Hits        44923    44987      +64     
- Misses       6687     6715      +28     
- Partials      558      567       +9     
Flag Coverage Δ
backend 88.09% <44.44%> (+0.04%) ⬆️
pui 69.49% <70.54%> (-0.16%) ⬇️

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 and others added 29 commits January 29, 2025 15:52
- Add missing "issue_date" field for SalesOrder
- Refactor API for other order types
- Fix rendering issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build orders enhancement This is an suggested enhancement or new feature order Related to purchase orders / sales orders refactor User Interface Related to the frontend / User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-Add Custom views (calendar / tree) for orders
2 participants