Skip to content

Conversation

@backstroke-bot
Copy link

Hello!

The upstream repository erxes/erxes@master has some new changes that aren't in this fork. So, here they are, ready to be merged! 🎉

If this pull request can be merged without conflict, you can publish your software with these new changes. Otherwise, fix any merge conflicts by clicking the Resolve Conflicts button.


If you like Backstroke, consider donating to help us pay for infrastructure here. Backstroke is a completely open source project that's free to use, but we survive on sponsorships and donations. Thanks for your support! Help out Backstroke.


Created by Backstroke (I'm a bot!)

uuganaa1007 and others added 30 commits December 3, 2025 14:28
- Implemented checkLoyalties function to apply loyalty-based discounts to deal products
- Updated deal mutations to include loyalty checks before pricing
- Fixed type safety in ScoreForm component by making targetId and serviceName optional
- Added proper error handling for loyalty checks
- Included discount percentage and amount calculations for eligible products
- Ensured compatibility with existing product data structure
Introduced chunked file upload endpoints using multer and tmp for handling large file uploads efficiently. Updated dependencies in package.json to include multer and tmp. Refactored index.ts to add chunked upload logic, status tracking, and related endpoints, while maintaining existing upload functionality.
…ed upload support for large files

Introduces upload progress indicators for file attachments, including chunked upload support for large files. Updates AttachmentGallery and Uploader components to display progress, and refactors uploadHandler to handle progress events and chunked uploads. Also fixes some type annotations and improves user feedback during uploads.
- Added optional chaining for result[_id] to prevent null reference errors
- Skip loyalty processing for items with discountPercent
- Update ProductForm total when productsData changes
Introduces a publishedDate field to the GraphQL post schema, updates queries and UI components to display and handle the published date for posts. This enhances post metadata management and visibility of publication timing.
- Replaced hardcoded API URLs with environment variable retrieval using getEnv for better configuration management.
- Updated clientPortalCheckTokiInvoice to use environment variables for API URL retrieval.
- Enhanced code readability by formatting object destructuring and API URL assignments.
- Ensured consistent error handling and response processing for better maintainability.
- Eliminated console.log statements that output API request details and response for cleaner code.
- Focused on improving code readability and reducing unnecessary logging in production environments.
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.