Commit Graph

30 Commits

Author SHA1 Message Date
6272b9df6f Chore: remove a console log statement and update a console error message prefix. 2026-03-16 17:27:38 +07:00
bff3b53fcb refactor: Improve statelessness of iframe bridge restoration and CSS injection, and prevent re-binding of image field events. 2026-03-16 17:21:34 +07:00
bf06e5be06 fix: Ensure sign items are always visible by injecting CSS overrides and explicitly removing the d-none class. 2026-03-16 17:15:11 +07:00
424e68c57c Refactor: Consolidate image field logic into PDFIframe.prototype.refreshSignItemsForPage to avoid overriding enableCustom methods and improve patching strategy. 2026-03-16 17:08:23 +07:00
c02e629a88 feat: Add diagnostic logging and debugging utilities for the sign image field's PDF iframe interactions. 2026-03-16 16:57:33 +07:00
db3635d237 fix: Enhance iframe communication stability with a comprehensive bridge restoration and refine image field lazy loading and upload event handling. 2026-03-16 16:44:00 +07:00
799fc9717a fix: Restore Odoo 19 iframe communication bridge and refine image lazy loading and upload logic. 2026-03-16 16:18:01 +07:00
3708869870 refactor: Stabilize image field patching in Odoo Sign to ensure proper inheritance and improve lazy loading and upload handling. 2026-03-16 16:12:54 +07:00
f119a32b0e feat: Enhance image field lazy loading robustness and refine PDF iframe patching logic 2026-03-16 15:53:15 +07:00
c98aa6777e feat: Improve image field lazy loading by checking src attribute and reducing timeout, and refine image field setup with role-based access in PDFIframe and SignablePDFIframe. 2026-03-16 15:32:05 +07:00
947543d54d refactor: improve image field lazy loading mechanism with fallbacks and enhance its loading state styling. 2026-03-16 15:09:24 +07:00
65056cb9ea feat: Implement IntersectionObserver for lazy loading of image sign items instead of immediate triggering. 2026-03-16 14:59:19 +07:00
0f9d0e02e6 feat: Implement shared lazy loading for sign images by introducing a mixin applied to both PDF and Signable iframes, and remove the ResizeObserver for image field sizing. 2026-03-16 14:51:42 +07:00
70543a9e18 refactor: update patched component from PDFIframe to SignablePDFIframe 2026-03-16 14:43:48 +07:00
8871c1399c refactor: apply image loading shimmer effect to the container element instead of the image itself. 2026-03-16 14:33:45 +07:00
b3f23fbc44 feat: Refactor image field lazy loading logic into a new _triggerLazyLoad method, applying it on enablement and page refresh, and patch PDFIframe. 2026-03-16 14:28:08 +07:00
f6f2852b30 feat: Implement lazy loading for existing sign images with a shimmer effect to improve performance. 2026-03-16 14:20:06 +07:00
5b4d441d9c feat: Enhance image sign item display, refine upload responsibility checks, optimize image rendering, and notify value changes. 2026-03-16 14:02:12 +07:00
c6592e85f2 Refactor: Remove direct storage of compressed data URL in sign item values. 2026-03-16 13:26:52 +07:00
dd7b43ec8c feat: reduce maximum image processing and upload dimensions to 1080. 2026-02-24 11:19:03 +07:00
34a7869f91 fix: Reset base output stream position before PDF file reading to ensure correct parsing. 2026-02-12 15:56:38 +07:00
a197c027ef refactor: Use o_sign_image_item class for image sign item styling instead of data-type attribute. 2026-02-12 15:48:19 +07:00
71a54e4eb7 feat: Implement client-side image compression and server-side rendering for image type sign items on PDF documents. 2026-02-12 15:28:57 +07:00
c7b48e0afc feat: Add data-type='image' to image sign item templates and refine placeholder CSS specificity. 2026-02-12 15:00:48 +07:00
d57c6a90bb fix error on odoo 19 2026-01-23 13:40:05 +07:00
f4b4dedb70 refactor: Adjust image_process import path, update sign route type to jsonrpc, and add a .gitignore file. 2026-01-21 09:36:14 +07:00
78da1859f5 fix the iamge placeholder text 2026-01-08 12:14:08 +07:00
0e336642ad change manifest file 2026-01-08 11:56:56 +07:00
74647b5a7b feat: implement server-side image compression for sign image fields. 2026-01-07 15:43:18 +07:00
e7c8c09ca3 first commit 2025-12-17 14:30:04 +07:00