Skip to content

feat: alert CSV export, formatAmount display, desktop table pagination, and canonical dashboard types - #329

Merged
Valreb001 merged 2 commits into
Tx-wats:mainfrom
shelterfaithapps:feat/csv-export-alert-amounts-table-pagination-types
Oct 19, 2026
Merged

Valreb001 merged 2 commits into
Tx-wats:mainfrom
shelterfaithapps:feat/csv-export-alert-amounts-table-pagination-types

Conversation

@shelterfaithapps

Copy link
Copy Markdown
Contributor

Summary of Changes

  • Alert CSV Export: Updated exportCSV in components/WebhookLog.tsx to pass headers and rows as separate arrays to buildCSV(headers, rows), formatted timestamps as ISO strings, formatted amounts using formatAmount, downloaded with sanitized filename alerts-${contractLabel}-${network}.csv, and cleaned up object URLs safely after a delay.
  • Alert Amount Display: Removed duplicate currency code concatenation (${formatAmount(amount)} XLM and formatAmount(amount) asset) in components/WebhookLog.tsx and components/WebhookLogCard.tsx since formatAmount already includes the asset suffix.
  • Desktop Table Pagination: Updated the desktop table in components/WebhookLog.tsx to render pageAlerts instead of filteredAlerts to adhere to current page limits.
  • Canonical Dashboard Types: Exported helper functions in lib/dashboard.ts using the canonical WatchedContract type from @/types with no shadow interfaces.
  • Tests: Added comprehensive test coverage in __tests__/WebhookLog.test.tsx and lib/__tests__/dashboard.test.ts.

Closes #232, Closes #231, Closes #230, Closes #229

…n, and canonical dashboard types

Closes #232, Closes #231, Closes #230, Closes #229
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@shelterfaithapps Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Valreb001
Valreb001 merged commit cdfceca into Tx-wats:main Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants