-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(edit-content): fix error with folder id (#30792)
### Proposed Changes This pull request includes several changes to improve the handling of file selection dialogs and update identifiers in various files. The most important changes focus on updating the dialog mask style, refactoring the way mime types are handled, and replacing identifier references with id references. ### Dialog mask style updates: * Updated the dialog mask style class to use `p-dialog-mask-dynamic` instead of `p-dialog-mask-transparent-ai` in multiple instances within the `dot-edit-content-file-field.component.ts` file. [[1]](diffhunk://#diff-3687f1cb71260d13db6856f91651dec140a064f3921bf30f342a96ee95cfda3bL326-R329) [[2]](diffhunk://#diff-3687f1cb71260d13db6856f91651dec140a064f3921bf30f342a96ee95cfda3bL370-R373) [[3]](diffhunk://#diff-3687f1cb71260d13db6856f91651dec140a064f3921bf30f342a96ee95cfda3bL402-R426) ### Mime type handling updates: * Refactored the `DotSelectExistingFileComponent` to use `mimeTypes` instead of `inputType` for better flexibility and clarity. [[1]](diffhunk://#diff-18bf6e06cc08560259db33d84f324194172c43e47220f07b1de0990cf71077acL14-R21) [[2]](diffhunk://#diff-18bf6e06cc08560259db33d84f324194172c43e47220f07b1de0990cf71077acL77-R77) [[3]](diffhunk://#diff-3687f1cb71260d13db6856f91651dec140a064f3921bf30f342a96ee95cfda3bL402-R426) ### Identifier to id updates: * Replaced `identifier` with `id` in various files to standardize the usage of identifiers across the codebase. This change affects the `dot-edit-content-host-folder-field.interface.ts` and `dot-edit-content.service.ts` files. [[1]](diffhunk://#diff-042eb49d046776a8aac7105e9931c066ef6eae70ff5c50b4a7f4217371c1fc3dL7-R7) [[2]](diffhunk://#diff-042eb49d046776a8aac7105e9931c066ef6eae70ff5c50b4a7f4217371c1fc3dL30-R30) [[3]](diffhunk://#diff-ee2c6ce1c6a997f7b2b87106dbc020dba9d7f42fcdc29caebe547f6963e7caabL91-R91) [[4]](diffhunk://#diff-ee2c6ce1c6a997f7b2b87106dbc020dba9d7f42fcdc29caebe547f6963e7caabL136-R136) [[5]](diffhunk://#diff-ee2c6ce1c6a997f7b2b87106dbc020dba9d7f42fcdc29caebe547f6963e7caabL207-R207) ### Miscellaneous updates: * Updated the `Language.properties` file to include a new message key for selecting existing images. * Removed the `INPUT_TYPE` and `INPUT_TYPES` imports from the `dot-select-existing-file.component.ts` file. ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated (add notes if applicable)
- Loading branch information
Showing
8 changed files
with
36 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters