-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix/date range picker history #1094
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sk-enya
approved these changes
Aug 9, 2023
bobabot-enya-ai
pushed a commit
that referenced
this pull request
Aug 21, 2023
* 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)
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
styled date picker to match theme and added functionality to disable certain dates. Updated unit test.
Changes
changed style of data picker
added props that specify max/min dates
updated unit test.
Testing
Test by running gateway locally, navigating to the history page, and selecting dates. Unit test are also functional