You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add CSV export functionality for Tags, Categories, and People (#13)
* Add export functionality to PersonResource
Introduced a `PersonExporter` class to handle exporting Person data with defined columns and notifications. Updated `ListPeople` to include an export action supporting CSV format, enhancing data management capabilities.
* Add export functionality for categories
Implemented a `CategoryExporter` class to handle category exports with specific columns and notifications. Integrated an export action into the category list page, supporting CSV format. This enhancement improves data handling and accessibility for category records.
* Add Tag export functionality with CSV support
Introduced `TagExporter` to handle exporting tags with columns for ID, name, and color. Integrated an export action into the `ListTags` page, enabling CSV export and providing notification details for successes and failures.
$body = 'Your category export has completed and '.number_format($export->successful_rows).''.str('row')->plural($export->successful_rows).' exported.';
26
+
27
+
if ($failedRowsCount = $export->getFailedRowsCount()) {
28
+
$body .= ''.number_format($failedRowsCount).''.str('row')->plural($failedRowsCount).' failed to export.';
0 commit comments