claudiaHash
cc0da26740
max param for description length ( #1349 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-15 15:33:51 +03:00
Norbi
36a75e6736
Dynamic price publish input fields fixes ( #1302 )
...
* update ocean amount on price change
* add min ocean amount requirement
* add min ocean value when price is not grater than 0
* review fixes
* use min ocean and dataToken amounts from initialValues
* removed weightOnDataToken from useEffect and updated comments
* fix amountOcean bug
* remove min attribute from Coin, move logic to yup validation
* remove unused imports and change min amountOcean test name
* default amountDataToken from 50 → 100
* ref #1340
* change min datatoken and ocean amount to 100
* update ocean amount min validation and validation message
* replace data tokens with datatokens in min ocean amount message
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-04-14 13:48:56 +01:00
claudiaHash
1256c20904
Trade input accepts decimals with leading 0 ( #1294 )
...
* input accepts number with leading 0 decimals
* input fields changes
* value type fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-13 18:24:19 +03:00
Jamie Hewitt
9ebddd814d
Improve footer links ( #1338 )
...
* Opening external links in a new tab
* Main site links opens in a new tab + adding external link arrow
2022-04-11 16:13:52 +03:00
Jamie Hewitt
274d0d3809
Showing connect wallet button on submit page when no wallet is connected ( #1329 )
...
* Showing connect wallet button on submit page when no wallet is connected
* Fixing connect button when form hasn't been filled out
2022-04-08 13:05:06 +01:00
EnzoVezzaro
4bd9dddf3b
show proper errors on submit publish ( #1105 )
...
* exit when user rejects the transaction
* if the message is too long, return generic label
* in the case (should not happen) the message is longer than one row, then show ellipsis
2022-04-07 11:10:36 +01:00
EnzoVezzaro
ed15952a85
added key prop to Fragment to clear warning ( #1333 )
2022-04-06 17:18:52 +01:00
ced16eecc9
Ocean Asset NFT → Ocean Data NFT ( #1328 )
2022-04-06 16:38:43 +03:00
Jamie Hewitt
cd5ff7cf73
Revert "Adding connect wallet button to submit page"
...
This reverts commit e24de81b65
.
2022-04-06 16:35:20 +03:00
Jamie Hewitt
d65161ef41
Revert "Removing unneccessary conditions"
...
This reverts commit ea3f91f79b
.
2022-04-06 16:34:44 +03:00
Jamie Hewitt
00961c47c0
Merge branch 'v4' of github.com:oceanprotocol/market into v4
2022-04-06 16:20:59 +03:00
Jamie Hewitt
ea3f91f79b
Removing unneccessary conditions
2022-04-06 16:13:46 +03:00
claudiaHash
483bc90dec
Content width changes ( #1325 )
...
* width changes
* revert change for @media
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-06 14:02:01 +01:00
Jamie Hewitt
d61f9c7940
Merge branch 'v4' of github.com:oceanprotocol/market into v4
2022-04-06 15:53:26 +03:00
Jamie Hewitt
e24de81b65
Adding connect wallet button to submit page
2022-04-06 15:52:55 +03:00
Jamie Hewitt
9b19aed5ad
Removing dashes from timeout field ( #1326 )
2022-04-06 13:31:31 +01:00
f2e7db0260
Pool components UI refactor ( #1295 )
...
* reorder UI
* refactor with new PoolSection component
* move all the things
* layout tweaks
* fix pool data without wallet
* fix undefined user pool share
* fix max remove calculation
* make conversion use our decimals definition
2022-04-06 11:47:41 +03:00
Jamie Hewitt
d64fe4e32c
Adding space to ConnectWallet ( #1323 )
...
* Adding space to ConnectWallet
* Adding <span> back in, keeping the space
2022-04-05 21:21:11 +03:00
EnzoVezzaro
3b023054dd
restore fetchAllData for any user ( #1318 )
2022-04-05 10:09:28 -07:00
a9e1776499
More footer links ( #1322 )
...
* tweaked footer layout
* add more links
* source links from content file
2022-04-05 10:08:12 -07:00
fc2681231b
fix transferable NFTs ( #1309 )
...
- send along `transferable` param when creating NFT
- new optional `transferable` param in our `generateNftCreateData()` helper, default to `true`. So we don't need to bother adding this to the publish tx fee component
- capture new key in form data, `metadata.transferable`, set to `true` by default. This prepares this to be added as a UI option later on
2022-04-04 20:13:39 +01:00
mihaisc
3dd21bd20d
update publish params for new contracts ( #1308 )
...
* fix params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-04 18:16:04 +03:00
EnzoVezzaro
4ded93afed
fix missing chain id on preview ( #1305 )
...
* fix missing chain id when user is not connected
* remove log
2022-04-04 17:56:05 +03:00
48c3190fed
Warn about publishing html files, unified file error states ( #1279 )
...
* cleanup
* warn about html files
* kick out toast error
* unify and simplify all file error states
* remove unused CSS
* same principles for provider check
* copy
* copy & comments
* fix files reset with correct initialValues, shorter optional chaining
* messaging change
* fix error message placement for provider field
2022-04-04 15:34:48 +01:00
EnzoVezzaro
b574daee30
fix wrong TVL on pool tab ( #1281 )
...
* remove multiplier from totalLiquidityInOcean
* Revert "remove multiplier from totalLiquidityInOcean"
This reverts commit e6b5cc15d6
.
* restore totalLiquidityInOcean calculation
* getting user / owner liquidity from calcSingleOutGivenPoolIn + some clean up
* removed web3 hook in favor of dummyWeb3 connection
* remove calc on user liquidity (YVL)
2022-04-04 14:29:31 +01:00
EnzoVezzaro
0ade87c971
fix "owned by" label on preview ( #1303 )
...
* fix "owner by" label on preview
* cleanup - remove unused code
* restore 3box
2022-04-04 14:16:22 +01:00
claudiaHash
65f0c5c675
Price length and decimals number validation ( #1225 )
...
* price length and decimals number validation
* undefined parameter fix
* fixes
* use the decimals constant in regex
* validation added for moire fields
* cleanup
* swap fee decimals fixes
* constant fix
* use max 6 decimals for swap fee
* remove unused code
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-01 11:38:32 +03:00
EnzoVezzaro
47144d80b5
fix remove liquidity issues ( #1258 )
...
* reset slider after transaction
* fix issue on remove button hover
* restore transform on Button.module.css
* added check on accountId to avoid failing calls
* disable remove button on amountPercent = 0
2022-04-01 11:22:38 +03:00
mihaisc
45dad876e2
fix pool tx ( #1288 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-31 12:50:32 +01:00
claudiaHash
eb3ddcee90
Undefined graph labels fix ( #1283 )
...
* get format price
* added price format fix, removed logs
* remove all commas from the price string
* space fixes
* fix
* fix locale in graph, undo price fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2022-03-31 12:49:15 +01:00
Bogdan Fazakas
cd2565d5e7
fix error when sample on edit is empty
2022-03-31 11:51:21 +03:00
Bogdan Fazakas
8f93d9bc2f
bump oceanlib to 1.0.0-next.32 ( #1282 )
2022-03-30 14:06:40 +01:00
Norbi
aa4bdda207
display token approval message on loading ( #1280 )
2022-03-30 11:30:41 +01:00
Norbi
905be83a00
check if config is null ( #1276 )
2022-03-29 16:18:13 +01:00
Norbi
f4a0376f99
set transactions to an empty list if dtList lengths is 0 ( #1274 )
2022-03-29 15:15:30 +01:00
claudiaHash
90f841bb13
No error shown for invalid file url ( #1221 )
...
* check file url
* logic fix
* display error message
* use x mark sign
* change border and background color for wrong input
* invalid input red border
* make error visible only for touched field
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-29 15:14:46 +01:00
6e2e46d8ea
Disable pool fetching interval ( #1265 )
...
* disable pool fetching interval
* change requestPolicy
* trigger refetch on back button click for add/remove
* fix memory leak error
* refetch on refocus
* add manual refresh button
2022-03-29 14:32:45 +01:00
EnzoVezzaro
90a8bc00bb
fix preview nft on step preview in publish ( #1226 )
...
* fix preview nft on step preview in publish
* remove image data from asset interface
* change dataImage implementation
- remove FormPublishData hook
- get NFT image from asset
* improved documentation
* restore formikContext and add warnings
2022-03-29 13:47:21 +01:00
Norbi
4a102722b7
query pool transactions only by pool address ( #1251 )
2022-03-29 10:19:00 +03:00
claudiaHash
b9ee145aed
Get valid pool transaction link ( #1268 )
...
* get transactions link
* cleanup
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-28 17:57:16 +03:00
claudiaHash
2e74d42edb
Get correct transaction label ( #1270 )
...
* get correct transaction label
* remove log
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-28 17:48:51 +03:00
9df8ed49a3
disable all actions on publish preview ( #1257 )
...
* disable all actions on publish preview
* remove asset actions disabled mechanism
2022-03-25 17:16:52 +02:00
Norbi
63f0b41006
added slippage to trade approval ( #1252 )
2022-03-25 12:51:56 +00:00
Luca Milanese
300b5b9ef3
fix: assign viewBox property to svg waves ( #1247 )
2022-03-24 12:11:41 +00:00
Bogdan Fazakas
61d60fd173
Fix edit asset issues ( #1190 )
...
* fix loading
* fix cancel acction and some cleanups
* style typo
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* fix title and replace router with link
* add proper loading to edit components
* add page title
* add more top spacing to form description
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-23 15:11:42 +00:00
EnzoVezzaro
aeb6f06f75
catch user signing rejection on download ( #1237 )
...
* catch user signing rejection on download
* change LoggerInstance.log to LoggerInstance.error
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-23 14:59:57 +00:00
claudiaHash
5f174bca88
Remove collect tokens button ( #1235 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-23 13:30:03 +00:00
EnzoVezzaro
926838862a
Fix No error message for swapping more than max tokens ( #1230 )
...
* moved Error (field) component in shared components
- moved Error.tsx from Pricing
- change paths to Error.tsx in publish
* added Error component with field validation
* change setTimeout with lodash.debounce
2022-03-22 15:50:51 +00:00
69c3db2caa
SEO & favicon fixes ( #1229 )
...
* fix URLs and title
* solve all favicon things
* image optimizations through ImageOptim
* typing fix
2022-03-22 14:57:33 +00:00
Bogdan Fazakas
ad09e2c99d
bump oceanjs to 1.0.0.next.29 ( #1228 )
...
* bump lib to 1.0.0.next.29
* add mising param to collectBT
2022-03-22 10:14:01 +02:00
7701652e89
Default to test networks ( #1224 )
...
* limit to test networks
* hide network list group when no networks in it
* remove warning, hide announcement banner on empty warning
2022-03-21 13:06:00 +00:00
Norbi
d1d24ef4d5
disable price calculation for free price ( #1198 )
...
* disable price calculation for free price
* make file icon visible on component mount
* check if accessDetails are present
2022-03-18 13:22:26 +00:00
Moritz Kirstein
9d1b7794a3
Feat: Display NFT in asset details ( #1125 )
...
* feat: add decodeTokenUri helper
* refactor: restructure of MetaMain component
* feat: add nft tooltip
* feat: add opensea link for nfts
* style: adjust nft image size in tooltip
* feat: add nft data to publish preview
* fix: readd owner to nft metadata
* refactor: conditional display of nft tooltip
* style: fix link styles in nft tooltip
* feat: add placeholder graphic as fallback if nft data does not contain one
* fix: display openSea link only on supported networks
* fix: rename ddo props to asset in metamain related components
* feat: add original publisher to asset details
* chore: remove unused imports
* fix: remove unused prop
* feat: convert publisher address to checksum address
* chore: remove console.error when decoding tokenURI
* Revert "chore: remove console.error when decoding tokenURI"
This reverts commit f387175970
.
* feat: shorten nft address in tooltip preview
* fix: use Web3.utils instead of the actual web3 instance to convert wei in ether
Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-16 19:01:51 +00:00
Norbi
8b331c0a63
Fix/issue 1151 pool chart fill color ( #1193 )
...
* added colours for dark and light mode and refetch on appearance change
* keep same border colour
2022-03-16 15:35:31 +00:00
EnzoVezzaro
8d852323ad
fix txCount on 'Create tokens & pricing' in publish ( #1187 )
...
* fix txCount on 'Create tokens & pricing' in publish
* fix description on submit step in publish
2022-03-16 14:37:28 +00:00
Luca Milanese
bea8635a53
Feat: add final did to tokenURI in NFT metadata ( #1167 )
...
* feat: set NFT metadata and tokenURI in a single transaction
* feat: move token uri encoding in second publish transaction
* feat: add final asset did in tokenURI
* fix: edit metadata and computeDataset submit functions
* feat: extract decodeTokenURI function
* fix: revert to previous metadata edit flow
* fix: revert to generateNftCreateData
* feat: add final asset link in tokenURI description
2022-03-16 13:19:08 +00:00
Norbi
822cec3753
Keep algorithm private checkbox fixes ( #1174 )
...
* fix set access inside publish form
* added initial value for service access to fix continue button disabled
* removed compute environment options field
* removed compute options from form.json
* update access and algorithmPrivacy fields based on asset type
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-16 12:52:05 +00:00
EnzoVezzaro
f2ecf1666b
added freeAgreement to pricing validation ( #1188 )
2022-03-16 12:17:02 +00:00
3ea832d270
update compute service options ( #1180 )
...
* bump ocean.js to v1.0.0-next.26
* update compute service options
2022-03-11 11:26:04 +00:00
EnzoVezzaro
fc6e00669c
Feature/issue 1175 catch user rejection buy ( #1177 )
...
* fix approval rejection on buyDtFromPool
* fix approval rejection on order
2022-03-11 11:25:51 +00:00
EnzoVezzaro
1eacf9d93e
stop execution on publish if user rejects approval tokens ( #1173 )
2022-03-09 16:06:55 +00:00
cfd31905dd
Fix profile image ( #1172 )
...
* tinker
* use !important
2022-03-09 14:12:48 +00:00
ccb50b56e5
Preview action fixes ( #1171 )
...
* disable pool/trade tab in preview again
* hide collection button on preview
* cleanup
* render fix
2022-03-09 14:12:37 +00:00
claudiaHash
4331c24c0d
Restore Pool Shares section ( #1139 )
...
* get poolShares dt addresses
* style fixes
* class names fix
* remove useless changes
* fix
* try/catch blocks, loading fix
* show pool shares fix
* delete logs, fix build
* more try/catch blocks
* check subgraph url, add try/catch block
* fixes
* pool fields fix
* minor code fixes
* fix subgraph fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove unused function, fixes
* use LoggerInstance, remove useless setter
* error messages fix, get rid of dt column
* small tweaks and tests
* fixes
* fixes
* modified flow for pool shares
* loading UX fixes
* unified calculations for pool liquidity
* stop the refetch madness
* profile provider already sets interval fetching for pool shares
* pool shares will change when chainIds, accountId is changed so no need to listen for changes again
* calculation tweaks
* pool stats tweak
* fix pool transactions
* fix data display in pool shares section
* minor fix, delete comment
* subgraph typings generation fix
* pool stats display tweaks
* price sizing fix
* rabbit hole fixes
* more price UI fixes
* cleanup
* wording consistency
* render all frontpage sections by default, load in assets after
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-09 12:58:54 +00:00
mihaisc
af60018500
fix max add/remove liquidity ( #1141 )
...
* fix max add/remove liquidity
* fix graph liquidity
* small comment
* change liquidity graph to tvl, fix swap
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* change label
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove todo
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix max remove liquidity
2022-03-03 12:23:23 +00:00
claudiaHash
8a5bddbf6e
Restore trade tab ( #1047 )
...
* get swap fee, max values
* use baseToken instead of ocean
* build fixes
* set form trade tx - WIP
* use pool info
* logs deleted
* merge fixes
* use local ocean.js, get spot price
* handle value changes, logs deleted
* fixes after v4 merge
* valid user liquidity displayed
* get correct token amount
* more fixes
* form trade fixes
* positive input values fix
* use proper swap functions
* use appConfig's marketFeeAddress
* remove redundant setters
* use consumeMarketPoolSwapFee
* use poolInfo, remove log
* code fixes
* some more fixes
* fees fix
* use poolInfo data
* various fixes
* fixes and cleanup
* fix build
* partial decimal fix
* add swap fee
* fix sub updates
* remove console
* fix package
* fix package-lock
* remove ssh
* fix blockies and package
* fix comments
* remove unused var
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2022-03-03 10:49:04 +00:00
claudiaHash
b63c644962
Collect tokens by publisher ( #1120 )
...
* get tokens balance wip
* use ButtonBuy component
* collect and sum base tokens
* delete logs, get tx
* center button
* feedback and loader added
* query by exchangeId
* fixes
* correct token symbol, set balance to 0 after collect
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-02-25 02:36:32 -08:00
Bogdan Fazakas
73f3080daf
Restore edit functionality ( #1107 )
...
* add content on edit pages
* display edit for user only
* add form actions
* add restore part of edit metadata logic
* adjust edit metadata
* wip edit compute settings
* added console logs
* wip edit compute
* updated edit compute flow
* updated style
* fix pricing various fixes
* fix edit acctions
* add debug on edit compute tab
* add debug on edit metadata tab
* more fixes
* lint fixes
* add pricing to edit metada
* restore timout edit
* protect edit route
* small fixes
* fixes and add edit feetback, loading, error, succes on submit
* timeout init values fix
* added setNftMetadata helper
* moved transfor asset to assetSelection from aquarius class
* fixed links, removed dispenser hacks
* fixed sample
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2022-02-25 02:33:07 -08:00
Norbi
ed9b1ce2d2
Update fee display inside publish form ( #1128 )
...
* use fixed and pool swap fees from app config inside publish form price
* get opc fees from subgraph
* fixed undefined opcFees
* fixed get opc fees query
* removed logs, unused imports and added types
* remove unused import
* fetch opc fees from wallet network
* use fallback chainId and add chainId to dependencies array
* get app config from site metadata
* fixed getOpcFees typo
* changed community fee field value
2022-02-24 07:21:45 -08:00
EnzoVezzaro
8599835be4
remove unnecessary appearance ( #1142 )
2022-02-24 07:17:54 -08:00
mihaisc
6541068364
fix exchange id ( #1137 )
...
* fix exchange id
* fix
* fix dispenser
2022-02-22 08:10:26 -08:00
claudiaHash
db7ae82f4a
Restore profile header and downloads tab ( #1129 )
...
* show results
* sales number displayed correctly
* get downloads
* use totalSales parameter
* fixes
* sum sales fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-02-21 17:15:33 +02:00
c1ab042c5e
Restore global stats ( #1123 )
...
* start with a good refactor
* split up into multiple files
* split up data fetching and manipulation into multiple effects
* adapt for new subgraph
* bookmarks error fixes
* make numbers show up when a subgraph is down
* use testnets, make numbers show up
* style fixes
* making sense of existing numbers
* more stats
* use original total OCEAN
* output datatokenCount
* state data structure change for all sum values
* copy
* output networks at all times
* switch to mainnets numbers
2022-02-18 15:53:31 +00:00
EnzoVezzaro
6c7a474136
Free pricing: added confirm checkbox ( #1086 )
...
* added confirm checkbox and connect logic to wizard
* add 'accessDetails' to displayed asset
* restore initial state
* adding 'freeAgreement' option to constants
* moved checkbox for free item aggreament
* improvement on amountDataToken validation
* change Field component with Input and improve UI
* change `onChange` property with `useField` hook
* switch back to Formik Field
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-02-18 11:55:46 +00:00
3a424bc44c
bookmark fixes ( #1127 )
2022-02-18 11:46:34 +00:00
5a4a30e0b0
fix search title ( #1122 )
2022-02-17 21:38:40 +00:00
d2fb4db7c6
revised asset not found message ( #1124 )
2022-02-17 21:37:59 +00:00
EnzoVezzaro
ab73a5b5d9
Mobile publish fixes ( #1076 )
...
* aligned inputs for mobile
* correction for mobile first approch
* change nft layout on publish mobile (metadata section)
* align datatokens view on publish widzard for mobile
* remove unnecessary margin around nft, datatoken UI
* reduce min-width for xs viewports
* fix mobile layout for pricing tab / submit tab on publish
2022-02-17 16:03:27 +00:00
mihaisc
677563d7c2
fix pool tab ( #1121 )
...
* query update
* fixes
2022-02-17 16:00:08 +00:00
Luca Milanese
1b9987ce89
fix: set default svg output to fill color ( #1115 )
2022-02-17 15:59:39 +00:00
mihaisc
60c5520548
update to ocean.js.next.20 ( #1099 )
...
* update and fix fees
* update lib
* update aquarius endpoint
* update lib and fix changes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-02-16 18:42:35 +00:00
mihaisc
8d1782a800
Restore order ( #1068 )
...
* minor refactors
* minor refactors
* fixes
* buy dt
* consumePrice + estimation
* various fixes
* cleanup
* fix build
* fix ssh issue
* feedback
* build fix
* ssh fix
* remove console.log
* suggested fixes
* other fixes
* switch to decimal
* more fixes
* more fixes
* fix
* some fee refactors
* more fee refactoring
* lib update, fre rename
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* minor refactors
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* build fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update + more refactoring
* calc price
* fix build
* restore accountId in effect
* fix order
* fix build and update lib
* fix order index
* fix comments
* pool fix
* remove console.log
* fix order fixed rate exchange
* fixed free order and messaging
* add comment
* minor type fix
* more type fixes
2022-02-14 08:27:36 -08:00
EnzoVezzaro
c438ba0a04
Fix mapping in search component and ux improvements ( #1092 )
...
* clear search input after submit
* fix mapping on sorting by tag (search query)
* fix property of undefined errors
* Revert "clear search input after submit"
This reverts commit 93dd57ae0b
.
2022-02-14 15:33:46 +00:00
942ead1b4c
disable exhaustive-deps warning in Pool context ( #1094 )
2022-02-14 15:23:18 +00:00
EnzoVezzaro
b6dc52c0ab
change undefined with 0 as value to fix new Decimal error ( #1089 )
...
* change undefined with 0 as value to fix new Decimal error
* correction for fix changed undefined value with 0 as value to fix new Decimal error
2022-02-14 15:22:50 +00:00
Moritz Kirstein
d688b81a80
Feature: SVG Generator ( #1032 )
...
* use smaller SVG for publishing test, siwtch to Buffer encoding/decoding
* shorter NFT name & symbol
* fix: fix small test svg
* feat: first draft random wave svg generation
* refactor: utilize join to remove unecessary ',' separator
* feature: add gas cost estimation for nft artwork
* refacotr: allow fillColor as array and adjust opacity
* refactor: adjust random wave generation
* refactor: change nft help text
* refactor: trying tooltip for nft image info
* feat: add custom algorithm to generate svg waves
* fix: use text colors for nft form field svgs
* refactor: code cleanup nft utils
* refactor: improve readability
* refactor: improve comment
* refactor: (re)move comments, cleanup
* refactor: remove console log
* refactor: adjust default svg wave values & remove logging
* refactor: tweak default SvgWave prop values
* fix: svg preview with disconnected wallet
* feat: show artwork gas fee estimation in user preferred currency
* refactor: extract gas fee estimation logic to new component
* cleanup: remove oceanWaves, remove d3
* icon visual weight tweak
Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-02-14 12:16:29 +00:00
mihaisc
fc1f396c96
updates ( #1084 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-02-11 13:26:58 +02:00
claudiaHash
aec34dc712
Restore highest liquidity tab ( #1077 )
...
* get highest liquidity pools WIP
* logs deleted
* order fix
* query fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-02-10 16:41:07 +02:00
EnzoVezzaro
e2c468c128
added radio to pricing tabs on publish ( #1067 )
...
* added radio to pricing tabs on publish
* adding padding to tabs with radio
* correct unnecessary component and style class
* adding attribute selector to css rule
2022-02-10 14:37:34 +00:00
claudiaHash
fab181be34
filtering fix ( #1071 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-02-09 13:18:27 +00:00
EnzoVezzaro
b79385bbcf
fixed bookmarks not showing on homepage ( #1072 )
2022-02-09 13:14:32 +00:00
mihaisc
463c850fc4
update ( #1065 )
2022-02-07 08:31:22 -08:00
b8c2b01b54
Pool stats updates and pool context provider ( #1057 )
...
* remove datatokens from liquidity stats, multiply base token
* naming: Pool Creator Statistics → Owner Liquidity
* remove all the noise
* more pool stats data
* simplify user liquidity data structure, remove datatoken calculations
* chart tweaks, new calculation for liquidity
* tweaks
* todo
* frontpage error fixes
* account switch fixes
* comment out fees
* pool context provider
* double pool share
* move subgraph-related methods into context provider
* typing fix
2022-02-07 14:58:47 +00:00
d51d909a66
disable all inputs during submission in add/remove liquidity ( #1062 )
2022-02-04 18:21:35 +00:00
24fd4de584
fix file info ( #1061 )
2022-02-04 15:58:11 +00:00
6ffb417724
use v4 label
2022-02-04 15:51:16 +00:00
64255f2b37
Remove asset purgatory workaround ( #1056 )
...
* revert asset purgatory workaround
* reverts #1016
* asset loading fix
2022-02-03 15:26:49 +00:00
8074a6143c
Refactor Asset context provider ( #1055 )
...
* refactor Asset context provider
* use useIsMounted hook
* typings and effect tweaks
* use chainId
* effect tweak
2022-02-03 14:31:43 +00:00
mihaisc
57be62a6b1
Refactor pricing and various components that are involved ( #1046 )
...
* update
* merge pr #1012
* fix header
* fix
* abort controller
* up next.8
* build fix
* update lock
* fix
* another fix
* ssh fix
* another ssh fix
* remove optional
* order mock
* small cleanup
* fix package
* price updates
* finish getPrice
* fix consume
* fix consume
* getConsumeDetails comments
* restore functionality after consumeDetails
* fix some compute typings
* more price fetching updates
* 'minor' refactors and fixed build
* package-lock fix
* minor comments
* minor naming changes
* fix
* fix pool badge
* remove console.log
2022-02-03 03:29:39 -08:00
claudiaHash
77c4ed42cc
Pricing tab validation fix ( #1015 )
...
* pricing validation - visited tabs
* use step as number
* remove unused import
* use price empty field
* merge fixes
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-02-02 05:53:15 -08:00
ef6a5fda7f
calculate user liquidity with subgraph values ( #1053 )
2022-02-02 11:49:59 +00:00
2fb7ed3516
Merge pull request #1020 from oceanprotocol/v4-pool-graph
...
Pool chart updates, combine all pool data subgraph queries
2022-01-31 13:58:57 +00:00
claudiaHash
4b6be6da0c
Invalid transction link fix ( #1035 )
...
* get nft updates fix
* fix
* use nft update type
* message case fixed
* update message fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-01-31 13:15:52 +00:00
1eaec10ea9
center single data point
2022-01-31 12:42:23 +00:00
1c515496a9
fiix pool transaction titles
2022-01-31 12:42:23 +00:00
d4b42bf7a4
generated typing fix
2022-01-31 12:42:23 +00:00
9ebb57d2af
subgraph pool address type workaround
2022-01-31 12:42:23 +00:00
1e54a9d573
merge all the pool data subgraph queries into one
2022-01-31 12:42:23 +00:00
1e24972aa7
tooltip styling fixes
2022-01-31 12:42:23 +00:00
fde7449aad
typescript, yolo
2022-01-31 12:42:23 +00:00
5683d7b187
re-render fixes
2022-01-31 12:42:23 +00:00
7a5651e3a8
spacing, more file moving around
2022-01-31 12:42:22 +00:00
58f1c884de
split up fetching & data manipulation, refactor
2022-01-31 12:42:22 +00:00
1e4446116b
update and migrate to chart.js & react-chartjs new major versions
2022-01-31 12:42:22 +00:00
52437616f2
add volume graph
2022-01-31 12:42:22 +00:00
d43920548f
fix liquidity & price graph
2022-01-31 12:42:22 +00:00
8293e9ad5f
subgraph update fixes
2022-01-31 12:41:58 +00:00
2f6323f141
Merge pull request #1017 from oceanprotocol/v4-liquidity
...
Restore add/remove liquidity
2022-01-28 11:54:41 +00:00
claudiaHash
c0f87410c5
No file info shown for valid files ( #1029 )
...
* get asset file info
* additional verification, logs deleted
* fixes
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-01-28 11:49:14 +00:00
e113ba5300
V4-publish-fixes ( #1030 )
...
* tweak file URL input
* remove logging
2022-01-28 11:46:09 +00:00
9ce1f6f7d5
remove all the custom field change overwrites
2022-01-26 14:07:33 +00:00
a9aeed4aec
define token address & symbol only once
2022-01-26 12:41:21 +00:00
0db0bea3f6
more generic TokenApproval props, more logging
2022-01-26 12:06:09 +00:00
c10ca06dbc
fixes
2022-01-26 11:55:21 +00:00
08a691ceee
token approval & allowance fixes
2022-01-26 10:43:32 +00:00
8b31746e57
make remove output calculation work
2022-01-26 10:23:33 +00:00
bfdf7e1b24
prepare to use getAmountInExactOut
2022-01-26 10:23:33 +00:00
eaf29003c3
make remove work
2022-01-26 10:23:33 +00:00
a541cbcee0
refactor to use less hardcoded OCEAN
...
* ref #468
2022-01-26 10:23:33 +00:00
4dc188d3e4
add/remove baseToken only
2022-01-26 10:23:33 +00:00
c140cdc82c
restore submit methods, token approval workaround
2022-01-26 10:23:33 +00:00
0c5c8effde
restore live calculations
2022-01-26 10:23:33 +00:00
mihaisc
487bcad8b4
Update ocean.js ( #1013 )
...
* update
* merge pr #1012
* fix header
* fix
* abort controller
* up next.8
* build fix
* update lock
* fix
* another fix
* ssh fix
* another ssh fix
* remove optional
2022-01-26 10:17:41 +00:00
409f0c51fb
faulty purgatory response workaround ( #1016 )
2022-01-24 10:51:51 +00:00
f55d8d9a91
Pool tab refactor ( #1009 )
...
* refactor and simplify
* fix user pool transaction section
* split up fetching and data manipulation
* restore refetch after add/remove, rename all the things
* more naming and logging
* new state structure unifying multiple data structures
* another response failsafe
* naming
2022-01-21 14:09:15 +00:00
claudiaHash
42323cb8c4
Use asset's ddo.purgatory ( #1006 )
...
* set purgatory state
* merge v4 changes, use ddo.purgatory
* delete commented code, fix verification
* unused files and function deleted, small fix
* comment removed
* use purgatory.state for filtering assets
* remove unnecessary check
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-01-19 16:30:04 +00:00
2622a807f6
Subgraph updates ( #1007 )
...
* subgraph updates
* swap title fixes
2022-01-18 20:29:28 +00:00
claudiaHash
6689f55808
Fix: show test label according to network type ( #1002 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-01-17 19:47:03 +00:00
0129806159
pregenerate warning fix
2022-01-17 17:06:46 +00:00
44a0589420
remove subgraphError params
2022-01-17 14:14:01 +00:00
606654b533
more pool query refactor
2022-01-17 13:53:15 +00:00
f3c85ccb95
refactor PoolTransactions title component
2022-01-17 13:28:31 +00:00
5401390c44
simplify and refactor pool charts
2022-01-17 13:06:24 +00:00
25204b2393
graph sync status fix
2022-01-17 11:37:58 +00:00
4706029029
make datatoken balance work again in multiple places
2022-01-14 17:40:05 +00:00
c6011d29ef
fail safe against empty creator liquidity, just read out weights
2022-01-14 17:25:20 +00:00
8996722fcb
pool graph tinkering with poolSnapshots
2022-01-14 17:10:24 +00:00
c28cdd318f
add todo
2022-01-14 14:38:30 +00:00
ce4e0cfba5
market stats tinkering
2022-01-14 14:25:26 +00:00
1726fe1d0d
isolate apollo stuff into npm script, more generic folder name output
2022-01-13 23:50:47 +00:00
de87e16906
remove graphql-codegen stuff
...
* keep existing apollo-based generation as it just works
* can be put back from this commit when doing #722
2022-01-13 22:27:00 +00:00
68ad4cc160
migrate most components using GraphQL queries
2022-01-13 22:03:36 +00:00
d78676fa3b
migrate data in subgraph.ts
2022-01-13 21:41:19 +00:00
829333e1e1
migrate all subgraph.ts queries, making typings generation work
2022-01-13 21:24:06 +00:00
2af3b68603
migrate PoolTransactions queries
2022-01-13 20:10:55 +00:00
18d7223297
migrate Consume query
2022-01-13 19:31:46 +00:00
ca32de2dd7
migrate pool graph query
2022-01-13 19:26:15 +00:00
0dca59ac64
migrate metadata history query
2022-01-13 19:25:51 +00:00
c5583c691c
migrate Pool index query
2022-01-13 19:08:34 +00:00
76bb997fe1
start adapting queries
2022-01-13 18:38:51 +00:00
claudiaHash
8838ae533e
Adapt aquarius queries ( #986 )
...
* get aquariusv4 assets
* subgraph url fix
* make asset details work as much as possible
* sort and size fix, comments deleted
* get published assets
* search wip
* page change fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-01-13 18:17:09 +00:00
2e794f51a8
use generateDtName from ocean.js ( #992 )
2022-01-13 17:51:33 +00:00
3bac4a1eb8
fix useGraphSyncStatus error
2022-01-13 17:51:08 +00:00
f6097bf158
remove OceanProvider ( #988 )
2022-01-13 13:15:15 +00:00
329ac9bbc3
shorten NFT symbol
...
* ref #944
2022-01-13 12:07:55 +00:00
181dce9ba5
publish feedback tweaks, make content switching based on price type work
2022-01-12 19:24:49 +00:00
25920b7763
more logging within createTokensAndPricing
2022-01-12 19:05:15 +00:00
5d40121adc
output error messages in UI
2022-01-12 18:02:56 +00:00
bd561a2510
add basic full success state
2022-01-12 18:02:56 +00:00
8a20552268
more styling, button disabling, hack in isContinueDisabled
...
* closes #978
2022-01-12 18:02:56 +00:00
0b97994a9e
spacing, styling, sizing
2022-01-12 18:02:56 +00:00
5f50379f63
tx link tweaks, output tx count beforehand
2022-01-12 18:02:56 +00:00
b139346b35
output transaction links
2022-01-12 18:02:56 +00:00
a65c971ea6
hack in our loader
2022-01-12 18:02:56 +00:00
e5ee3e10c7
working feedback state switching
2022-01-12 18:02:56 +00:00
82dce7e219
more UI elements and copy
2022-01-12 18:02:56 +00:00
claudiaHash
44114345bb
Integrate provider fileinfo ( #965 )
...
* provider functions added
* working validation
* fixes, comments deleted
* lint fix, comment deleted
* fixes over the provider functions integration
* remove unused provider.ts exports
* provider checkFileUrl() integration
* provider encrypt method changes
* use fetch method
* axios request reused
* dependency removed
* getFileInfo fixes
* remove unused const
* function call fix
* use providerUrl form value
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-01-12 17:02:47 +00:00
af99d3bc37
reactivate user balance check
2022-01-11 23:19:38 +00:00
245a604a99
prototype feedback data structure & flow
2022-01-11 23:11:15 +00:00
453458814e
move token & price creation into method
2022-01-11 22:18:33 +00:00
efb4cd5bbd
lint fix
2022-01-11 20:14:04 +00:00
a1c75c94fe
fix preview crash
2022-01-11 20:09:14 +00:00
a084c038c5
merge fixes
2022-01-11 19:58:39 +00:00
38ce25225f
Merge branch 'v4' into feature/publish
2022-01-11 19:49:11 +00:00
64a25f3f3e
use Asset from ocean.js, adapt to new structure
2022-01-11 19:45:14 +00:00
d9b52e6da5
Merge branch 'v4' into feature/publish
2022-01-11 19:06:16 +00:00
b5b0297ae4
refactor for new ocean.js, make the build work
2022-01-11 19:05:07 +00:00
fee5973f81
naming: NftOptions → NftMetadata
2022-01-11 15:40:40 +00:00
c3301fb437
NFT metadata updates
...
* switch to `image_data` instead of `image` key
* add `external_url` & `background_color`
* make following OpenSea standard more clear
* ref #944
2022-01-11 14:52:01 +00:00
a235255cc0
Merge branch 'v4' into feature/publish
2022-01-11 13:23:40 +00:00
e87bdfadfc
activate form validation
2022-01-11 13:13:13 +00:00
9e315a71f1
Merge pull request #960 from oceanprotocol/fix/issue948-remove-dependency
...
Integrate provider isValidUrl()
2022-01-11 13:12:03 +00:00
mihaisc
f576aadbfe
fix service id
2022-01-11 13:03:54 +02:00
mihaisc
7cac17d906
fix publish with pool
2022-01-11 12:57:22 +02:00
ae71ce706a
Merge branch 'v4' into feature/publish
2022-01-11 10:31:08 +00:00
b1399bd579
network metadata updates
...
* move over b2330fdc99
(#980 )
2022-01-11 09:59:44 +00:00
mihaisc
8e60738071
fix publish with pool
2022-01-10 17:49:46 +02:00
ClaudiaHolhos
e716f96d67
removed unused import
2022-01-10 13:06:07 +02:00
ClaudiaHolhos
5050621e28
isValidUrl called directly, extra function removed
2022-01-10 12:13:53 +02:00
mihaisc
c9faca8666
fixes
2021-12-23 14:36:22 +02:00