Skip to content

Conversation

@SergiuT
Copy link
Contributor

@SergiuT SergiuT commented Oct 17, 2025

#52

@SergiuT SergiuT self-assigned this Oct 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds CSV export functionality to various charts and tables throughout the application, enabling users to download data for offline analysis. The changes also update the Bridge Transactions chart to display separate inflow (to SUI) and outflow (to ETH) data series instead of a single combined total.

  • Added a new CSV utility module for client-side data export
  • Implemented export buttons across multiple charts and tables
  • Split the Bridge Transactions chart to show separate SUI and ETH transaction counts

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/utils/types.ts Made chart fields optional to accommodate different query responses
src/utils/csv.ts New utility for CSV generation and download
src/components/transactions/transactions-table.tsx Added export functionality and adjusted icon positioning
src/components/transactions/latest-transactions.tsx Removed unused imports
src/components/table/table.tsx Added export button support and titleContent prop
src/components/chart/pie-charts.tsx Added CSV export for token distribution charts
src/components/chart/inflow-outflow-charts.tsx Added CSV export for inflow/outflow charts
src/components/chart/gas-usage-chart.tsx Added CSV export for gas usage data
src/components/chart/cumulative-net-inflow.tsx Added CSV export and improved responsive layout
src/components/chart/bridge-performance-chart.tsx Split chart into separate SUI/ETH series and added export

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@SergiuT SergiuT closed this Oct 17, 2025
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.

Split bridge transactions chart to show both Sui & Ethereum data separate

2 participants