1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-12 00:04:52 +01:00
Commit Graph

207 Commits

Author SHA1 Message Date
bdccb0966f
Web3/Ocean splitup + full Polygon/Matic support (#433) 2021-03-17 11:44:26 +01:00
Bogdan Fazakas
a4f4de84fd
add sample file to edit metadata form (#419)
* add sample file to edit metada form

* bump oceanjs to 0.11.2

* retrigger checks

* added updated package-lock.json

* bump react hooks to 0.5.4

* bump ocean.js to 0.11.4 and react hooks to 0.5.5
2021-03-09 17:52:40 +01: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
ad864cc249
Dev experience tweaks (#354)
* add VS Code workspace settings

* add everything required for auto-formatting on filesave
* add list of suggested extensions

* add pre-commit hook for `npm run format`

* update code style docs

* make pre-commit work

* update docs

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-01-28 17:28:32 +01:00
mihaisc
05035d3cdc
remove ga (#345)
* remove ga

* remove from package
2021-01-28 14:11:08 +02:00
7b854e09dd
bump ocean libraries, vulnerability bumps (#329) 2021-01-21 17:04:49 +01:00
mihaisc
273769388c
Pool statistics from the graph (#288)
* graphql

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

* ignore generated

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

* delete generated

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

* fix travis

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

* fix travis

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

* fix fetch

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

* fix travis

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

* fix fetch

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

* update readme

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

* pool creator liquidit& statistics

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

* graph with the graph

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

* cleanup

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

* fix query

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

* update poll interval

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

* update graph url

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

* ocean bump

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

* run apollo codegen before starting gatsby

* put back graph loading state

* typing fix

* graph tweak, add error state

* readme update

* remove unused functions, move graph provider

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

* fix package-lock

* fix graph when switching tabs

* generate apollo files into one folder

* fix loading

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

* fix codegen camelcase

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

* bump apollo packages

* document subgraph usage, add example

* rewrite into Data Sources, add quick examples

* more data sources docs

* docs updates, typos

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-21 16:02:48 +01:00
b3b2ea9777
bump ocean.js & react hooks (#327)
* bump ocean.js

* adapt changes

* bump @oceanprotocol/react

* edit metadata tweaks
2021-01-19 14:34:52 +01:00
07f30108a7
package updates (#319)
* package updates

* bump lib & react

* 'fix' typing error

* seems Yup.SchemaOf does nos correctly handle Partial<Type>
2021-01-13 18:43:59 +02:00
de1bc11efe
add ropsten to network detection utilities (#294)
* add ropsten to network detection utilities

* mention ropsten in publish warning

* bump @oceanprotocol/lib
2020-12-11 18:30:51 +01:00
b2f1af6e87
package updates and fixes (#296)
* package updates and fixes

* yup update for edit form
2020-12-10 15:28:46 +01:00
c57731cd0b
restore WalletConnect (#290)
* restore WalletConnect

* bump @oceanprotocol/react

* visual fixes for walletconnect modal
2020-12-03 14:54:14 +01:00
mihaisc
dac47bf524
3Box publisher profiles (#264)
* install 3box

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

* tinkering

* check tweak

* load library on init only

* add profile

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

* get 3box profile

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

* fix return type

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

* remove console.log

* fix travis

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

* fix eslit

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

* fix travis

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

* 3box data structure tweaks, prepare output in byline

* refactor

* new Publisher component

* tweaks

* remove data partners

* link/profile splitup

* profile tweaks

* component splitup

* lots of styling, add image

* affordance for publisher, refactor, server response tinkering

* use 3Box proxy

* open all 3box links in new tab/window

* mobile fixes

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-27 12:04:35 +01:00
mihaisc
35d9b6faec
price optimizations and bug fixes (#274)
* price optimizations and bug fixes

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

* travis fix

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

* remove console.log

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

* rephrasing

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

* bump react hooks, show price while checking if consumable

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

* remove console.log

* fix travis
2020-11-26 16:02:42 +01:00
mihaisc
b5a11d6d0f
Handle price fetching better (#265)
* fix price refresh, add AssetProvider

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

* price comment

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

* fix trade

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

* fix trade

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

* fix pool liquidity

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

* fix AssetProvider

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

* fix

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

* fix import

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

* remove console.log

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

* pool refresh fix

* simplify, logging

* handle errors

* cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-20 14:31:28 +01:00
97ec21d2e0
404 page (#268) 2020-11-19 21:55:16 +01:00
bdd9f92d07
bump @oceanprotocol/lib 2020-11-16 18:12:49 +01:00
mihaisc
bb80c4df78
Swap tokens (#204)
* swap

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

* validation and calculation

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

* refactor

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

* remove unused effect

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

* fix interval

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

* increase refresh timer, remove optional params

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

* make inputs show up without wallet

* style fixes

* restyling

* styling

* more styling

* fix refresh price

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

* remove test effect

* fixes, get data as early as possible from DDO and initial state

* refactor

* refactor

* refactor

* label tweaks

* copy

* typo

* prototype output

* remove price header

* ouput swap fee

* fix

* spacing

* copy

* refactor pool transaction titles

* copy

* update math

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

* use messaging tweaks

* tab tweaks, output refactor

* fix dark mode selection style

* prototype output

* method tweaks

* slippage to 1%, added warnig banner

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

* form tweaks

* error fix

* empty inputs by default

* longer intervals

* maxOcean validation fix

* slippage tolerance UI

* modified slippage UI

* refactor, refresh ocean user balance

* move typings/models around

* typing fix

* fixed output values

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

* bump oceanlib

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

* remove console.log

* remove placeholder

* tweak

* non-web3 browser tweak

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-16 16:21:15 +01:00
461fcaf8ae
Liquidity & price history graph (#248)
* graph prototype

* switch items

* liquidity history graph prototype

* more graph styling

* epoch times conversion

* get data in root component

* redraw fix

* more graph styling

* loading fix

* re-render fixes

* re-render fixes

* new Aquarius responses

* price graph and switch buttons

* spacing tweaks
2020-11-16 15:10:33 +01:00
mihaisc
f8a0ff41c3
purgatory updates (#249)
* purgatory updates

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

* format

* update react hooks

* alert style, copy changes

* remove inverse style

* disable remove for purgatory owner

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

* remove buy button for purgatory assets

* hide remove liquidity for owner

* query change

* query rollback

* query change

* query change

* query change

* change frontpage queries

* typings

* query refactor, make `all data sets` link work again

* footer fix

* test endpoint for stats

* fix pagination

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

* partner query tweaks

* switch back market-stats endpoint

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-14 15:02:54 +01:00
724cd8db3d
bump @oceanprotocol/list-datapartners (#241) 2020-11-11 18:37:30 +01:00
ad28f866e9
package updates (#223) 2020-11-09 09:58:39 +01:00
049cccb189
bump @oceanprotocol/list-datapartners (#221) 2020-11-06 18:57:43 +01:00
ad107c5415
Data Partners (#214)
* datapartners prototype

* output partner name on asset teasers

* badge, output partner data

* deprioritize pool badge

* teaser spacing tweaks

* styling

* carousel pattern

* carousel fixes

* styling tweaks

* cleanup, useDataPartner hook

* large screen fixes

* add partner badge to all data set list titles

* byline links tweaks

* byline tweaks

* switch list data source

* fixes, link to https://github.com/oceanprotocol/list-datapartners

* refactor

* refactor
2020-11-05 14:43:13 +01:00
300aedc856
first aggregated stats (#203)
* first stats

* styling

* url change, error catching

* styling, more output

* refactor, refetch every 10 sec when in viewport

* copy

* add axios cancel token

* cancel token logging
2020-11-04 13:06:51 +01:00
3505db21da
Owner/publisher search (#187)
* make owner search work

* owner/publisher search from asset details

* copy & cleanup

* style tweaks

* timing

* make search combinations work again

* remove account search highjacking

* switch owner source

* search route fixes

* eth address truncation in text search titles
2020-11-03 14:57:40 +01:00
cf3f406547
Dark Mode (#182)
* refactor CSS custom properties for dark mode

* dark mode style

* dark mode switching

* config tweaks
2020-10-30 21:28:20 +01:00
d5c217dc46
disable baseUrl 2020-10-30 16:31:22 +01:00
2ec825d255
table display tweaks 2020-10-29 20:42:21 +01:00
mihaisc
d8dfe88e2a
refresh price and pool info (#164)
* refresh price and pool info

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

* lib update

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

* remove unused dependencies

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

* remove console.log

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-29 15:53:27 +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
7e856a5eb7
package updates 2020-10-28 13:48:26 +01:00
071d811cd9
bump ocean libraries 2020-10-27 21:37:52 +01:00
mihaisc
70caeb5d80
fixed price and gas estimate
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 19:56:14 +02:00
3b5b6d56c9
v1.0.0 2020-10-27 16:08:42 +01:00
a467bffeb8
add gatsby-plugin-google-analytics 2020-10-27 10:24:24 +01:00
8a8484deb3
bump libraries 2020-10-26 15:56:52 +01:00
d78a2345f5
bump @oceanprotocol/react 2020-10-23 15:48:03 +02:00
f9028b1a2e
bump @oceanprotocol/lib 2020-10-23 15:23:50 +02:00
060d363720
bump packages 2020-10-23 13:37:44 +02:00
Alex Coseru
0f092c6df3
Merge branch 'main' into feature/history-compute 2020-10-22 16:25:54 +03:00
alexcos20
464b252c2b bump ocean-lib to 0.7.5 2020-10-22 06:24:28 -07:00
ff1ddb65d6
bump @oceanprotocol/react 2020-10-22 12:50:27 +02:00
9c0209c11d
switch modal component to the one from site 2020-10-22 12:22:38 +02:00
c828c9d134
bump packages 2020-10-22 11:30:52 +02:00
82853d3a81
bump packages 2020-10-22 11:13:25 +02:00
577421cee7
bump ocean.js 2020-10-21 17:31:34 +02:00
cc2474419b
package updates 2020-10-21 15:45:38 +02:00
b48435788c
package updates 2020-10-21 14:37:18 +02:00
74ebdd517e
bump ocean.js 2020-10-21 11:36:57 +02:00
e3bf9a46ac
bump packages 2020-10-19 10:32:41 +02:00
93672ac14a
package updates, lock to ocean.js v0.6.2 for now 2020-10-15 12:19:14 +02:00
abc70b9cae
bump ocean.js 2020-10-14 18:21:47 +02:00
c1a0134c0a
bump ocean.js, totalSupply update 2020-10-14 10:36:16 +02:00
93179c8c37
metadataStore → metadataCache, package updates 2020-10-13 17:06:40 +02:00
c3c5ee6d0c
bump @oceanprotocol/react 2020-10-09 22:06:01 +02:00
18fa4dd2bc
package updates 2020-10-09 21:29:15 +02:00
50accc0065
refactor for new price 2020-10-08 14:32:59 +02:00
da0cafe5a0
asset teaser tweaks 2020-10-05 16:14:59 +02:00
22a45ec21e
new publish feedback UX 2020-10-05 15:03:21 +02:00
3f4590fe90
package updates 2020-10-05 12:26:15 +02:00
68ed8fd348
chainId → networkId 2020-10-02 13:41:00 +02:00
da457d3d4a
fresh package-lock 2020-10-01 16:34:14 +02:00
feb29924c7
empty state tweaks 2020-10-01 15:12:14 +02:00
0e55d3434d
bump packages 2020-09-30 18:57:08 +02:00
fcc8bc2896
table styling 2020-09-30 18:22:08 +02:00
f80f93489b
publish fix 2020-09-29 17:18:46 +02:00
ee9ed5b0fa
bump libraries 2020-09-29 15:32:14 +02:00
762fe9809e
package updates 2020-09-29 13:46:03 +02:00
da5ef5d5fc downgrade and lock @loadable/component 2020-09-22 14:45:14 +00:00
60374d4ffe bump @oceanprotocol/react 2020-09-22 12:46:45 +00:00
bf0a75db0b
package updates 2020-09-22 13:47:55 +02:00
126e11428d
downgrade and lock @loadable/component 2020-09-16 11:20:40 +02:00
067c211258
add eslint-plugin-react-hooks 2020-09-16 11:08:35 +02:00
350ad32e05
package updates 2020-09-16 11:00:35 +02:00
a4510459f1
updates for new @oceanprotocol/react price model 2020-09-10 20:32:30 +02:00
804cb3c7f1
package updates 2020-09-10 16:55:50 +02:00
77854bdc8a
package updates 2020-09-09 16:39:59 +02:00
b154cfc2ac
publish updates 2020-09-09 14:35:56 +02:00
6865fae4a8
package updates 2020-09-08 13:41:14 +02:00
336734bb77
package updates 2020-09-01 10:50:22 +02:00
53f02b3758
package updates 2020-08-28 18:53:09 +02:00
3170fb512c
Merge branch 'main' into feature/balancer 2020-08-28 17:34:15 +02:00
mihaisc
dfccd101f7 added local persist 2020-08-27 13:30:36 +03:00
2fd4b59adf
pool token updates 2020-08-20 18:37:12 +02:00
9e37127360
useMetadata fixes 2020-08-20 16:59:17 +02:00
e114c3f650
refactor for new useMetadata 2020-08-20 14:22:32 +02:00
00f02729e1
package updates 2020-08-19 18:10:40 +02:00
0570d30596
lib updates 2020-08-19 14:39:33 +02:00
b114d7c529
package updates 2020-08-18 12:56:06 +02:00
5e11e6507c
package updates 2020-08-17 09:47:29 +02:00
mihaisc
041a6c63b5 price update when connecting 2020-08-12 16:11:14 +03:00
mihaisc
30906e63b4 hooks update, network monitor 2020-08-11 14:13:27 +03:00
a3d98477ee
package updates, handle empty price 2020-08-06 13:00:22 +02:00
mihaisc
9cd441c483 Merge branch 'main' into feature/consume 2020-08-05 15:21:31 +03:00
086631d108
handle currency value display
* closes #42
2020-08-05 14:11:02 +02:00
mihaisc
581e9d05d6 Merge branch 'main' into feature/consume 2020-08-05 12:24:00 +03:00
mihaisc
d85be21b87 update hooks and publish 2020-08-05 12:22:39 +03:00
5c312e4784
package updates 2020-08-05 10:14:50 +02:00
a13a54d514
package updates 2020-08-03 19:36:06 +02:00