Skip to content

Refactor code, payroll feature and test for staging#213

Merged
Huygon764 merged 7 commits intomainfrom
develop
Mar 16, 2026
Merged

Refactor code, payroll feature and test for staging#213
Huygon764 merged 7 commits intomainfrom
develop

Conversation

@Huygon764
Copy link
Contributor

No description provided.

…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.
* Refactor test

* feat: enhance transaction E2E tests to support multi-asset transfers

- Added support for ETH, ZEN, and USDC in transaction flow tests.
- Introduced utility functions for ERC20 token transfers and balance checks.
- Refactored account funding logic to accommodate multiple asset scenarios.
- Updated test descriptions for clarity and consistency.

* Add batch to e2e flow

* Refactor test local

* Change log for human read

* clean up unused code

* Test for staging

* Change address ZEN token of horizen testnet

* Refactor for DRY
* Improve UX of Transfer page

* Improve UX of Batch page

* Improve UX of EditAccountModal

* Enhance transaction loading feedback in Dashboard and modals

- Updated TransactionRow component to display detailed loading steps during transaction approval.
- Integrated step loading functionality in useTransactionVote hook for improved user experience during transaction processes.

* Changed button label from Transfer now to Submit Transfer to enhance user understanding during the transfer process.
* Payroll: Create batch for group

* Change global css
@Huygon764 Huygon764 merged commit 039162e into main Mar 16, 2026
4 checks passed
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