-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: run `yarn create vite` to initialize the UI * chore: add relevant dependencies and run `yarn install` * feat: add SES lockdown * feat: add relevant types, hooks, and store * feat: add contract provider * feat: add component for Mint and Inventory * feat: organize all components in App * fix: replace occurrences of items with tickets in interchain-ui code * chore: add a yarn script for starting interchain-ui * fix: use correct contract name to find the contract instance * chore: install Tailwind CSS * chore: configure template paths for Tailwind CSS * fix: let vite know about the type definition for stringifyAmountValue * chore: remove all existing css and add Tailwind directives * ui: use tailwind to arrange the flex box for the app * ui: remove old css classes and use tailwind to do styling instead * ui: make the vertical divider show up * chore: upgrade ses to 1.3.0 * feat: wire up Mint component to send actual offers to contract * fix: update Inventory component to use the correct purse * feat: add proper images for different kind of seats * ui: remove some redundant styling * ui: add a connect wallet button at top right corner * ui: add app name on top left * ui: update index.html with proper favicon and title * chore: install daisyui * chore: update tailwind config to use daisyui * ui: use daisyui to style buttons * ui: use daisyui to style the inventory card * ui: style a navbar with daisyui * ui: use daisyui-divider-horizontal * ui: add agoric logo on the navbar * ui: add a daisyui tab without hooking it up to contents below * chore: add react-daisyui * chore: configure daisyui-react * ui: start styling a mint card through daisyui Instead of using interchain-ui * ui: styling the mint card * chore: remove unused import * chore: remove @interchain-ui/react as this package is no longer in use * ui: add styling so items are aligned on vertical center * ui: use self-center to align items individually * ui: get radio tabs working * ui: flex card action vertically instead * ui: DRY out tab wrapper into TabWrapper component And implement activate tab on click logic * refactor: re-organize all components into a better hierarchy * chore: remove redundant div * chore: run `yarn add '@agoric/react-components'` * chore: fix small formatting issue * ui: implement notifications as toasts * chore: bump web-components to 0.15.1-dev-09ca26c.0 * chore: remove unused declares in vite-env.d.ts * chore: update code to use stringifyAmountValue from @agoric/web-components * chore: update @agoric/react-components to the latest version * chore: remove debugging logging statement * chore: update @agoric/react-component to latest * ui: add network dropdown component * chore: remove mainnet from network configs * chore: replace ui folder with interchain-ui folder * chore: update package.json and ui/package.json * chore: add a test script for ui workspace * chore: add and update some yarn scripts * chore: run `yarn install` * chore: remove `print-key` yarn script * chore: remove `print-key` make target * chore: remove invoking print-key in start * chore: add .node-version and .nvmrc file
- Loading branch information
Showing
49 changed files
with
15,518 additions
and
2,177 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
18.18.0 |
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 @@ | ||
.node-version |
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
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,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,30 @@ | ||
# React + TypeScript + Vite | ||
|
||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. | ||
|
||
Currently, two official plugins are available: | ||
|
||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh | ||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh | ||
|
||
## Expanding the ESLint configuration | ||
|
||
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: | ||
|
||
- Configure the top-level `parserOptions` property like this: | ||
|
||
```js | ||
export default { | ||
// other rules... | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
project: ['./tsconfig.json', './tsconfig.node.json'], | ||
tsconfigRootDir: __dirname, | ||
}, | ||
} | ||
``` | ||
|
||
- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` | ||
- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` | ||
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list |
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,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.