1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-29 00:57:50 +02:00
Commit Graph

828 Commits

Author SHA1 Message Date
f843641a45
More helpful output for Add Liquidity (#277)
* prototype

* add copy

* value update fixes

* calculation fun

* move copy

* move copy

* cleanup

* use Decimal

* fix

Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2020-12-02 12:44:07 +01:00
mihaisc
54feaebc5a
fix consume (#285)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-12-02 12:10:12 +02:00
26576fd188
Profile tweaks and fixes (#278)
* output emoji beside name

* spacing tweaks, fix tooltip arrow
2020-12-01 13:16:19 +01:00
fdf518401c
fix cropped graph on mobile (#276) 2020-12-01 11:42:49 +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
a7a29a6c63
fix AssetListTitle (#270)
* fix AssetListTitle

* asset provider fix
2020-11-23 15:46:49 +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
7325e093ad
refactor transaction titles (#266)
* refactor transaction titles

* refactor

* refactor

* bump @oceanprotocol/lib

* shorter getTitle

* remove util duplicate

* table tweaks
2020-11-20 11:29:42 +01:00
000a369fd2
Blink fixes (#267)
* badge fixes

* button fixes
2020-11-20 09:48:49 +01:00
97ec21d2e0
404 page (#268) 2020-11-19 21:55:16 +01:00
ed57702ff3
refactor root components (#263)
* refactor layout

* refactor

* root components reordering

* type-check fix
2020-11-18 20:01:33 +01:00
2437b72ea3
directly hit Aquarius API for front-page queries (#262)
* directly hit Aquarius for front-page queries

* refactor, use custom queryMetadata util

* parallelize front-page queries
2020-11-18 17:51:42 +01:00
476d13f009
optimize Bookmarks query (#259) 2020-11-17 14:52:10 +01:00
225613745c
hit Aquarius only when config is present (#258)
* hit Aquarius only when config is present

* more checks
2020-11-17 14:21:29 +01:00
7f2a5e7515
refresh interval tweaks (#257) 2020-11-17 13:10:12 +01:00
mihaisc
fa7de2eeb4
Fix trade (#253)
* oceanlib verbose

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

* fix

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

* round 20

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

* round 10

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

* round 5

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

* round 5

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

* round 5

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

* round 5

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

* debug

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

* bump lib

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

* decimal 15

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

* fix

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

* remove verbose

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-16 21:45:35 +02:00
bdd9f92d07
bump @oceanprotocol/lib 2020-11-16 18:12:49 +01:00
3517ef845e
typo 2020-11-16 17:12:53 +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
mihaisc
95d62024bd
Update package.json (#246) 2020-11-13 12:44:39 +02:00
brucepon
e9f8a2a50f
Update terms.md (#245)
Added Purgatory clause.
2020-11-13 09:48:44 +01:00
Alex Coseru
55265cd050
Feature/s3 deploy (#243)
* Create deploy.sh

* Update .travis.yml

* Update package.json

* make deploy.sh exec

* Update deploy.sh

* Update .travis.yml

* Update deploy.sh

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-12 19:20:52 +02:00
0c0e15896c
netflify badge, deployment docs update 2020-11-12 16:41:40 +01:00
ad18926556
repo metadata for netlify 2020-11-12 15:32:19 +01:00
d87e8dacb4
netlify rewrite rules (#244)
* netify rewrite rule

* copy redirects file after build

* rewrite
2020-11-12 15:15:41 +01:00
724cd8db3d
bump @oceanprotocol/list-datapartners (#241) 2020-11-11 18:37:30 +01:00
241f6c0df6
markdown render fixes (#239) 2020-11-11 19:00:07 +02:00
2190a8a9a5
move analytics id to environment variable (#238) 2020-11-10 16:52:26 +01:00
a19e7bca04
Default weight change to 70/30 (#211)
* dt weight tests

* update weights

* validation and defaults tweaks
2020-11-10 13:52:02 +01:00
eabb696f49
Remove slider quick wins (#222)
* make max display into max button

* effect refactor, get amountOcean as early as possible

* fix slider styles in Chrome

* max button fixes

* fix debounce

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

* remove console.log

* lower threshold

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-10 09:50:05 +01:00
9f211a14d9
output weights in pool statistics (#218)
* output weights in pool statistics

* switch to more simple output

* output weights only when present
2020-11-09 17:49:09 +01:00
b3510230e9
More footer data (#224)
* output total datatoken liquidity in footer stats

* add build id to footer

* write out repo metadata before build

* build tweaks

* add title

* refactor
2020-11-09 14:31:04 +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
d47fd97536
fix pool share links (#220) 2020-11-06 16:56:22 +01:00
66984a575a
dark mode fixes (#216) 2020-11-05 21:49:31 +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
mihaisc
b55362f309
incorrect link type (#215)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 13:12:45 +01:00
mihaisc
35fd83de73
fix download button (#213)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 12:56:41 +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
Trent McConaghy
40ebb7106d
small test
(checking permissions)
2020-11-03 16:27:16 +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
3974e4a9a3
Context warnings, more terms links (#199)
* move general banner to publish screen

* modify main banner

* move banner contents into content files

* simple footer links

* consistent links

* specificity
2020-11-03 14:17:21 +01:00
8f1cde9c90
icon tweaks (#200) 2020-11-03 13:19:47 +01:00
79e76dddb0
fix min validation input bug (#195)
* fix min validation input bug

* tweak pool transactions number output so 0.00001 shows up
2020-11-02 20:24:58 +01:00
be8307f34d
User pool transactions on asset details (#193)
* refactored pool transactions component, output pool transactions on asset details

* styling

* remove sticky around asset actions

* hasAddedLiquidity simplification

* owner from useMetadata

* refactor, styling, number formatting

* refactor

* toggle pattern
2020-11-02 19:18:21 +01:00
a5b7c66331
re-fetch pool numbers every 10 sec. (#191)
* re-fetch pool numbers every 10 sec.

* visual indicator

* refresh values on remove screen

* show indicator only when ocean connected

* put back await
2020-11-02 11:58:05 +01:00