-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order export csv #990
base: main
Are you sure you want to change the base?
Order export csv #990
Conversation
d9660be
to
10ce316
Compare
7b0e4c4
to
57904b6
Compare
queryset.iterator(), child=self.get_serializer() | ||
) | ||
now = timezone.now().strftime("%d-%m-%Y_%H-%M-%S") | ||
return StreamingHttpResponse( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the time needed to Stream the whole file, I emit some reserve about that as this will block a worker. If you are able to connect your local env to the preproduction database this is something to check IMO.
c8068b8
to
ae48642
Compare
@@ -19,7 +19,7 @@ export default defineConfig({ | |||
/* Opt out of parallel tests on CI. */ | |||
workers: process.env.CI ? 1 : undefined, | |||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */ | |||
reporter: "html", | |||
reporter: "list", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
As we want to export order csv, an api endpoint is needed.
We want to export the order list using the current filters.
Flaky test retry needs to be increased.
When we start a localtunnel, we don't want to rerun the full stack everytime.
Add data to order export.
Extract demo data generation to use it in order export test.
Reduce log levers to remove noise in console output during tests.
Order export headers were not translated.
Adds a test asserting that orders export allows filtering.
As we have the same logic to get the best available user name, it has been moved to the user model.
9e5a405
to
9e0abb1
Compare
Purpose
Export filtered orders as csv
Fixes #980