feat : Covering exclusions handling returns in both folders & docucments + applying favorites filter to display favorite items (docs & folders) + fixing UI issues.
Merge Request Description
Validation: Required Fields
Introduces validation to ensure that all mandatory fields are completed before submission. This prevents incomplete data from being processed and enforces consistency across the application.
Validation: UUID Format
Adds checks to confirm that tender UUIDs follow the expected format. This ensures reliable identification and prevents invalid references in document operations.
Validation: Folder Creation Rules
Implements validation logic during folder creation to ensure that the tender UUID is correctly mapped and associated. This prevents misalignment between folders and tenders.
Validation: File Import Constraints
Adds validation for file imports, including checks on file type, size, and tender UUID mapping. This ensures that only valid and properly linked files are imported into the system.
Validation: Document Path Structure
Introduces validation for the structure of document paths, ensuring that imported and original documents are stored under the correct specifications. This prevents retrieval errors and improves organization.
Validation: Document Type Differentiation
Adds rules to validate whether a document is categorized as original or imported. This distinction ensures proper handling and avoids misclassification during processing.
Validation: API Request Parameters
Implements validation to confirm that API requests for document operations contain all required parameters and adhere to expected formats. This reduces processing errors and improves reliability.
Validation: Retrieval and Listing Rules
Adds validation for listing and retrieving tender documents. This ensures that only valid, accessible, and properly linked documents are exposed to users.
Validation: Cross-Field Dependencies
Introduces validation logic to enforce dependencies between multiple fields. For example, ensuring that certain fields are filled when others are present, or restricting invalid combinations.
Validation: External Response Handling
Adds validation to check responses from external services or APIs before processing. This ensures that only valid and expected data is integrated into the system, reducing errors and improving stability.
Closes VSN-2533