Merged
Conversation
Co-authored-by: pylipp <10617122+pylipp@users.noreply.github.com>
Co-authored-by: pylipp <10617122+pylipp@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2617 +/- ##
==========================================
+ Coverage 78.27% 78.29% +0.01%
==========================================
Files 280 281 +1
Lines 20363 20611 +248
Branches 2060 2102 +42
==========================================
+ Hits 15940 16137 +197
- Misses 4375 4426 +51
Partials 48 48
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: pylipp <10617122+pylipp@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add functionality to download shipment data as CSV
Add CSV export for shipments with filtering
Mar 12, 2026
Contributor
pylipp
reviewed
Mar 12, 2026
Co-authored-by: pylipp <10617122+pylipp@users.noreply.github.com>
Co-authored-by: pylipp <10617122+pylipp@users.noreply.github.com>
Copilot
AI
changed the title
Add CSV export for shipments with filtering
Extend shipment export test to verify backend request and CSV download
Mar 19, 2026
…csv-button-functionality' into copilot/add-export-csv-button-functionality
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a CSV export capability to the Transfers → Shipments overview so users can download shipment + shipment detail data as a .csv file.
Changes:
- Adds an
Export .csvUI button (with popover options for Sending/Receiving) to the Shipments overview page. - Introduces a new GraphQL query to fetch shipment data for export using
ShipmentFields. - Adds a frontend test covering the export popover interaction and download trigger.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
front/src/views/Transfers/ShipmentsOverview/ShipmentsOverviewView.tsx |
Renders the new ShipmentExportButton in the page actions. |
front/src/views/Transfers/ShipmentsOverview/ShipmentsOverview.test.tsx |
Adds a test for export popover behavior and download triggering. |
front/src/views/Transfers/ShipmentsOverview/components/ShipmentExportButton.tsx |
New component implementing export UI, fetching, flattening, and CSV download. |
front/src/queries/queries.ts |
Adds SHIPMENT_DATA_FOR_EXPORT_QUERY to retrieve shipments { ...ShipmentFields }. |
Copilot
AI
changed the title
Add CSV export for shipments
Add validation states to shipment export button
Mar 19, 2026
- Disable export button until shipments load, or no data available (rowData.length > 0) - Show warning alert when no shipments match selected filters - Add tests for new scenarios
bf20db2 to
e134371
Compare
Contributor
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.