* refactor price context to fetch multiple tokens
* fixes
* move tokenIds to app config
* make conversion work
* conversion for all user tokens, hide if 0
* different user balance key tactic
* remove NFT gas estimation
* closes#1633
* small simplification in getCoingeckoTokenId logic
* basic Prices provider test
* mock some hooks
* mock MarketMetadata in all tests
* feat: add approved tokens list query to subgraph
* feat: add base token selector
* feat: add placeholder tooltip message for base token
* feat: use user selected base token for publish
* fix: publish constants
* feat: update base token query to include digits and symbol
* feat: display correct token name and symbol in publish pricing tab
* fix: publish preview token name
* fix: query type
* feat: add balance fetch for all approved tokens
* fix: balance check for dynamic price with alternative base tokens
* feat: update balance to show baseToken instead of ocean
* fix: default baseToken in publish form
* feat: update text content for pricing publish step
* chore: update ocean.js
* add decimals to token
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix dt decimals
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update ocean.js
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix: show correct basetoken symbol under button buy
* refactor: move baseToken selector to input label [WIP]
* refactor: preserve baseToken value value when switching tabs
* remove basetoken tooltip from content json
* fix: price props
* refactor: remove BaseToken component
* fix: baseToken name on first load
* fix: baseToken display name in dynamic price
* fix: conversion tooltip text
* fix: error box overlapping in Coin component
* feat: add token logo component
* feat: add basetoken logo to asset actions pool
* fix: token images size
* fix: add default appproved token list when disconnected or chainId not supported
* fix: datatoken logo on asset details meta
* refactor: balance fetch + move approved base tokens list in web3 provider
* feat: update all datatokens to display ocean logo in violet
* fix: show correct logos on polygon
* fix wallet, remove dynamic
* fix build
* fix: reset baseToken on chainId change during publish
* fix: price tabs selection indicator
* feat: set the ocean token as default in pricing
* add baseToken
* fix price
* remove firstPrice
* cleanup, more affordance for token dropdown
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* catch nft state
* use warnings for nft state
* update disabled message
* changes to messages
* removed case 4
* change message title
* fix similar block codeclimate
* restore `error` state instead of `warning`
* removed unnecessary warning state
* removed warning completely
* header space saving & interaction tweaks
* remove network name reveal interaction on small viewports
* increase header button sizes for all viewports for better tap targets
* tweak flex layout
* remove caret from version badge on smaller viewports
* fix NFT tooltip icon placement
* spacing tweak
* caret css cleanup
* remove reconnecting message
* squeeze more space out of network, test label
* more space from unsupported network indicator