-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* (Feature) New general layout (#100) * (add) sanitize.css * (fix) linting and general setup * (add) common components * (add) footer, header * (fix) icon color * (add) favicon * (Add) header user not connected styles * (fix) footer styles * (add) header dropdown * (add) user address * (add) user dropdown changes * (add) dropdown styles * (add) connect modal * (add) transactions modal * (add) theme switch * (remove) unused component * (hide) theme toggle * Fix some linter errors * Update linter config * Update yarn.lock * Add engine * Add test to clear cache * Revert last commit * Fix lint problems * Fix more lint problems * Fix typo * Add getWalletName and disconnect Co-authored-by: Mariano Aguero <mariano.aguero@gmail.com> * Auction page should load, even if web3 wallet is not yet connected. (#108) * Add support to use the application offline * Remove unused vars * tiny corrections Co-authored-by: josojo <josojo@hotmail.de> * Add improvements for typings (#111) * Improve typings * Add env CI: false to test deploy * Add ignore comments for the moment * Fix small typo (#112) * fixes nasty error: tx arguments not correct (#117) * Allow the api to fetch data, even when account is not loaded (#116) * Fix import * (Feature) Auction Details (#115) * (add) sanitize.css * (fix) linting and general setup * (add) common components * (add) footer, header * (fix) icon color * (add) favicon * (Add) header user not connected styles * (fix) footer styles * (add) header dropdown * (add) user address * (add) user dropdown changes * (add) dropdown styles * (add) connect modal * (add) transactions modal * (add) theme switch * (remove) unused component * (remove) more unused components * (hide) theme toggle * Fix some linter errors * Update linter config * Update yarn.lock * Add engine * (fix) linting * (remove) unused component * (add) title, subtitle, copy button * (add) auction details values * (add) tooltip * (add) external link button * (remove) unused dependency * (add) token icons * (add) separation * (add) base timer * (refactor) timer code * (add) text format * (add) timer and grid styles * (fix) auction progress * (add) orders table * (add) status icons * (fix) crash * (add) missing auction state * (fix) linting * (fix) make the auctions page less messy * (fix) several layout issues * (add) spinner * (add) buttons * (add) token text * (add) amount input * (add) price input * (add) some checking * (add) spinner for chart * (add) approval text * (fix) fuckup * (fix) validations * (fix) validations and folder placement * (add) error display * (add) better errors * Fix modal warning Co-authored-by: Mariano Aguero <mariano.aguero@gmail.com> * Fix small problems in the console (#121) * Fix problem with auction info card * Fix division by zero (#123) * Add continue when a buyAmount is zero * Add console error * [issues-98] Pulling in the tokenLogo (#127) * pull logos from uniswap token list * fetch all tokens at the same time * Add new endpoint for auctions (#129) * Add endpoint to fetch auction details * Add hook to fetch auction details * Fix bad use of useMemo * Refactoring * Update hook to use the new endpoint for auction details * Apply update to use auctionStartDate and a setInterval instead of setTimeout * (feature) Landing Page (#138) * (add) sanitize.css * (fix) linting and general setup * (add) common components * (add) footer, header * (fix) icon color * (add) favicon * (Add) header user not connected styles * (fix) footer styles * (add) header dropdown * (add) user address * (add) user dropdown changes * (add) dropdown styles * (add) connect modal * (add) transactions modal * (add) theme switch * (remove) unused component * (remove) more unused components * (hide) theme toggle * Fix some linter errors * Update linter config * Update yarn.lock * Add engine * (fix) linting * (remove) unused component * (add) title, subtitle, copy button * (add) auction details values * (add) tooltip * (add) external link button * (remove) unused dependency * (add) token icons * (add) separation * (add) base timer * (refactor) timer code * (add) text format * (add) timer and grid styles * (fix) auction progress * (add) orders table * (add) status icons * (fix) crash * (add) missing auction state * (fix) linting * (fix) make the auctions page less messy * (fix) several layout issues * (add) spinner * (add) buttons * (add) token text * (add) amount input * (add) price input * (add) some checking * (add) spinner for chart * (add) approval text * (fix) fuckup * (fix) validations * (fix) validations and folder placement * (add) error display * (add) better errors * (add) some routes and placeholder sections * (update) gitignore * (fix) gitignore * (add) featured auctions loading spinner * (add) landing page contents * (add) landing page contents * (add) featured auctions card styles * (update) yarn.lock * (add) featured actions progress bar * (fix) auction progress * (fix) scroll Co-authored-by: Mariano Aguero <mariano.aguero@gmail.com> * Solution to several issues (#139) * Update lock file * Add check for undefined * Add loading and claiming state * Add symbol tokens * Add new property * Fix perfomance issue * Add loading validation * Add improvement to hook using auction details endpoint * Revert config redux * Fix validations * Fix decimals (#145) * Allow to fetch all highlighted auctions from all networks (#146) * (Feature) Claiming (#149) * (add) claiming section styles * (fix) make paths windows compatible * (fix) Invalid network error (#154) * fix invalid netwrok error * (remove) console statement Co-authored-by: Gabriel Rodriguez Alsina <gabriel.rodriguez@altoros.com> * Add improvement for order cancellation (#155) * Add improvements to the chart (#153) * Add improvements to the chart * Add proper validation for tokens * Remove unused component, add more grids * (Feature) Several fixes (#156) * (add) text gradient * (add) token logo * (add) token placeholder for missing token's images * (fix) logo font * (add) Auction's network to featured auctions cards. * (fix) token symbol font size * (add) network name to auction details * (remove) text * (add) better text description Co-authored-by: Gabriel Rodríguez Alsina <gabitoesmiapodo@users.noreply.github.com> Co-authored-by: josojo <josojo@hotmail.de> Co-authored-by: Jose A. Ramirez C <jarcodallo@gmail.com> Co-authored-by: Gabriel Rodriguez Alsina <gabriel.rodriguez@altoros.com>
- Loading branch information
1 parent
abc52bf
commit 92e8e18
Showing
280 changed files
with
14,751 additions
and
12,561 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
REACT_APP_CHAIN_ID=4 | ||
REACT_APP_NETWORK_URL="PUT_YOUR_INFURA_URL" | ||
REACT_APP_GOOGLE_ANALYTICS_ID="PUT_YOUR_GOOGLE_ANALYTICS_ID" | ||
REACT_APP_GIT_COMMIT_HASH="PUT_YOUR_LAST_COMMIT_HASH" | ||
REACT_APP_FORTMATIC_KEY="PUT_YOUR_FORTMATIC_KEY" | ||
REACT_APP_PORTIS_ID="PUT_YOUR_PORTIS_ID" | ||
PUBLIC_URL="." | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_RINKEBY="PUT_YOUR_API_URL" | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_PROD_RINKEBY="PUT_YOUR_API_URL" | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_MAINNET="PUT_YOUR_API_URL" | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_PROD_MAINNET="PUT_YOUR_API_URL" | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_XDAI="PUT_YOUR_API_URL" | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_PROD_XDAI="PUT_YOUR_API_URL" | ||
REACT_APP_ADDITIONAL_SERVICES_API_URL_PROD_XDAI="PUT_YOUR_API_URL" | ||
REACT_APP_CHAIN_ID=4 | ||
REACT_APP_NETWORK_URL_RINKEBY="PUT_YOUR_INFURA_URL" | ||
REACT_APP_NETWORK_URL_MAINNET="PUT_YOUR_INFURA_URL" | ||
REACT_APP_NETWORK_URL_XDAI="PUT_YOUR_INFURA_URL" | ||
REACT_APP_FORTMATIC_KEY="PUT_YOUR_FORTMATIC_KEY" | ||
REACT_APP_PORTIS_ID="PUT_YOUR_PORTIS_ID" | ||
REACT_APP_GOOGLE_ANALYTICS_ID="PUT_YOUR_GOOGLE_ANALYTICS_ID" | ||
REACT_APP_GIT_COMMIT_HASH="PUT_YOUR_LAST_COMMIT_HASH" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.d.ts |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,103 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: "module", | ||
ecmaFeatures: { | ||
// Allows for the parsing of JSX | ||
jsx: true, | ||
}, | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
}, | ||
ignorePatterns: ["node_modules/**/*"], | ||
env: { | ||
browser: true, | ||
es6: true, | ||
}, | ||
ignorePatterns: ['node_modules/**/*'], | ||
settings: { | ||
react: { | ||
version: "detect", | ||
pragma: 'React', | ||
version: 'detect', | ||
}, | ||
'import/extensions': ['.js', '.jsx', '.ts', '.tsx'], | ||
}, | ||
plugins: [ | ||
'react', | ||
'react-hooks', | ||
'@typescript-eslint', | ||
'import', | ||
'sort-destructure-keys', | ||
'prettier', | ||
], | ||
extends: [ | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react-hooks/recommended", | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended", | ||
'eslint:recommended', | ||
'plugin:react/recommended', | ||
'plugin:react-hooks/recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'prettier/@typescript-eslint', | ||
'prettier/react', | ||
'plugin:prettier/recommended', | ||
'plugin:import/errors', | ||
'plugin:import/warnings', | ||
'plugin:import/typescript', | ||
], | ||
rules: { | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"prettier/prettier": "error", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/ban-types": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'prettier/prettier': 'error', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/ban-types': 'off', | ||
'react/prop-types': 'off', | ||
'no-console': [ | ||
'warn', | ||
{ | ||
allow: ['warn', 'error'], | ||
}, | ||
], | ||
'sort-imports': [ | ||
'error', | ||
{ | ||
ignoreDeclarationSort: true, | ||
}, | ||
], | ||
semi: ['error', 'never'], | ||
'no-warning-comments': 0, | ||
'import/extensions': 0, | ||
'import/no-unresolved': 0, | ||
'import/no-extraneous-dependencies': [ | ||
'error', | ||
{ optionalDependencies: false, peerDependencies: false }, | ||
], | ||
'import/order': [ | ||
'error', | ||
{ | ||
alphabetize: { order: 'asc' }, | ||
groups: [ | ||
['builtin', 'external'], | ||
['internal', 'parent', 'sibling', 'index'], | ||
], | ||
'newlines-between': 'always', | ||
pathGroups: [ | ||
{ group: 'builtin', pattern: 'react', position: 'before' }, | ||
{ | ||
group: 'external', | ||
pattern: | ||
'{uniswap-xdai-sdk,rebass/styled-components,polished,react-feather,react-router,@walletconnect/web3-provider,@testing-library/dom,@testing-library/user-event,@testing-library/react,styled-components,ethers/utils,react-dom,react-router-dom,ethers,ethers/providers,web3-utils}', | ||
position: 'before', | ||
}, | ||
], | ||
pathGroupsExcludedImportTypes: ['builtin'], | ||
}, | ||
], | ||
'import/prefer-default-export': 0, | ||
'sort-destructure-keys/sort-destructure-keys': 2, | ||
'react/jsx-label-has-associated-control': 0, | ||
'react/jsx-sort-props': 2, | ||
'react/jsx-filename-extension': [ | ||
1, | ||
{ | ||
extensions: ['.js', '.jsx', '.ts', '.tsx'], | ||
}, | ||
], | ||
'react-hooks/rules-of-hooks': 'error', | ||
'react-hooks/exhaustive-deps': 'error', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
}, | ||
}; | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,3 +35,4 @@ package-lock.json | |
cypress/videos | ||
cypress/screenshots | ||
cypress/fixtures/example.json | ||
.project |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.d.ts |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/favicon/mstile-150x150.png"/> | ||
<TileColor>#da532c</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.