Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jemeza/gtwy 2.5 history #1007

Merged
merged 67 commits into from
Aug 1, 2023
Merged

Jemeza/gtwy 2.5 history #1007

merged 67 commits into from
Aug 1, 2023

Conversation

jemeza
Copy link
Contributor

@jemeza jemeza commented Jul 3, 2023

📋 Add associated issues, tickets, docs URL here.

Overview

This PR updates the history page for gateway 2.0

Changes

  • Rewrite whole history page.
  • Added all networks and corresponding call to load history transactions
  • Disable date picker

Testing

WIP

Copy link
Contributor

@sk-enya sk-enya left a comment

Choose a reason for hiding this comment

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

Looks good!

@sk-enya sk-enya merged commit 79087b1 into develop Aug 1, 2023
6 of 7 checks passed
@sk-enya sk-enya deleted the jemeza/gtwy-2.5-history branch August 1, 2023 07:05
bobabot-enya-ai pushed a commit that referenced this pull request Aug 21, 2023
Redesign History table:
* adding a transactions table
* configured transactions
* work on transactions table
* added filter, optimized history page
* bringing branch up to date
* changed methods to get chain icons
* added connect button and no history icon for history page
* fixed connect button, simplified transaction resolver filter, refactored types in transaction resolver
* removing unnecessary files
* refactored constants to seperate file
* removed alt attribute from svg component and updated test/stories
* migrated history to typescript
* fixing types issues hook
* disable date picker for history page
* remove datepicker types
* disable datepicker on history page
* fix style import
* update snapshots for unit test

---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
Co-authored-by: alvaro-ricotta <alvaro.e.ricotta@gmail.com>
(cherry picked from commit 79087b1)
InoMurko pushed a commit that referenced this pull request Aug 21, 2023
* V2 earn stake (#1056)

* New Stake TransactionList component
* Remove Savelist component
* adding PlaceholderConnect component
* Implement Dayjs on time calculation
* update transactionlist styles
* implement stake modal + new layout
* adding preloader to placeholderConnect
* adding test for components
* adding preloader + remove fallback for button onClick when it's disable
* fixing preloader on light theme
* migrate props to selectors
* fixing state name
* New checkbox Label component
* update earn page start
* fixing types on button styles
* fixing extended types
* tab switcher component + actions + styles for token list
* migrating modal to redux state
* update logic on stake modal
* update just design
* Fixes for Mobile Devices (Dao page / Stake / Earn)
* test cases fixes
---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit 1f8975a)

