1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-30 05:41:41 +02:00
Commit Graph

30 Commits

Author SHA1 Message Date
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
claudiaHash
9b0590384c
message changed for no network selected (#809) 2021-08-24 16:43:56 +03:00
Norbi
65194696d3
Handle asset price in teaser (#596)
* used price from subgraph for asset teasers

* moved loading component inside AssetList

* replaced any with proper types inside subgraph utils

* fixed loading component displayed when empty assets or prices list

* show loading component when refetching data on sort and filter

* get each asset price before displaying the component, loading changes

* refactoring functions for getting asset prices

Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-17 17:08:15 +03:00
Norbi
fe67af2dda
added pagination to Published list, used aquarius to get assets (#377)
* added pagination to Published list, used aquarius to get assets

* loading only when component mounts

* pagination style unification

* Auto stash before merge of "feature/add-pagination-to-published-section" and "origin/feature/add-pagination-to-published-section"

* removed unnecessary code

* fixed lint errors

* code climate fixes

* removed unused component

* added hook for network switch

* display bottom border for last table row

* trigger pagination calculation on network change

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-02-18 09:33:38 +01:00
53d984a3b6
Fix development with Barge (#369)
* add contracts copying script

* AssetList failsafe against unexpected Aquarius responses

* grab dev contract addresses from address.json

* script fix

* fix auto-connection in NetworkMonitor

* update dev instructions

* remove the last_block Aquarius workaround

* fix providerUri switch in file input
2021-02-10 12:08:59 +01:00
Norby
1f72fd3951
Feature/asset list isolated pagination (#356)
* isolated pagination using query

* made pagination hrefBuilder prop optional

* mad query prop optional, fixed TransactionHistoryPool import error

* removed pagination and url logic outsite AssetQueryList

* renamed AssetQueryList to AssetList, changed props

* used navigate from gatsby
2021-02-05 14:00:30 +01:00
0065d7b3da
Pool shares list (#163)
* refactor

* pool shares component

* bump ocean.js

* output shares and prices

* styling

* refactor

* bump ocean.js

* bump react hooks
2020-10-29 15:12:05 +01:00
eae81505f6
remove metadataCacheUri output from empty messages
* closes #134
2020-10-29 12:00:10 +01:00
93179c8c37
metadataStore → metadataCache, package updates 2020-10-13 17:06:40 +02:00
c460904903
Merge pull request #68 from oceanprotocol/feature/history
History page
2020-10-01 17:34:15 +02:00
1aac244329
case fix 2020-10-01 17:13:19 +02:00
ea9ebdc23f
fix asset list empty fallback
* seems aquarius returns `total_results: 1` when there are no `results`
2020-10-01 13:13:33 +02:00
acfa0b8d06
refactor to use optional chain expressions 2020-09-10 22:22:16 +02:00
5b36da54d2
fixes 2020-09-10 19:33:11 +02:00
a7dc94f219
get config dynamically from useOcean in all components 2020-08-11 15:56:13 +02:00
3ab8ae198f
output price on asset teaser 2020-08-05 11:18:05 +02:00
bf0375f58f
more config refactor 2020-07-22 13:43:20 +02:00
fd3a436a31
more config refactor 2020-07-22 12:20:55 +02:00
c19cdcd9da
fix most metadata typings 2020-07-16 13:39:02 +02:00
2b90f0b08e
restore pagination 2020-07-15 16:05:10 +02:00
77db807ae8
more search loading interaction tweaks 2020-07-15 15:47:25 +02:00
8c7d2b7891
spread appConfig into siteMetadata for use in GraphQL 2020-07-15 15:09:50 +02:00
532d84426f
DRY refactor, use AssetList component 2020-07-15 13:54:37 +02:00
7b6cb91410
kick out squid-js, replace with lib 2020-07-15 13:54:35 +02:00
7980d2fa4b
output asset teasers, basic styling 2020-07-07 23:00:16 +02:00
6f711db290
add providers with wrapRootElement 2020-07-01 18:57:10 +02:00
ff949c6a67
search & asset teaser refactor 2020-07-01 18:13:32 +02:00
9cc38304c8
layout component & site metadata refactor 2020-06-30 11:59:20 +02:00
38ccfc635e
refactor for Gatsby, update all the things 2020-06-30 11:28:49 +02:00
alexcos20
ebd5ba9495 first commit 2020-05-07 09:03:30 +03:00