1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-28 16:47:52 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
Norbi
b8247c7ef4
The Graph sync status (#466)
* WIP

* query update

* quick fix

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* get blocks number when no provider, added threshold

* format code

* naming fix

* show graph out of sync message inside announcement banner

* added loader

* moved sync component

* refactor all the things

* new atoms/AnnouncementBanner : banner component reduced to presentation only, where its content is always passed as props

* revised molecules/NetworkBanner: the former AnnouncementBanner now holds all the specific network detection logic, in the end also returns the atoms/AnnouncementBanner

* new hook hooks/useGraphSyncStatus: move all the graph fetching logic in there so we can use its status in multiple places in the app without all this props passing. This also decouples the SyncStatus component in footer from its logic

* in App.tsx, add the graph sync warning banner in another atoms/AnnouncementBanner, getting its values from the hook

* data flow refactor

* .env.example tweak

* race condition fighting

* subgraph loading

* polygon fallback fix

* no interval fetching

* turn around logic for adding infura ID

* removed graphNotSynched

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-04-13 10:57:59 +02:00
Kris Liew
30b4c77093
feature/add toggle option for fixed & dynamic pricing (#453)
* add toggle for create pricing option variable

* code refactor

* Minor fix from feedback
2021-03-24 20:27:32 +08:00
a760935564
Add Portis wallet connection (#291)
* add portis

* library loading tinkering

* bump packages

* typings fix

* pip as addon

* remove setuptools

* revert typings fix

* modal styling

* show portis button

* provider name workaround

* for faulty getInjectedProviderName()
* fixes https://github.com/oceanprotocol/market/issues/332

* more usage of provider info object

* output respective wallet logos

* add network switcher for Portis

* add functionality

* prototype for portis network switching

* improve user experience when reconnecting to cached provider

* support mainnet only, leave networking switching code commented out
2021-01-29 13:40:54 +01:00
2190a8a9a5
move analytics id to environment variable (#238) 2020-11-10 16:52:26 +01:00
f0c6958154
make network switching work 2020-10-23 13:38:12 +02:00
93179c8c37
metadataStore → metadataCache, package updates 2020-10-13 17:06:40 +02:00
aeb26b89c5
remove marketFeeAmount config 2020-10-12 14:39:42 +02:00
74a2c182e9
make metadataStoreUri part of app config 2020-09-11 16:34:13 +02:00
93f9432032
configurable market fee values 2020-08-05 15:34:12 +02:00
f327ec0e43
network config refactor 2020-07-22 13:56:42 +02:00
69f8a091d8
refactor network config 2020-07-20 17:04:38 +02:00
c7fdd37f56
change DTFactory address 2020-07-20 16:32:38 +02:00
a0e092ed64
cleanup 2020-07-16 15:00:18 +02:00
023ddafd13
change oceanTokenAddress for Rinkeby 2020-07-15 22:40:58 +02:00
ec23f503df
more rinkeby config 2020-07-15 21:33:33 +02:00
e31add9d21
point everything to Rinkeby 2020-07-15 21:19:26 +02:00
f954537929
fix env vars 2020-07-15 13:54:37 +02:00
4c420b65d6
switch metadata store & provider values 2020-07-15 13:54:36 +02:00
a29ec8a219
fix infura env var 2020-07-15 13:54:36 +02:00
7a9e658d03
add infura project id 2020-07-15 13:54:36 +02:00
6d2ac9804a
refactor Ocean config 2020-07-15 13:54:35 +02:00
mihaisc
5f14e431da transactions, job details 2020-06-02 12:15:21 +03:00
alexcos20
ebd5ba9495 first commit 2020-05-07 09:03:30 +03:00