* Jemeza/gtwy 2.5 history (#1007)

Redesign History table:
* adding a transactions table
* configured transactions
* work on transactions table
* added filter, optimized history page
* bringing branch up to date
* changed methods to get chain icons
* added connect button and no history icon for history page
* fixed connect button, simplified transaction resolver filter, refactored types in transaction resolver
* removing unnecessary files
* refactored constants to seperate file
* removed alt attribute from svg component and updated test/stories
* migrated history to typescript
* fixing types issues hook
* disable date picker for history page
* remove datepicker types
* disable datepicker on history page
* fix style import
* update snapshots for unit test

---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
Co-authored-by: alvaro-ricotta <alvaro.e.ricotta@gmail.com>
(cherry picked from commit 79087b1)

* update QA issues (#1084)

* update QA issues

* update constant + page title

(cherry picked from commit 57973b3)

* Added block explorer links to the footer (#1082)

* added funcionality to add block explorer links in the footer

* linting and format fixes

* updated network picker icons on chains & history page

* update svg

* fixes for test snaps

---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit e4dc487)

* Fix/mobile view header design (#1087)

* change:
- chore: removed unused icons
- fix: moved all images unders assets folder to keep single source
- fix: updated the images, icon import

* header partial changes

* mobile header design partial fixes

* updated the assets path

* updated test case snapshot

* fix for nav / account address feeselector

* implementation of drawer bottom for user account to copy and discussone

* change:
 - cleanup consoles
 - move feeswitcher change to hook
 - add drawer for switch fees for mobile view
 - disable feeswitcher on nav in mobile view

* fix: fee switcher on desktop & mobile

* change:
 - design fixes for earn page
 - design fix light mode
 - switch icon on history page fixes

* modal change

* add to meta mask

* updated the copy

* added icons for network on network picker

* load the boba icon from getCoinImage

* fixes for icons

* revert of wagmi.md

* console cleanup

* fix for history test

(cherry picked from commit 6adeb89)

* Fix/date range picker history (#1088)

* add react date picker modal

* add date time range picker

* added new date picker

* adjust date picker style and functionality

* added test for date picker

* resolving remaining merge conflicts

* change:
 - removed breaking code in getCoinImage
 - added png files for boba icons
 - loaded the icons for network and coin wherever required.
 - fix console crash for gasSwitcher
 - fix hover issue on history page
 - fix classNames for avaxIcons.

* commented out the date picker as needs some more time

* add date picker back

* updated snapshot and breaking change

* navgation links for stake & dao only for ETH network

* boba logo update across app

---------

Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit 0a4f4e5)

* Fix/reported gateway issues (#1092)

* Fix: Icons on bridge success modal height fixes.
* Fix: classic bridge estimated time update

(cherry picked from commit f5717f3)

* Fix/date range picker history (#1094)

* add react date picker modal

* add date time range picker

* added new date picker

* adjust date picker style and functionality

* added test for date picker

* resolving remaining merge conflicts

* change:
 - removed breaking code in getCoinImage
 - added png files for boba icons
 - loaded the icons for network and coin wherever required.
 - fix console crash for gasSwitcher
 - fix hover issue on history page
 - fix classNames for avaxIcons.

* commented out the date picker as needs some more time

* add date picker back

* updated snapshot and breaking change

* navgation links for stake & dao only for ETH network

* boba logo update across app

* added functionality/styling to date picker

---------

Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
(cherry picked from commit e43f32a)

* Fix/add avalanche transaction history (#1096)

* added avalanche to history page

* refactored network names, increased robustness of history page

* updated image svgs and test

* refactoring names

* making correct svg show on from-to column

(cherry picked from commit 1b0cec9)

* change: (#1097)

* change:
 - fix: token balance is not showing on BNB & AVAX l2 network
 - fix: added emergency swap when there toosmallsec balance.

* moved style to separate fil

* updated snapshots

(cherry picked from commit bfa5f22)

* tiggler Selectors when account is anable only (#1099)

(cherry picked from commit e6b1868)

* Updated boba scope page (#1098)

* Fix: Crash on BobaScope
* Fix: updated the test cases for history page

---------
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>

(cherry picked from commit 3cbc31c)

* Cleanup old PagerFooter and PagerHeader component (#1101)

(cherry picked from commit abf6109)

* Fix : usage of dispatch while withdrawing funds (#1128)

* fix : usage of dispatch while withdrawing funds

* fix: updated snapshot

(cherry picked from commit 3b00afe)

* Styling fix to history page (#1130)

* fixed styling, fixed mobile view of history page and updated test

* updated history snap shots

---------

Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Sahil Kashetwar <sahil@enya.ai>
(cherry picked from commit a2d7314)

* Add files via upload (#1091)

(cherry picked from commit 93c4c92)

* Bump mikefarah/yq from 4.34.2 to 4.35.1 (#1129)

Bumps [mikefarah/yq](https://github.com/mikefarah/yq) from 4.34.2 to 4.35.1.
- [Release notes](https://github.com/mikefarah/yq/releases)
- [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt)
- [Commits](mikefarah/yq@v4.34.2...v4.35.1)

---
updated-dependencies:
- dependency-name: mikefarah/yq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 9669fd3)

* Bump @storybook/api from 7.0.18 to 7.2.1 (#1086)

Bumps [@storybook/api](https://github.com/storybookjs/storybook/tree/HEAD/code/deprecated/manager-api-shim) from 7.0.18 to 7.2.1.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v7.2.1/code/deprecated/manager-api-shim)

---
updated-dependencies:
- dependency-name: "@storybook/api"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 13b45d5)

* Gateway: Feedback Issues fixes  (#1135)

* change:
 - fix: down chevron in light mode for select tokens
 - fix: Change "Show Testnet" to "Show Testnets"
 - fix: time estimation on bridging confirmation modal
 - fix: Change "Add token to metamask" to "Add token to wallet"
 - fix: Change network name from "Boba" to "Boba ETH'
 - fix: Dialog freezes when no wallet installed
 - fix for show to use testnets
 - fix for test
 - Reverted to show testnets

(cherry picked from commit eb17896)

* Gateway: Reported issues. (#1136)

* tiggler Selectors when account is anable only

* updating network switcher

* pushing changes for bidirectional wallet connect

* fixing dropdown for mobile devices + add switcher networks

* fixing layer on Network Selector header

* network issue

* fix listening to the network change

* update snapshot

---------

Co-authored-by: alvaro-ricotta <alvaro.e.ricotta@gmail.com>
(cherry picked from commit 562a21b)

---------

Co-authored-by: alvaro-ricotta <81116391+alvaro-ricotta@users.noreply.github.com>
Co-authored-by: jemeza <57341979+jemeza@users.noreply.github.com>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

4 participants