Repository navigation
feat(contacts): add ad ids column and export history to contact export - #1581
Merged
Merged
Conversation
viethung0o0
force-pushed
the
feat/export-contact-ad-ids
branch
3 times, most recently
from
October 29, 2026 06:16
4647e93 to
430a576
Compare
viethung0o0
marked this pull request as ready for review
October 29, 2026 06:20
viethung0o0
force-pushed
the
feat/export-contact-ad-ids
branch
from
October 29, 2026 07:11
430a576 to
467a17f
Compare
- new optional Ad IDs column listing every ad a contact came from, off by default - loaded only when selected, one query per export page - an empty ad id is no longer stored, listed or shown in the ads report - export history in the export dialog and a public list endpoint; members see their own exports, admins and the owner see all - contact exports are deleted after 7 days by a daily cleanup job - the export dialog no longer hangs while waiting for the file - exports load only the custom fields, tags and inbox rows their columns need - a failed upload stops the export instead of leaving the job waiting forever - export progress is saved every 5 seconds, and the row limit is now 10 million
viethung0o0
force-pushed
the
feat/export-contact-ad-ids
branch
from
October 29, 2026 07:53
467a17f to
89d4bfc
Compare
hello-jackytruong
referenced
this pull request
in hello-jackytruong/ChatWorkAI
Nov 22, 2026
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.
Summary
{{ad_ids}}.contacts.exportAPI accepts it assys:adIds.{{ad_ids}}/{{ad_id}}and the export now share one query.contacts.listExportFiles(GET /v1/contacts/export-files, cursor-paginated); a workspace token sees every export.Deploy note
20261029043008_add_file_export_created_at_indexbuilds a partial index onFile("createdAt")for export rows withCREATE INDEX CONCURRENTLY(no write lock onFile). The file runs unwrapped and can be re-run.Verification