Skip to content

feat: add CSV upload and duplicate batch flows for batch creation#219

Draft
Huygon764 wants to merge 6 commits intodevelopfrom
feat/improve-batch-UX
Draft

feat: add CSV upload and duplicate batch flows for batch creation#219
Huygon764 wants to merge 6 commits intodevelopfrom
feat/improve-batch-UX

Conversation

@Huygon764
Copy link
Contributor

#217

Types of change

  • Feature
  • Bug
  • Enhancement

Comments (optional)

  • Have 2 option to create payroll:
image
  • If choose "Upload CSV"
image
  • To create batch from old tx:
image

Huygon764 and others added 6 commits March 19, 2026 09:44
…ents (#200)

- Updated QuestPage layout for better responsiveness with max-width and padding adjustments.
- Changed BatchTransactions and TransactionSummary components to use flexbox for improved item alignment and responsiveness.
- Enhanced QuestCard to allow for flexible width.
- Added titles for new routes in the Title component.
* refactor: adjust z-index values across various components for improved UI layering

* feat: add timing constants for HTTP timeouts, cache TTL, and retry delays

- Introduced new timing constants in `timing.ts` for backend and nextjs packages.
- Updated index files to export the new timing constants for better accessibility.

refactor: replace hardcoded values with timing constants for retries and timeouts

- Updated various services and modules to utilize new timing constants for retries and timeouts, improving maintainability and consistency across the codebase.
- Adjusted `waitForReceiptWithRetry`, `PriceService`, `ZenTransferService`, `TransactionService`, and `ZkVerifyService` to use centralized timing configurations.

refactor: replace hardcoded values with timing constants across components and hooks

- Updated various components and hooks to utilize new timing constants for polling intervals, refetch intervals, and timeouts, enhancing maintainability and consistency throughout the codebase.
- Adjusted `NotificationItem`, `ClaimSection`, `EditAccountModal`, and several hooks to reference centralized timing configurations.

refactor: standardize formatting and improve component styles

- Refactored various components to enhance code readability by standardizing formatting, including consistent indentation and spacing.
- Updated styles across components to utilize new shadow and height constants for improved UI consistency.
- Adjusted text sizes in multiple components to ensure uniformity in typography.
… sections (#206)

- Updated ChooseNetwork component to include wallet connection checks and commitment validation, enhancing user experience with appropriate notifications.
- Adjusted StatusContainer to allow copying of commitment addresses to clipboard for better usability.
- Enhanced Sidebar component to incorporate wallet connection status in navigation logic.
* feat: add daily relayer balance alert via Telegram

  Cron job checks Horizen and Base chain balances, sends Telegram alert
  when below threshold. Includes retry logic and network-aware config.

* fix: correct balance alert thresholds and update cron job timing

- Adjusted balance alert thresholds for Horizen and Base chains to 0.0001 ETH and 0.0005 ETH respectively.
- Updated cron job timing to run daily at 6:00 AM Vietnam time (23:00 UTC).

* fix: update cron job timing for balance alert scheduler

- Changed cron job to run daily at 7:00 AM Vietnam time (00:00 UTC) for balance checks, correcting the previous timing.
* remove unused code

* refactor: centralize ZK proof failure handling in ZkVerifyService

  Move proof verification failure check into submitProofAndWaitFinalized()
  instead of duplicating it across auth.service.ts and transaction.service.ts.

* refactor: extract duplicate analytics logging into helper method

* refactor: extract TransactionExecutorService from TransactionService

* refactor: deduplicate shared patterns across frontend and backend

* refactor: replace hardcoded values with named constants and enums

* style

* refactor: split TransactionRow, extract shared hooks, fix N+1 query

* fix: add rate limiting, timing-safe API keys, and DTO validation

* fix: persist txHash before receipt to prevent stuck EXECUTING state

* format
@Huygon764 Huygon764 force-pushed the develop branch 3 times, most recently from a479f9a to cc77d2a Compare March 20, 2026 06:53
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