[COMPASS-6578] Show the query used when exporting in the export modal Created: 02/Mar/23  Updated: 27/Oct/23  Resolved: 16/Mar/23

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: export, milestone-2b
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-6576 Add new export store, use when featur... Closed
is depended on by COMPASS-6579 When exporting a query without a proj... Closed
Story Points: 3
Documentation Changes: Not Needed

 Description   

When a user has chosen the export `Export query results` option, show the filter (and projection if there is one) from the query in the new export modal. Note we still want to export aggregations, so ensure those are accounted for.

If the query has a projection already we show a banner indicating that only projected fields are exported. https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV/Compass-Import%2FExport?node-id=921%3A45919&t=FoEPTv8iHfB487DG-1 

When there is no projection in the query we show a `Fields to export` option, with a banner also indicating that they can use the projection in the query bar to project. https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV/Compass-Import%2FExport?node-id=796%3A36622&t=FoEPTv8iHfB487DG-1 
Showing the fields to export table will happen in a dependent ticket.

Designs: https://www.figma.com/file/4sXj42XyicBsdQkYIugHaV/Compass-Import%2FExport?node-id=796%3A36622&t=FoEPTv8iHfB487DG-1 


Generated at Wed Feb 07 22:43:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.