mmilad75
|
aaf0b8e423
|
Implement transaction progress component (#17933)
* copy codes
* refactor preview
* refactor deprecated codes in view
* change condition structure in view-internal
* comment unused codes
* refactor title
* fix title style
* fix icon style
* fix context tag
* fix icon and row
* refactor icon-internal
* rename network-state and network-type
* fix progress-container style
* fix progress-box-container style
* fix progress container naming and style
* change progress-bar component
* fix progress box component
* convert to functional component and bring back the animation
* fix progress box for arbitrum-optimism network
* fix text-steps
* fix status-row
* refactor code style
* refactor get-network-text
* resolve comment
* add translations
* remove btn-title prop
* fix dark mode border color
* fix dark mode icon color
* move interval to preview
* add tests ns
* add tests
* fix lint issues
* fix rendering issue
* fix lint issue
* add arbitrum and optimism as separate networks
* create const for progress percentage
* fix progress bar component and preview
* refactor text-steps
* refactor names
* fix lint issues
* rename arbitrum-progress-percentage and optimism-progress-percentage
* update tests
* convert hard-coded color to customization-color
* fix progress_bar tests
* separate state for each network
* add progress percentage for each network and refactor params of functions
* separate epoch number for each network
* update tests
* fix lint issues
* refactor codes
* fix lint issues
* resolve comments
* add confirmation progress
* use confirmation-progress component in transaction-progress
* fix preview
* add tests
* fix lint issue
* resolve comment
* refactor networks
* change sending state style
* update tests
* fix lint issues
* remove unused code
* add helper for calculate counter step
* add assoc-props to view-networks
* change text-internal props order
* fix colors/resolve-color usage
* refactor view codes
* add get-networks to preview
* add max-value to progress bar style
* remove threading macros in the previews
* remove inline functional components in the previews
* remove optimism-arbitrum checks in the view
* fix lint issues
* add max-progress and min-progress to confirmation-progress
* refactor text-steps
* fix counter structure in transaction-progress
* fix counter structure in confirmation-progress
* fix resolve-color usage
* fix lint issue
* fix tests
* resolve comments
* fix color issue
* fix margins
* fix lint issue
|
2023-12-06 14:09:52 +03:30 |