feat(pdf-multi-tool):PDF Multi-tool to use new file input box
Description:
This PR updates the PDF Multi-tool to use the newly introduced file input box, improving the user experience and maintaining consistency across the platform.
Changes Introduced:
- Replaces the old file input mechanism with the new file input box.
- Ensures seamless integration with existing functionalities.
- Refactors related code for better maintainability.
Why is this valuable?
- Enhances user experience by adopting a standardized file input mechanism.
- Improves accessibility and usability of the PDF Multi-tool.
- Aligns the component with recent UI/UX improvements.
References:
Closes #2385
Testing Steps:
- Navigate to the PDF Multi-tool.
- Upload a file using the new file input box.
- Verify that all existing functionalities work as expected.
/deploypr
What is this means?? @Frooodle
Please ignore, it's a internal command we use for validations and testing
Hy @Frooodle is my pr changes are good ? Or not?
Will be reviewed today will let you know
/deploypr
is it working or not??
🚀 PR Test Deployment
Your PR has been deployed for testing!
🔗 Test URL: http://185.252.234.121:2960
This deployment will be automatically cleaned up when the PR is closed.
Seems that multi-tool is getting an error on the test deployment (also sorry for delay had to finish another PR to allow this to build due to a update on docker dependency side, when we review we will message no need to keep asking)
http://185.252.234.121:2960/multi-tool throws Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING
which normally means a thymeleaf rending error in logs I see
Caused by: org.thymeleaf.exceptions.TemplateInputException: Error resolving fragment: "~{'fragments/common' : : modernFileSelector (name='fileInput',multipleInputsForSingleRequest=true,accept='application/pdf')}": templ ate or fragment could not be resolved (template: "multi-tool" - line 25, col 24)
@Chirag-S-Kotian Any updates?
hy i tried my best to fix the error let me know if you face any other errors or similar errors
/deploypr
🚀 PR Test Deployment
Your PR has been deployed for testing!
🔗 Test URL: http://185.252.234.121:2960
This deployment will be automatically cleaned up when the PR is closed.
@Chirag-S-Kotian Have you tested the functionality at all? From what I can see you input a file and it doesn't load within the UI at all and doesn't load the pages
(or at least it doesn't work on my browser for some reason?)
Give me some time brother I will look into it and will update you.
@Chirag-S-Kotian Hows it going, any issues we can help with?
Sorry bro I can't continue I don't know how to start development server on this so I want to quit 😞