Changelog 3B Docs v4.15
Revision as of 05:15, 29 May 2024 by Lefteris (talk | contribs) (Created page with " ===== Bug Fixes ===== # GeneratedDocument.page Redirection and Controller Removal #* Description: GeneratedDocument.page needed to be redirected from its previous implementation. Also removed GeneratedDocumentController and GeneratedDocumentController_test classes. #* Impact: Cleans up and simplifies the codebase, removing unused classes and redirecting the page appropriately. # Error Handling in Saving User Responses #* Description: The process of saving user responses...")
Bug Fixes
- GeneratedDocument.page Redirection and Controller Removal
- Description: GeneratedDocument.page needed to be redirected from its previous implementation. Also removed GeneratedDocumentController and GeneratedDocumentController_test classes.
- Impact: Cleans up and simplifies the codebase, removing unused classes and redirecting the page appropriately.
- Error Handling in Saving User Responses
- Description: The process of saving user responses lacked error handling, leading to unexpected behavior in case of an error. Users would think everything went smoothly and proceed to download an incorrectly populated document.
- Impact: Enhances reliability by ensuring proper error handling during the save process.
- Disable 'Reject' Button After Signing
- Description: Previously, the 'Reject' button was not disabled in Sign after the user clicked the Sign button, which could lead to the user rejecting a file after signing it.
- Impact: Prevents users from rejecting a document after it has been signed, ensuring data integrity.
- Disable Input Fields During Signing/Saving
- Description: Input fields would previously stay enabled while signing/saving, which could mislead users or cause data integrity issues. This has been fixed by disabling the fields when necessary.
- Impact: Improves user experience and data integrity by ensuring input fields are disabled at appropriate times.
Optimizations
- Improved Document Download Logic
- Description: When signing a document and refreshing the page, the download button would make an API request to fetch and download the document through the "Generate" page. Now, it checks if the file has been saved in Salesforce (and if its saved date and time is greater than the signed time of the current submitter), and if so, it downloads the saved document from within the org.
- Impact: Reduces unnecessary API requests and speeds up document download process.
Deprecations
- Deprecated DocumentGeneratorPreview.page
- Description: DocumentGeneratorPreview.page is deprecated as we are using the old VFP instead. Also, the classes GeneratedDocumentController and GeneratedDocumentController_test have been removed.
- Impact: Streamlines the application by removing outdated pages and classes.