-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: UI to mint tickets #18
Merged
Merged
Changes from 2 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
bb3bf3c
chore: run `yarn create vite` to initialize the UI
LuqiPan 04996c8
chore: add relevant dependencies and run `yarn install`
LuqiPan 156d456
feat: add SES lockdown
LuqiPan abf30d9
feat: add relevant types, hooks, and store
LuqiPan 353c23d
feat: add contract provider
LuqiPan f06fbd2
feat: add component for Mint and Inventory
LuqiPan e493bd1
feat: organize all components in App
LuqiPan 4a2decf
fix: replace occurrences of items with tickets in interchain-ui code
LuqiPan 3adf925
Merge branch '939-mint-tickets' into 977-mint-tickets-ui
LuqiPan 09beec3
chore: add a yarn script for starting interchain-ui
LuqiPan 5ca8da2
fix: use correct contract name to find the contract instance
LuqiPan 525e02a
chore: install Tailwind CSS
LuqiPan f42417a
chore: configure template paths for Tailwind CSS
LuqiPan f365767
fix: let vite know about the type definition for stringifyAmountValue
LuqiPan 77ba37f
chore: remove all existing css and add Tailwind directives
LuqiPan 1c44c01
ui: use tailwind to arrange the flex box for the app
LuqiPan cd3d6d6
ui: remove old css classes and use tailwind to do styling instead
LuqiPan a1079f6
ui: make the vertical divider show up
LuqiPan 53403b4
chore: upgrade ses to 1.3.0
LuqiPan 6bdc476
feat: wire up Mint component to send actual offers to contract
LuqiPan eb288d8
fix: update Inventory component to use the correct purse
LuqiPan 15d6ff6
feat: add proper images for different kind of seats
LuqiPan 5b11aae
ui: remove some redundant styling
LuqiPan 79ee77c
ui: add a connect wallet button at top right corner
LuqiPan ac40c18
ui: add app name on top left
LuqiPan d8417a8
ui: update index.html with proper favicon and title
LuqiPan da229f4
chore: install daisyui
LuqiPan 5ee43ad
chore: update tailwind config to use daisyui
LuqiPan 80be054
ui: use daisyui to style buttons
LuqiPan 829b634
ui: use daisyui to style the inventory card
LuqiPan 4431697
ui: style a navbar with daisyui
LuqiPan b2c4ab4
ui: use daisyui-divider-horizontal
LuqiPan 06b95da
ui: add agoric logo on the navbar
LuqiPan 6441fd0
ui: add a daisyui tab without hooking it up to contents below
LuqiPan e4a1cf5
chore: add react-daisyui
LuqiPan 1d44dae
chore: configure daisyui-react
LuqiPan 2ce38a0
ui: start styling a mint card through daisyui
LuqiPan 4a9a8e5
ui: styling the mint card
LuqiPan c982cdd
chore: remove unused import
LuqiPan 5bfb7d6
chore: remove @interchain-ui/react as this package is no longer in use
LuqiPan 45b3b23
ui: add styling so items are aligned on vertical center
LuqiPan c024189
ui: use self-center to align items individually
LuqiPan e1ec98d
ui: get radio tabs working
LuqiPan 7da79ce
ui: flex card action vertically instead
LuqiPan 38a2f55
ui: DRY out tab wrapper into TabWrapper component
LuqiPan f18242b
refactor: re-organize all components into a better hierarchy
LuqiPan 1a0e022
chore: remove redundant div
LuqiPan c2be33f
chore: run `yarn add '@agoric/react-components'`
LuqiPan 483e76f
chore: fix small formatting issue
LuqiPan db720dc
ui: implement notifications as toasts
LuqiPan 6e82577
Merge branch 'main' into 977-mint-tickets-ui
LuqiPan e5d2c44
Merge branch 'main' into 977-mint-tickets-ui
LuqiPan d480989
chore: bump web-components to 0.15.1-dev-09ca26c.0
LuqiPan a6bab79
chore: remove unused declares in vite-env.d.ts
LuqiPan 291515f
chore: update code to use stringifyAmountValue from @agoric/web-compo…
LuqiPan 6b893f1
chore: update @agoric/react-components to the latest version
LuqiPan 6735236
chore: remove debugging logging statement
LuqiPan 01a6ec3
chore: update @agoric/react-component to latest
LuqiPan e988954
ui: add network dropdown component
LuqiPan 1150103
chore: remove mainnet from network configs
LuqiPan 3bd9b05
chore: replace ui folder with interchain-ui folder
LuqiPan b6e8e34
chore: update package.json and ui/package.json
LuqiPan 1789cef
chore: add a test script for ui workspace
LuqiPan 1464360
Merge branch 'main' into 977-mint-tickets-ui
LuqiPan 95ca6af
chore: add and update some yarn scripts
LuqiPan b52baff
chore: run `yarn install`
LuqiPan 2691ff3
chore: remove `print-key` yarn script
LuqiPan 6363c67
chore: remove `print-key` make target
LuqiPan 5066ea6
chore: remove invoking print-key in start
LuqiPan 2bb65f8
chore: add .node-version and .nvmrc file
LuqiPan e35fe0f
Merge branch 'luqi-various-fixes' into 977-mint-tickets-ui
LuqiPan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -229,24 +229,24 @@ | |
"@endo/marshal" "0.8.5" | ||
"@endo/promise-kit" "0.2.56" | ||
|
||
"@agoric/react-components@^0.1.1-dev-09ca26c.0": | ||
version "0.1.1-dev-09ca26c.0" | ||
resolved "https://registry.yarnpkg.com/@agoric/react-components/-/react-components-0.1.1-dev-09ca26c.0.tgz#4d82a1d17fac5bb136e66920882c15ee2978da19" | ||
integrity sha512-uO8of9hk23tVuYaFCFP6pr8GPwAzMLiiYGXviV5L9WT6Kc/Dj0SUQOkCnj/dv9dAK2Dvjn0enZzz1Z0Cq9eNAQ== | ||
"@agoric/react-components@^0.1.1-dev-8fc28e8.0": | ||
version "0.1.1-dev-8fc28e8.0" | ||
resolved "https://registry.yarnpkg.com/@agoric/react-components/-/react-components-0.1.1-dev-8fc28e8.0.tgz#34078b8d1baf4b60410d03f8f0ef9f97d2a2eb33" | ||
integrity sha512-Ah9sEIrJDU1I7GbUHwZxG8zxLCCBA9OgssXmpJEH0d3rSBn/Fp+DOgXia85hw3gjsEWKTXsimkniTkZLM4cGaA== | ||
dependencies: | ||
"@agoric/rpc" "0.9.1-dev-09ca26c.0+09ca26c" | ||
"@agoric/web-components" "0.15.1-dev-09ca26c.0+09ca26c" | ||
"@agoric/rpc" "0.9.1-dev-8fc28e8.0+8fc28e8" | ||
"@agoric/web-components" "0.15.1-dev-8fc28e8.0+8fc28e8" | ||
"@cosmos-kit/core" "2.8.9" | ||
"@cosmos-kit/react" "2.10.10" | ||
"@interchain-ui/react" "1.21.18" | ||
chain-registry "1.28.0" | ||
react "18.2.0" | ||
react-dom "18.2.0" | ||
|
||
"@agoric/[email protected]09ca26c.0+09ca26c": | ||
version "0.9.1-dev-09ca26c.0" | ||
resolved "https://registry.yarnpkg.com/@agoric/rpc/-/rpc-0.9.1-dev-09ca26c.0.tgz#b9373c94c52e28d0db9ce2fd72e4686202baf314" | ||
integrity sha512-bvD2N0/bE33JfnnYPbWSf74pd1a3K+00OEeMXcgJkWlq3DXYH4vVAnPoSVAPkTYndSyJg+ppbl1fLgCUX5Qh2w== | ||
"@agoric/[email protected]8fc28e8.0+8fc28e8": | ||
version "0.9.1-dev-8fc28e8.0" | ||
resolved "https://registry.yarnpkg.com/@agoric/rpc/-/rpc-0.9.1-dev-8fc28e8.0.tgz#108dc98f9ae91c002f735256ad4d5d5ac649dc7e" | ||
integrity sha512-06N5lV+aj64OtKJeFN7amEfxB/PZ9JrGYYH7EFZSFl/F509dCAaZkGvYh3hbS8mDAXi2yYAM2cpNQtwLq4/rww== | ||
dependencies: | ||
"@endo/marshal" "^0.8.9" | ||
axios "^1.6.2" | ||
|
@@ -548,7 +548,22 @@ | |
"@endo/promise-kit" "^0.2.56" | ||
jessie.js "^0.3.2" | ||
|
||
"@agoric/[email protected]+09ca26c", "@agoric/web-components@^0.15.1-dev-09ca26c.0": | ||
"@agoric/[email protected]+8fc28e8": | ||
version "0.15.1-dev-8fc28e8.0" | ||
resolved "https://registry.yarnpkg.com/@agoric/web-components/-/web-components-0.15.1-dev-8fc28e8.0.tgz#9a59a14626b6ccc42ac147b289c62ea3b6a97b31" | ||
integrity sha512-SnO/G//ySwJmEW/2Tqt4kJC+urgEGoEZTV3won47Nac1aIYmO6FxBOrTA4gNycJrjwL2UEZVzotDVNrvIfGUPg== | ||
dependencies: | ||
"@agoric/assert" "^0.6.0" | ||
"@agoric/cache" "^0.3.2" | ||
"@agoric/casting" "^0.4.3-u13.0" | ||
"@agoric/ertp" "^0.16.2" | ||
"@agoric/notifier" "^0.6.3-dev-8c14632.0" | ||
"@agoric/smart-wallet" "^0.5.3" | ||
"@endo/captp" "^3.1.1" | ||
"@endo/eventual-send" "^0.17.5" | ||
"@endo/marshal" "^0.8.5" | ||
|
||
"@agoric/web-components@^0.15.1-dev-09ca26c.0": | ||
version "0.15.1-dev-09ca26c.0" | ||
resolved "https://registry.yarnpkg.com/@agoric/web-components/-/web-components-0.15.1-dev-09ca26c.0.tgz#03daf96c04757a5d9a18cf60a1bf4b93818fcf51" | ||
integrity sha512-Xg0c5676bC/+bjR3QFgZ+kQE2uSkio9eeBROaj6enuVh9+VjNPH111COcAZoZM1mlpKWErQbzN9LQz+dg6wadA== | ||
|
Oops, something went wrong.
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.
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.
mainnet? this dapp isn't intended for use on mainnet, is it?
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.
see also https://github.com/DCFoundation/cosmos-proposal-builder/blob/main/src/components/NetworkDropdown.tsx