-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nfts): add initial snaefell-ui implementation (#17223)
Co-authored-by: bearni95 <[email protected]>
- Loading branch information
Showing
283 changed files
with
361,582 additions
and
9 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 +1,3 @@ | ||
BAR=FOO | ||
PUBLIC_WALLETCONNECT_PROJECT_ID=fake | ||
PUBLIC_IPFS_GATEWAY=https://taikoons.4everland.link/ipfs/ | ||
PUBLIC_LAUNCH_DATE=2024-05-26T00:00:00 |
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,20 @@ | ||
.DS_Store | ||
node_modules | ||
coverage | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Generated files | ||
/src/abi/* | ||
CHANGELOG.md | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock | ||
|
||
src/generated/* |
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,49 @@ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:svelte/recommended', | ||
'prettier', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'simple-import-sort'], | ||
rules: { | ||
'linebreak-style': ['error', 'unix'], | ||
'simple-import-sort/imports': 'error', | ||
'simple-import-sort/exports': 'error', | ||
'no-console': ['error', { allow: ['warn', 'error'] }], | ||
'no-irregular-whitespace': 'off' | ||
}, | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
extraFileExtensions: ['.svelte'], | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.svelte'], | ||
parser: 'svelte-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
}, | ||
}, | ||
{ | ||
files: ['*.ts', '*.svelte'], | ||
rules: { | ||
// TS will take care of this potential error. For more information please visit: | ||
// https://typescript-eslint.io/linting/troubleshooting/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors | ||
'no-undef': 'off', | ||
'@typescript-eslint/ban-ts-comment': 'off', | ||
'@typescript-eslint/no-explicit-any': '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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* |
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,4 @@ | ||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
package-lock.json | ||
yarn.lock |
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,18 @@ | ||
{ | ||
"semi": true, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"printWidth": 120, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"bracketSameLine": true, | ||
"plugins": ["prettier-plugin-svelte"], | ||
"overrides": [ | ||
{ | ||
"files": "*.svelte", | ||
"options": { | ||
"parser": "svelte" | ||
} | ||
} | ||
] | ||
} |
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,16 @@ | ||
# Changelog | ||
|
||
## 1.0.0 (2024-05-15) | ||
|
||
|
||
### Features | ||
|
||
* **taikoon:** devnet deployment ([#16937](https://github.com/taikoxyz/taiko-mono/issues/16937)) ([387ffb1](https://github.com/taikoxyz/taiko-mono/commit/387ffb1d18423f9e52dd9f668ddfaef748f7c97f)) | ||
* **taikoon:** taikoon ui setup ([#16854](https://github.com/taikoxyz/taiko-mono/issues/16854)) ([0ba891a](https://github.com/taikoxyz/taiko-mono/commit/0ba891a11f84d5a612dda10c5074d402cffd4100)) | ||
* **taikoon:** ui qa checklist ([#16870](https://github.com/taikoxyz/taiko-mono/issues/16870)) ([e965597](https://github.com/taikoxyz/taiko-mono/commit/e96559762d844b042bbf23de878883d3b647671a)) | ||
* **taikoon:** ui qa checklist ([#17175](https://github.com/taikoxyz/taiko-mono/issues/17175)) ([924adf3](https://github.com/taikoxyz/taiko-mono/commit/924adf3df2db4d4bee9a2af912705aea5dbc3659)) | ||
|
||
|
||
### Reverts | ||
|
||
* **repo:** ui qa checklist ([#17174](https://github.com/taikoxyz/taiko-mono/issues/17174)) ([43cb9a2](https://github.com/taikoxyz/taiko-mono/commit/43cb9a2f82ae808fde282154cded508b52dd76b3)) |
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,58 @@ | ||
# Frontend | ||
|
||
## Install | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
## Run | ||
|
||
Start the development server: | ||
|
||
```bash | ||
npm start | ||
``` | ||
|
||
## Storybook | ||
|
||
Tool to develop UI components in isolation. Run the following command to start the storybook server: | ||
|
||
```bash | ||
npm run storybook | ||
``` | ||
|
||
--- | ||
|
||
## Status Tracker | ||
|
||
### Pages | ||
|
||
| Page | Status | Notes | | ||
| ------------- | ------ | ----- | | ||
| Countdown | | | | ||
| Landing | | | | ||
| Mint | | | | ||
| Auction | | | | ||
| Explore | | | | ||
| Your Taikoons | | | | ||
|
||
### Components | ||
|
||
| Component | Status | Notes | | ||
| -------------- | --------------------- | ----- | | ||
| Header | | | | ||
| Countdown | | | | ||
| NFT Renderer | | | | ||
| Background | | | | ||
| Landing Header | Design Ready | | | ||
| Landing Text | Design Ready | | | ||
| Landing FAQ | Design Ready | | | ||
| Landing Links | Design Ready | | | ||
| Footer | Design Ready | | | ||
| Mint Form | Design Ready | | | ||
| Auction Form | Design Ready | | | ||
| Card | In Storybook | | | ||
| Button | In Storybook | | | ||
| Text Input | Implemented on Weblab | | | ||
| Spinner | In Storybook | |
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,12 @@ | ||
import type { PlaywrightTestConfig } from '@playwright/test' | ||
|
||
const config: PlaywrightTestConfig = { | ||
webServer: { | ||
command: 'npm run build && npm run preview', | ||
port: 4173, | ||
}, | ||
testDir: 'tests', | ||
testMatch: /(.+\.)?(test|spec)\.[jt]s/, | ||
} | ||
|
||
export default config |
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,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
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,62 @@ | ||
export const recommendedProcessingFee = { | ||
ethGasLimit: BigInt(900_000), | ||
erc20NotDeployedGasLimit: BigInt(3_100_000), | ||
erc20DeployedGasLimit: BigInt(1_100_000), | ||
erc721NotDeployedGasLimit: BigInt(2_400_000), | ||
erc721DeployedGasLimit: BigInt(1_100_000), | ||
erc1155NotDeployedGasLimit: BigInt(2_600_000), | ||
erc1155DeployedGasLimit: BigInt(1_100_000), | ||
}; | ||
|
||
export const processingFeeComponent = { | ||
closingDelayOptionClick: 300, | ||
intervalComputeRecommendedFee: 20_000, | ||
}; | ||
|
||
export const bridgeService = { | ||
noOwnerGasLimit: BigInt(140_000), | ||
noERC20TokenDeployedGasLimit: BigInt(3_000_000), | ||
erc20GasLimitThreshold: BigInt(2_500_000), | ||
|
||
noERC721TokenDeployedGasLimit: BigInt(2_400_000), | ||
erc721GasLimitThreshold: BigInt(3_000_000), | ||
|
||
noERC1155TokenDeployedGasLimit: BigInt(2_600_000), | ||
erc1155GasLimitThreshold: BigInt(3_000_000), | ||
}; | ||
|
||
export const pendingTransaction = { | ||
waitTimeout: 300_000, | ||
}; | ||
|
||
export const storageService = { | ||
bridgeTxPrefix: 'transactions', | ||
customTokenPrefix: 'custom-tokens', | ||
}; | ||
|
||
export const bridgeTransactionPoller = { | ||
interval: 20_000, | ||
}; | ||
|
||
export const statusComponent = { | ||
minimumEthToClaim: 0.0001, | ||
}; | ||
|
||
export const transactionConfig = { | ||
pageSizeDesktop: 6, | ||
pageSizeMobile: 5, | ||
blurTransitionTime: 300, | ||
}; | ||
|
||
export const toastConfig = { | ||
duration: 5000, | ||
}; | ||
|
||
export const apiService = { | ||
timeout: 5000, | ||
}; | ||
|
||
export const ipfsConfig = { | ||
gatewayTimeout: 200, | ||
overallTimeout: 5000, | ||
}; |
Oops, something went wrong.