Addition of 'uploadVisibility' Key
A key termed 'uploadVisibility' was incorporated into the 'config/zeus-bolt.php' file. In simpler terms, a new setting was created to manage how files become visible upon upload.
Modifications in 'Schemata.php' File
Configurations for uploading files were updated significantly in the 'src/Concerns/Schemata.php' file. The rules for logo and cover image uploads now utilize a new directory and visibility settings. This change makes file uploads more consistent and manageable.
Change of Methods in 'FileUpload.php'
The updates continued in the 'src/Fields/Classes/FileUpload.php' file. The methods responsible for managing the directory and visibility of file uploads were adjusted to better utilize the recently created settings.
'CategoryResource.php' File Adjustments
The last set of changes occurred within 'src/Filament/Resources/CategoryResource.php'. Here, modifications were made to logo file management, leveraging the new directory and visibility settings. In addition, a visibility setting was added for the 'ImageColumn' class - an object responsible for how images display on the user side.
These updates streamline the file and image upload process, making it more efficient and consistent, while maintaining the clarity and control required by users.
PR Summary
Addition of 'uploadVisibility' Key A key termed 'uploadVisibility' was incorporated into the 'config/zeus-bolt.php' file. In simpler terms, a new setting was created to manage how files become visible upon upload.
Modifications in 'Schemata.php' File Configurations for uploading files were updated significantly in the 'src/Concerns/Schemata.php' file. The rules for logo and cover image uploads now utilize a new directory and visibility settings. This change makes file uploads more consistent and manageable.
Change of Methods in 'FileUpload.php' The updates continued in the 'src/Fields/Classes/FileUpload.php' file. The methods responsible for managing the directory and visibility of file uploads were adjusted to better utilize the recently created settings.
'CategoryResource.php' File Adjustments The last set of changes occurred within 'src/Filament/Resources/CategoryResource.php'. Here, modifications were made to logo file management, leveraging the new directory and visibility settings. In addition, a visibility setting was added for the 'ImageColumn' class - an object responsible for how images display on the user side.
These updates streamline the file and image upload process, making it more efficient and consistent, while maintaining the clarity and control required by users.