-
Notifications
You must be signed in to change notification settings - Fork 156
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
V2 Beta Release #16 #1028
Merged
V2 Beta Release #16 #1028
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
* Use SWC compiler to replace Babel * Move jest config from package.json to separate config file * Remove Babel dependencies * Add next/eslint-plugin-next and extend it in eslintrc * Add back the dependency babel-eslint since it's required by react-app eslint config * Remove useless comments in jest.config.js
* light and dark theme added * svg added * edits * remove setToggle hook Co-authored-by: lohba <[email protected]>
* Bump lint-staged from 10.0.10 to 13.0.1 Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.0.10 to 13.0.1. - [Release notes](https://github.com/okonet/lint-staged/releases) - [Commits](lint-staged/lint-staged@v10.0.10...v13.0.1) --- updated-dependencies: - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * remove unused lint-staged package Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: platschi <[email protected]>
* light them switch revision -cleaned up the svg files with hardcoded attributes -revised the menu container to use a fixed 15px gap -removed 15px left margin on the individual items within the menu container -better sizing on the sun icon -hover states for icons -removed old unused css for the settings icon * move theme toggle
* Scaffolding * Even more scaffolding * Make main tab array based as well * Add user tabs * Add chart to price tab * Margin * More styles * New mobile navigation (#846) * Remove old mobile menu * More progress * Start adding menu logic * WIP: Make the settings page look semi-correct * Add logo and stuff * Add dropdown arrows to the submenus * Move stuff into new components * Even more stuff * Start linking for submenus * Comment out temporarily unused code * Add social icon links * Set up initial buttons for mobile use * Switch to final design * Add arrow to menu item * Special button for mobile wallet connected state * Start setting up actual settings modal * Add top-level options for settings * Move enabled logic out of component * Clean up default open stuff * More state contortions * Change SVG fill color * Support arbirtary options * Settings options (except currency) * Remove dead routes * Add bridge link * Initial currency stuff * Add selected state for currency select * Add change network functions * Remove text-decoration * Remove path color override * Mitigate issue with blocked connection modal on mobile * Remove outline on twitter icon * Remove currency setting * Enforce lowercase text for ENS label in button * Add settings copy into translation file * Remove redundant menu/settings text * Start setting up semi-global state for futures page and fix chart styles * Clean up Trade.tsx * Add pane component for overview tabs * Even more cleanups to Trade.tsx * Remove redundant code * Move position data out of Trade.tsx * Remove need to pass currencyKey to hooks * Type currentMarketState correctly * Add state to mobile futures inputs * Add trades history and market stats * Add market info stuff * Weird buttons but ok * Orientation fix * Refetch begins * Setup orders table * Add placeholder components * More mobile stuff * Add price/change data to mobile dropdown * Add position card * Start on trades table * Add margin transfers data * Weird nofill magic * Modularize drawers * Confirm order? * Buttons (drawer) * Condense active color logic * Fix drawer buttons padding * Set pageSize for transfers * Add noResultsMessage to OrdersTab * Rename tab * Rename Orders as Open Orders * Fix TS issue with MarketActions * Clean up copy on empty open orders table * Correct tab buttons height in UserInfo * Mobile close position * Better modals on mobile * Add useRefetchContext hook * Add close button to mobile drawers * Fix buttons * Fix TabButton vertical prop * Fix issues with dashboard instance of TabButton * Remove weird border-radius around market dropdown on mobile * Use correct chart props * Move TVChart to recoil position data * Sticky header * Fix PositionCard tooltips on mobile * Add headings to other tabs * Fix typo * Re-order imports * More responsive tooltips * Fix margin-bottom issue with MenuButton * Remove redundant position history query * More padding on Tooltip * Add noOutline to ConnectButton * Rename tabs and make leverage input numeric * Maybe fix close position modal issue * Fix errors * Fix issues with theme switching * Move Container into WalletButtons component
* Replaced one img tag with Image and disabled the rules * Removed the unecessary rules
* fix language in PnL graphic * remove shorting relicts * fix type error * correct homepage hero maxLeverage to 10x * bump @uniswap/widgets from 1.0.0 to 1.1.1 * segment button improvements -simplifying the button surface to a flat color -darkening the background of the segment control container for better contrast on dark mode * light mode segment control improvements * market badge improvements -added theme specific badge colors for better visibility * market dropdown improvement -selected asset is in bold font to better denote the current active market in the dropdown * tab button active/inactive state improvement -adding explicit light/dark colors for tab button states * exchange improvements -better 'max' button visibility -golden button fix -flatter appearance * fixing regressions in manage position component -selectedThem colors -correct button variants -css cleanup * clean up noOutline & lint warning Co-authored-by: Yashar <[email protected]>
Co-authored-by: platschi <[email protected]>
* Bump @storybook/react from 6.4.20 to 6.5.9 Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.4.20 to 6.5.9. - [Release notes](https://github.com/storybookjs/storybook/releases) - [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md) - [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/app/react) --- updated-dependencies: - dependency-name: "@storybook/react" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix Storybook import issue Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Oluwakorede Fashokun <[email protected]>
Co-authored-by: platschi <[email protected]> Co-authored-by: Leifu Chen <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
* Enable futures history button and render table * Add hook to query all trades of an account * Implement FuturesHistoryTable WIP * Refactor refs of SpotHistoryTable column title * FuturesHistoryTable implementation * Update tabel data with correct precision * Add noResultsMessage to table * Set active tab to futures history table * Remove pagination * fix lint * Add table pagination * Adjust column width so all contents fit in table. * Not filter synth on trades * Tweak the style * Address PR comments: format imports and refactor code * Not catch the query error in hook Co-authored-by: Zhao Yang <[email protected]>
* Added the cover page * Added sections title * Added all text and section * Fixed the per-page layout issue * Add prep and spots table * Update the layout to put the last element in center * Fixed the lint error * Updated the button color and highlight the text * Updated earning section * Added a market switcher * Updated icons * Added icon to headers * Added the trade and trading volume * Fixed the height of the dropdown * Added background image to card * Added price series * Added price chart * Fixed the lint error * Resized the price chart * Updated the hero image * Fix small formating issues based on review * Scaffolding * Even more scaffolding * Make main tab array based as well * Fixed the price change feed of synth * Added open interest * User can go to the market by clicking on the asset card * Fixed lint error * Add user tabs * Add chart to price tab * Format the header and upldate a few links * Replace the placeholder text * Added footer links * Update the partners icon * Margin * More styles * New mobile navigation (#846) * Remove old mobile menu * More progress * Start adding menu logic * WIP: Make the settings page look semi-correct * Add logo and stuff * Add dropdown arrows to the submenus * Move stuff into new components * Even more stuff * Start linking for submenus * Comment out temporarily unused code * Add social icon links * Set up initial buttons for mobile use * Switch to final design * Add arrow to menu item * Special button for mobile wallet connected state * Start setting up actual settings modal * Add top-level options for settings * Move enabled logic out of component * Clean up default open stuff * More state contortions * Change SVG fill color * Support arbirtary options * Settings options (except currency) * Remove dead routes * Add bridge link * Initial currency stuff * Add selected state for currency select * Add change network functions * Remove text-decoration * Remove path color override * Mitigate issue with blocked connection modal on mobile * Remove outline on twitter icon * Remove currency setting * Enforce lowercase text for ENS label in button * Add settings copy into translation file * Remove redundant menu/settings text * Add dropdown menu on nav * Start setting up semi-global state for futures page and fix chart styles * Add linear gradient background * Clean up Trade.tsx * Fixed the ff margin-bottom issue, replace mirror icon, align the gap between each section * Add pane component for overview tabs * Even more cleanups to Trade.tsx * Remove redundant code * Move position data out of Trade.tsx * Remove need to pass currencyKey to hooks * Type currentMarketState correctly * Add state to mobile futures inputs * Fix the background of earning section and remove the unnecessary code * Update the placeholder text * Add trades history and market stats * Add market info stuff * Added faq and legacy exchange * Remove short and update the market on nav * Weird buttons but ok * Orientation fix * Remove the wallet * Refetch begins * Setup orders table * Fixed the color of chart color * Use the current price to determine the color of chart * Add placeholder components * More mobile stuff * Add price/change data to mobile dropdown * Add position card * Start on trades table * Add margin transfers data * Weird nofill magic * Trade now button directs user to ETH market page * Update leverage from 10x to 25x * Added the trader history link on leaderboard * Modularize drawers * Update the new landing page to fit smaller screen * Confirm order? * Buttons (drawer) * Condense active color logic * Fix drawer buttons padding * Set pageSize for transfers * Cleaned the code * Add noResultsMessage to OrdersTab * Remove unecessary code * Disabled the dark theme on landing page * Fix the primary button background color * Disabled the notification icon on mobile landing page * Rename tab * Rename Orders as Open Orders * Fix TS issue with MarketActions * Clean up copy on empty open orders table * Fixed the width of screen and add menu icon * Correct tab buttons height in UserInfo * Mobile close position * Better modals on mobile * Fixed the width * Added carousel to asset card * Update pre-commit * Make the asset card bigger on mobile * Disabled the text shadow, fix the width of title and centered the asset card * Add useRefetchContext hook * Add close button to mobile drawers * Fix buttons * Clean the code * Removed the unncessary change * Fixed the small reported issues * Fixed a typo * Fixed the height of cards on mobile after adding more text * Fixed the blank page issue between the 480 and 768 width * Fix TabButton vertical prop * Fix issues with dashboard instance of TabButton * Remove weird border-radius around market dropdown on mobile * Use correct chart props * Move TVChart to recoil position data * Sticky header * Fix PositionCard tooltips on mobile * Add headings to other tabs * Fix typo * Re-order imports * More responsive tooltips * Fix margin-bottom issue with MenuButton * Remove redundant position history query * More padding on Tooltip * Add noOutline to ConnectButton * Rename tabs and make leverage input numeric * Maybe fix close position modal issue * Fix errors * Fixed the footer poistion * Fixed the mirror icon * Fix issues with theme switching * Fix the text-shadow of the header * Move Container into WalletButtons component * Fixed the overflow issue on small screen, border on mobile, title * Add default endpoint to homepage query * Added hover state on nav bar and updated copy * Updated the height of mirror icon and add optimism icon * Add more default endpoints to homepage query * Fixed the nav header hover color and background * css revisions * copy revisions * typo fix * Added the default synthetix contract on homepage * Clean the coming soon button code on Earning section * Add border of the card * Fixed the border of the asset card on mobile and desktop * Fixed the stats card * Fixed the stats card * Hide the next/prev arrow and enable the swipe to slide * Adapt the different screen of the slideshow * Fixed the grid background incompatibility on firefox * Fixe lint error * Fix the similar background image issue on stats card * Only the selected asset card has the border * Add selected effect on asset card * Remove the blobs on page * Fixed the footer issue on resizing the page * Fixed the inconsistent asset name on asset card * Apply blobs on background directly * Added all blobs to desktop * Added blobs on mobile * Fixed the font display issue when loading * Update constants/links.ts Co-authored-by: Oluwakorede Fashokun <[email protected]> * Update sections/shared/Layout/HomeLayout/Header.tsx Co-authored-by: Oluwakorede Fashokun <[email protected]> * Check the URL to see if the user is on the homepage * Add more width for the vol number and remove the number of trades on mobile * Reducing the padding space on mobile assets cards * Reduce the fontsize * Fixed the header alignment Co-authored-by: Oluwakorede Fashokun <[email protected]> Co-authored-by: Yashar <[email protected]> Co-authored-by: platschi <[email protected]>
Marko-roy
approved these changes
Jun 22, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Ralf, LGTM.
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.
Description
Maintainance release to iron out small bugfixes, improve code quality and begin introducing mobile support
Related issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):