Alex Coseru
024af8db81
Add support for Energy Web Chain ( #907 )
...
* add energy web
* add energyweb
* maybe fix that damn git+ssh problem
* remove unneccessary name overwrite
* add Energy Web Chain icon
* fix all datatoken links
* base on ddo.chainId
* check for more networks
* closes #910
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-10-08 11:25:47 +02:00
Alex Coseru
6598071f81
add moonriver support ( #900 )
...
* add moonriver
* bump ocean.js to v0.19.2
* fix network display
* maybe fix that damn git+ssh problem
* specific detection for moonriver in Web3Provider too
* fix code comment link
* fix network switch button for Moonriver
* compute success message tweak
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-10-06 11:30:17 +02:00
Jamie Hewitt
32688892bc
Using optional chaining on the description to solve search bug ( #903 )
2021-10-05 14:19:51 +03:00
Alex Coseru
72a447b3c5
Use latest ocean.js ( #898 )
...
* bump to latest ocean.js
* bump ocean.js
2021-10-04 16:12:14 +02:00
94a31303a7
change market fee address ( #899 )
2021-10-04 09:43:52 +02:00
claudiaHash
b9583edaf5
Add a suggestive message if no network selected ( #884 )
...
* add suggestive message
* message display refactor
* chainIds readded to the dependency list
* visual fix
2021-09-30 16:05:18 +03:00
Norbi
4b34e2f347
Token approval split-up ( #640 )
...
* Token approval component
* check if datatoken approved
* display token amount on button, add approve function
* approve token based on token type
* approve token for trade, remove for pool lequidity remove action
* verify approval on amount change
* show action button only if amount is approved
* catch approve error and stop loadin
* display token amount with 2 decimals on trade token approval
* infinite approval and UI fixes
* fixed alert warning not showing, account id for approve
* wip
* fixed displayed token amount to approve for swap
* token amount text fix
* lint error fix
* package version update
* version fix
* downgrade version
* fixed error for no wallet connected
* update package-lock
* display token name, and changed amount precision
* removed empty file, fixed token switch error
* refactor for better user experience
* move content
* ExplorerLink console error fixes
* UI tweaks
* slightly changed button logic
* fix Trade form approvals
* cleanup
* don't block add liquidity button
* merge fixes
* hook dependency cleanup
* dtItem fix, error fixes based on asset network match
* disable action button if field is not valid, undefined trade tokens
* fix infiniteApproval user preference saving
* remove unneccessary string conversion
* used Decimal for dtAmount and oceanAmount
* changed token spender address
* bump ocean.js to vo.17.5
* fix lint
* replace Number with Decimal
* fix getting to add liquidity screen without wallet connected
* fix crash when switching coins after value input
Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2021-09-30 12:54:44 +02:00
Norbi
9b3cb3963e
Data assets not updating properly when selected networks are changed in home page ( #889 )
...
* removed dependencies
* fix lint error
* removed appConfig
2021-09-30 10:26:00 +03:00
Norbi
e15169219f
Incorrect title message on search assets page ( #882 )
...
* fixed search title
* change searchValue check
2021-09-30 10:18:24 +03:00
Bogdan Fazakas
6378b90a77
Merge pull request #886 from oceanprotocol/fix/consume-condition
...
Fix isDisable condition on consume button
2021-09-29 12:13:38 +03:00
Bogdan Fazakas
9966fd3778
fix isDisable condition on consume button
2021-09-28 10:29:22 +03:00
mihaisc
de5dbcaa05
Fix published assets ( #878 )
...
* fix page
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix page search
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* use component state for page on pagination instead of the returned page
* fix returned page
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* put back queryResult.page
* Update src/utils/aquarius.ts
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
* lint
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2021-09-27 15:43:12 +03:00
Bogdan Fazakas
dfb96c0913
Fix/ Issue872 search breaks page filter combo ( #873 )
...
* fix filter + pagination issue on search page
* fix lint issues
2021-09-27 10:16:32 +02:00
Bogdan Fazakas
579b213160
Fix/ Put back filters published page ( #867 )
...
* put back filters on published page
* fix filter + pagination issue on published asset tab
* renamed isSearch prop and made it optional
2021-09-27 10:16:14 +02:00
Jamie Hewitt
9b92c524c3
Removing 'Downloads' statistic on profile page ( #875 )
2021-09-27 10:15:57 +02:00
mihaisc
fdac6d8039
Small refactors & optimizations ( #863 )
...
* proper cancelation
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix more leaks
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove redundant check
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix consume
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix assetactions
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix consume
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove unnecessary usage of ocean
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* small fixed in profile
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
2021-09-24 13:56:42 +02:00
mihaisc
aee246cf7a
fixed search syntax ( #874 )
...
* fixed search syntax
* fixed query structure
* fix search structure
* fix fetch algos
* fix published query
* fix published
* fix
2021-09-24 13:32:14 +02:00
mihaisc
bf03a62f49
Bump aquarius version ( #837 )
...
* sort, update models/queries
* fix cancelation token
* remove console.log
* remove searchquery type
* fix canceltoken
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove aquarius2
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump lib
* fix type
* remove QueryString
2021-09-24 02:38:32 -07:00
Norbi
ae229d1698
Fix scrollbar showing on table on large screens ( #866 )
...
* changed min width of table cell
* make scrollbar thin on Firefox
* changed min-width value and component selector
2021-09-23 10:44:24 +02:00
db5b892e23
Merge pull request #774 from oceanprotocol/feature/account_page
2021-09-22 18:05:17 +02:00
212865110e
ENS names ( #860 )
...
* prototype getting ENS names
* get ENS name with subgraph
* ENS name for publisher line
* inject ENS name in profile page
* refactor to cover all use cases for profile URLs
* fixes for switching between own and other profiles
* remove testing ENS libraries
* more cleanup
* any solves everything
* build fix
* more profile switching tweaks
* link publisher line to ens name
* another profile switching fix
* show ENS link in meta line
2021-09-20 13:47:15 +02:00
Norbi
8cca002279
Fix display 0 value as description ( #861 )
...
* fixed return 0 value
* lint error fix
2021-09-16 19:45:27 +02:00
Norbi
56993904cf
Error when switching to a network that is not added in Metamask ( #846 )
...
* use nodeUri instead of providerUri
* get rpc node from query
* remove ocean config
* fix and complete data for new network config
2021-09-16 19:44:34 +02:00
Norbi
0eb6c15cda
Fix pagination breaks on to many results ( #831 )
...
* handle to many results
* update search test
* get transaction history based on ddo chainId
* revert last commit
* changed title and description
* reduce paragraphs
* added constant for maximum number of pages
2021-09-15 12:50:41 +02:00
15a29bcb01
roll back search filter refactor for published list
2021-09-15 12:28:35 +02:00
eacd0c56a0
Merge branch 'main' into feature/account_page
2021-09-15 12:22:21 +02:00
Bogdan Fazakas
ddb9656270
remove chainId as a dependecy on sales and liquidity in own assets useEffect ( #854 )
2021-09-15 12:14:09 +02:00
claudiaHash
969ac96417
Add service filters download and compute to the existing filters ( #817 )
...
* filter tags added, filter functionality linked
* filter tag selection fix
* deselect filter fix, logs deleted
* use single filter function
* delete unused functions and logs
*   replaced
2021-09-14 18:18:15 +03:00
032606e61c
add total user liquidity, new Profile provider ( #841 )
...
* label renaming, add total user liquidity
* new useProfile provider
* centralize pool shares fetching
* add some assets fetching to profile provider
* move 3box profile fetching, check passed accountId
* cancel token fixes
* remove publisher on published assets list
* more cancel token fixes
* prevent asset name double fetching in pool shares
* prevent asset name double fetching in downloads
* prevent asset name double fetching in pool transactions
* more cancel token fixes
* refetch crash fix
* another pool shares refetch fix
* pool transactions data flow refactor
* Add total downloads, speed up downloads fetching (#849 )
* add total downloads
* replace multiple retrieveDDO with one single request
* getAssetsFromDidList() helper
* fix mixed up timestamps
* data structure based on tokenOrders
* add logging
* add tooltip to downloads, small NumberUnit refactor
* safeguard against passed empty didList
* deal with plural/singular in labels
2021-09-13 16:39:32 +02:00
Norbi
421d5981e6
Fix issues consuming free assets ( #834 )
...
* get order history based on ddo chainId
* disabled consume when not connected to wallet, refetch orders on connect
* disable create price button if not assetNetwork
* get previous orders on order action
2021-09-13 16:14:43 +02:00
Norbi
e19c918ed5
Fix title out of bounds in asset teaser component ( #850 )
2021-09-13 12:40:51 +02:00
Norbi
c0d064fe10
fix set oceanSymbol in bestPrice ( #848 )
2021-09-10 21:30:01 +02:00
Bogdan Fazakas
5a336bd699
Fix Profile sold value ( #840 )
...
* update profile sold value logic
* remove commented block
2021-09-07 12:11:13 +02:00
c9f56e9a46
no loading spinner on refetch pool shares
2021-09-06 12:38:14 +02:00
852e71f17a
fix pool shares network switching, always refetch everything
2021-09-06 12:32:16 +02:00
f3c5812ef1
file reorg
2021-09-03 15:06:21 +02:00
4def756c8d
fix pool transactions setup title, kinda
2021-09-03 14:55:53 +02:00
6d7ca84056
published spacing tweaks, search filters renaming
2021-09-03 14:50:09 +02:00
1a54dda59c
more cleanup and typos
2021-09-02 19:49:21 +02:00
fe065aea58
small PoolShares refactor
2021-09-02 19:35:49 +02:00
30f262de33
Merge branch 'main' into feature/account_page
2021-09-02 18:51:56 +02:00
mihaisc
b5afccbb49
Add symbol for fixed rate exchange ( #835 )
...
* add symbol for fre
* add symbol to fre
* update symbol in swap
2021-09-02 08:01:25 -07:00
65944d0861
more token query changes
2021-09-02 16:55:10 +02:00
1644b79cb2
fix pool transactions symbols for swap tx, kinda
2021-09-02 16:33:32 +02:00
992c8ac33c
change IPFS gateway for loading image
2021-09-02 13:35:06 +02:00
6e0902f5d3
typings & typos
2021-09-01 17:52:17 +02:00
7965b74302
Merge branch 'main' into feature/account_page
2021-09-01 16:18:41 +02:00
Norbi
4123dae431
fix ocean symbol on Polygon ( #487 )
...
* updated Price component
* fixed on Pool Shares
* fixed on Pool
* fixed on Trade
* removed hardcoded data
* temp fixes
* fixes for subgraph2
* fixed token symbol in price for pools
* remove console.log
* remove comment default symbol
* remove temp values
* add tokens to query
* add token symbol
* remove console.log
Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2021-09-01 07:05:59 -07:00
b2bec2abe4
more getComputeJobs refactor
...
* move to compute utils
* abstract out more loops into separate methods
* fix results display
2021-09-01 16:03:52 +02:00
e3900e8326
more ComputeJobs refactor
2021-09-01 15:15:25 +02:00