Skip to content

feat: enhance bulk export history tasks and analytics (OK-52351)#12548

Draft
yikZero wants to merge 5 commits into
OneKeyHQ:feat/bulk-export-historyfrom
yikZero:feat/bulk-export-history
Draft

feat: enhance bulk export history tasks and analytics (OK-52351)#12548
yikZero wants to merge 5 commits into
OneKeyHQ:feat/bulk-export-historyfrom
yikZero:feat/bulk-export-history

Conversation

@yikZero

@yikZero yikZero commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Targets the feat/bulk-export-history integration branch (not x).

Summary

  • Complete the async export flow: task creation, task history list, 5s status polling, task detail page, and CSV download/share.
  • Support normal (indexed), watching address, watching xpub, and private-key imported accounts; only public addresses or xpubs are submitted.
  • Use the common available time range across selected networks for multi-network export, and fix a 12-month range displaying as 11 months.
  • Add failed / partial / expired / processing states with detail info; keep account and network context for detail, re-export, and notification entry scenarios.
  • Surface range-endpoint business errors (HTTP 200, code != 0) as a retryable in-page error state instead of a dead disabled form.
  • Simplify internals: content-stable polled task list + memoized rows (no re-render on unchanged 5s ticks), shared status meta utils, merged duplicated mobile/desktop list branches, useInterval-based polling.
  • Add analytics: primeEntryClick (new historySettings entry point), exportHistoryTaskCreateSuccess, exportHistoryCsvDownloadSuccess; the non-Prime subscribe funnel reuses existing featureName=HistoryExport events.
  • Unify entry / button / risky-filter copy and sync translations via Lokalise; remove dev mocks.

Verification

  • yarn agent:check --profile commit passes (lint + tsc).
  • Jest: 2 suites, 35 tests pass.
  • Manually checked task list / detail states across desktop and mobile layouts.

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.

1 participant