Skip to content

Conversation

@Mikearaya
Copy link
Contributor

No description provided.

@Mikearaya Mikearaya marked this pull request as draft December 16, 2025 18:38
@Mikearaya Mikearaya marked this pull request as ready for review December 17, 2025 11:54
@Mikearaya Mikearaya requested a review from pozylon December 17, 2025 12:49
@Mikearaya
Copy link
Contributor Author

Mikearaya commented Dec 17, 2025

Added bulk exporter for PRODUCTS, FILTERS, ASSORTMENTS

each exporter accepts a prams that let the caller choose what to export

{
  "type": "PRODUCTS",
  "includeDrafts": true,
  "exportProducts": true,
  "exportPrices": true,
  "exportBundleItems": false,
  "exportVariations": false,
  "exportVariationOptions": true
}

@Mikearaya Mikearaya force-pushed the bulk-export branch 2 times, most recently from 4a9d71e to 3ec104a Compare December 18, 2025 10:08
@pozylon
Copy link
Member

pozylon commented Dec 18, 2025

Seems to come together nicely! @fliptation where could we display the exports?

Currently it's triggered like this:

Bildschirmfoto 2025-12-18 um 21 37 00

And then it goes to:
Bildschirmfoto 2025-12-18 um 21 37 26

Propably we should find some place where we can show the exports that have been queued up with direct links the downloadable export files in a nice ui? notifications? dropdown? where could we put this?

Data wise it's more like:

18.12.2025 15:34 | Products, Product Variations | Generating Report...
17.12.2025 15:34 | Products, Product Texts | Download Report

@fliptation
Copy link
Contributor

Screenshot 2025-12-18 at 21 52 44 I wanted to say notification, but claude suggested to have the notification in the sidebar and I like the idea.

@Mikearaya
Copy link
Contributor Author

currently download links have a default expiration of 1 hour, with a sidebar always accessible downloadable section this will need to change, and download links should not expire. if we are going to go with this.

@fliptation
Copy link
Contributor

the notifications could "go away" when the links expire @Mikearaya

@Mikearaya
Copy link
Contributor Author

Screenshot from 2025-12-22 13-59-58

@pozylon
Copy link
Member

pozylon commented Jan 5, 2026

Could we leverage this feature also to create GDPR compliant exports of a user with all the user's data that we have?

@pozylon
Copy link
Member

pozylon commented Jan 5, 2026

Bildschirmfoto 2026-01-05 um 13 00 19

@pozylon
Copy link
Member

pozylon commented Jan 5, 2026

Not sure if this is because of my rebase or refactoring of claude, but after i triggered an export it switches to the Recent Exports but doesn't show any entries. And it shows 0 (ui glitch)
Bildschirmfoto 2026-01-05 um 13 02 11

@pozylon
Copy link
Member

pozylon commented Jan 5, 2026

Bildschirmfoto 2026-01-05 um 13 02 43 bulk export shows up in the work queue though

@pozylon pozylon assigned Mikearaya and unassigned fliptation Jan 5, 2026
Copy link
Member

@pozylon pozylon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but i think it needs some testing because admin ui is not working correctly. please check my other comments

@Mikearaya
Copy link
Contributor Author

@pozylon yes, it was because the format has changed, as you can see on your screen shot it was returning result.files.files, i've fixed it now.

@Mikearaya
Copy link
Contributor Author

Shall i merge it?

@Mikearaya Mikearaya requested a review from pozylon January 5, 2026 13:36
@pozylon
Copy link
Member

pozylon commented Jan 5, 2026

There is one more request: "Could we leverage this feature also to create GDPR compliant exports of a user with all the user's data that we have?"

@pozylon
Copy link
Member

pozylon commented Jan 5, 2026

  • user
  • user reviews
  • user orders
  • user bookmarks
  • user events

etc.

but it has to be narrowed down to only 1 user.

@Mikearaya
Copy link
Contributor Author

events don't contain the sessions userId, unless we want to let the user export any event payload that contains the user id (payload.eventId) example API_LOGIN_TOKEN_CREATED event

@Mikearaya
Copy link
Contributor Author

@pozylon this is ready

@pozylon pozylon merged commit 97ce033 into master Jan 8, 2026
3 checks passed
@pozylon pozylon deleted the bulk-export branch January 8, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants