Closed dave-mills closed 10 months ago
New Template Components Added Five new template components have been added to help with formatting and exporting various kinds of data. These include a template for country data export, geographic reach export, initiative category export, initiative importing guidelines, and a simple "yes"/"no" data export.
Controller Modifications
The ImportOperation
controller and ProjectCrudController
have been updated to utilise the initiative import template for downloads. This switch ensures more efficient and well-formatted data importing.
Improvement in Validation Rules
To ensure the accuracy and consistency of date information, the ProjectRequest
validation rules have been updated to enforce proper date format validation for the start_date
and end_date
fields.
Enhancement in Project Data Import
The ProjectImport
class has been enhanced to provide row-by-row import control, enabling more precise and controlled data import processes. Moreover, modifications have been made to handle the import of projects and their linked geolocation data (continents, regions, countries) more efficiently. There are updates as well to ensure that example rows and instruction rows in the import template are correctly validated and handled during the import.
Other Notable Changes
The 'projects' sheet name has been updated to 'initiatives' which represents more accurately the data contained in it.
New versions of software dependencies (maatwebsite/excel
) have been added for improved functionality. A new dependency (spatie/laravel-ray
) has also been added to assist in the development process.
Fixes bug preventing users from bulk-importing initiatives.