From 091026ffa1f91e72b03b7ef8895182c27360be7a Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Fri, 3 Apr 2026 15:03:14 -0400 Subject: [PATCH 1/9] Add export modal with filtered submissions support Replace the export dropdown with a modal that lets users choose the format (CSV/JSON) and scope (all vs currently filtered). Co-Authored-By: Claude Opus 4.6 (1M context) --- .../js/components/forms/SubmissionListing.vue | 9 ++ .../js/components/ui/Listing/Listing.vue | 1 + resources/js/pages/forms/Show.vue | 103 ++++++++++++++---- src/Forms/Exporters/CsvExporter.php | 9 +- src/Forms/Exporters/Exporter.php | 19 ++++ src/Forms/Exporters/JsonExporter.php | 2 +- .../Concerns/QueriesFormSubmissionSearch.php | 30 +++++ .../CP/Forms/FormExportController.php | 35 +++++- .../CP/Forms/FormSubmissionsController.php | 18 +-- .../Controllers/CP/Forms/FormsController.php | 1 + 10 files changed, 186 insertions(+), 41 deletions(-) create mode 100644 src/Http/Controllers/CP/Forms/Concerns/QueriesFormSubmissionSearch.php diff --git a/resources/js/components/forms/SubmissionListing.vue b/resources/js/components/forms/SubmissionListing.vue index 27c9b1bd3b3..b4a6c0917b0 100644 --- a/resources/js/components/forms/SubmissionListing.vue +++ b/resources/js/components/forms/SubmissionListing.vue @@ -1,5 +1,6 @@