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

48 Commits

Author SHA1 Message Date
Kris Liew
e02babf2c2
[EPIC] Free Pricing (#681)
* Free Pricing Option at create Pricing (#621)

* Free Pricing Option + env var toggle

* Create Pricing step msg

* Default 'allowFreePricing' to true temp for review

* Fix price 0 on free tab

* Attempt fix useSiteMetadata

* Fix linting

* Feature/free price support consume compute (#654)

* Update fetch free price

* Feedback change UI remove 0's

* update button msg && fix

* compute algorithm list show 'Free' instead of '0'

* updateMetadata() v3 workaround solution for free pricing (#677)

* compute algorithm list show 'Free' instead of '0'

* workaround editMetaData free price

* utils function for compute & download

* `allowFreePricing` default to false
2021-06-16 09:32:11 +08:00
a8aebf2fac
set isConsumable to true by default (#523)
* set isConsumable to true by default

* kick out dtUtils, cleanup

* cleanup

* tweak AssetTeaser price check
2021-04-15 13:47:32 +02:00
bdccb0966f
Web3/Ocean splitup + full Polygon/Matic support (#433) 2021-03-17 11:44:26 +01:00
3607084efc
copy 2021-03-01 16:24:55 +01:00
0303c52f3e
copy 2021-03-01 16:17:44 +01:00
f6f6c68428
more fine grained price issues display 2021-03-01 16:08:50 +01:00
Norby
b043eab047
Get pool shares using The Graph (#360)
* added graph query

* fixed negative liquidity value for input error

* used graph to get poolShares

* replaced total pool liquidity with user liquidity, get ddo on row

* get symbol from graph, calculate userLiquidity

* fixed userLiquidity price and sorted table by userLiquidity

* removed ordering by balance

* displayed pool and client liquidity, disabled table header hover

* order Your Liquidity before Pool Liquidity

* removed line height on asset title in pool shares table

* limit table to 5 rows, refactor liquidity comp, changed balance color

* code climate similar blocks fix

* changed lockedValue to valueLocked in pool shares query

* removed husky file
2021-02-10 17:16:24 +02: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
000a369fd2
Blink fixes (#267)
* badge fixes

* button fixes
2020-11-20 09:48:49 +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
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
84746b1027
refined conversion number formatting, add more currencies (#184)
* fix conversion number formatting
* switch to symbol formatting for fiat
* hack in consistent visual symbol formatting
* add more fiat currencies
* no need for custom isFiat regex
* consistent number column formatting
2020-10-31 20:18:45 +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
24cd36b2be
price display tweaks 2020-10-30 14:10:21 +01:00
8fb4f258db
refactor conversion to use PricesProvider 2020-10-28 11:00:06 +01:00
e3bf9a46ac
bump packages 2020-10-19 10:32:41 +02:00
ed02d66609
output total pool liquidity
* convert everything in the pool to OCEAN, then convert to user currency
2020-10-08 17:56:26 +02:00
50accc0065
refactor for new price 2020-10-08 14:32:59 +02:00
88f9c47b8c use browser locale for number formatting 2020-09-22 17:31:33 +00:00
7bae93f42d hack @coingecko/cryptoformat into what we want
* closes #70
* closes #53
2020-09-22 15:24:08 +00:00
067c211258
add eslint-plugin-react-hooks 2020-09-16 11:08:35 +02:00
b03955d618
pool badge for pool prices 2020-09-11 17:29:40 +02:00
acfa0b8d06
refactor to use optional chain expressions 2020-09-10 22:22:16 +02:00
a4510459f1
updates for new @oceanprotocol/react price model 2020-09-10 20:32:30 +02:00
85b0643693
workaround for fiat decimals
* addresses #70
2020-09-10 17:23:10 +02:00
e421667941
configurable currencies 2020-09-10 14:21:10 +02:00
47e8de3bac
refactor price conversion based on user preferences 2020-09-10 13:13:53 +02:00
16fc0aef03
type check fixes 2020-09-02 11:43:15 +02:00
c6307c24bd
better number fallbacks 2020-08-26 09:42:11 +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
49bb90865b
add conversion 2020-08-20 10:55:17 +02:00
e0ca028fc1
price: do nothing when not properly connected 2020-08-19 11:01:59 +02:00
ff06d0c137
token value display tweaks 2020-08-19 00:48:26 +02:00
5a8c864d6c
refactor Price component to be more universal 2020-08-18 19:11:52 +02:00
mihaisc
041a6c63b5 price update when connecting 2020-08-12 16:11:14 +03:00
c8ab797e02
fix run order 2020-08-11 07:51:55 +02:00
8d8336d169
lift price up, handle balance check 2020-08-11 07:34:32 +02:00
fc7de43e16
refetch price on network change 2020-08-10 15:08:37 +02:00
ac156d0ea0
style empty state 2020-08-07 18:20:08 +02:00
76e14be730
refactor price component 2020-08-07 18:12:39 +02:00
086631d108
handle currency value display
* closes #42
2020-08-05 14:11:02 +02:00
991a646dd7
small price on asset teaser 2020-08-05 13:33:48 +02:00
8b4363a866
remove price conversion 2020-08-05 13:11:39 +02:00
8e295034d3
wording 2020-07-31 13:15:00 +02:00
cbee8a714d
lots of pricve refactor, build out advanced UI 2020-07-31 13:15:00 +02:00
ef02919e5e
add conversion, tweak default values 2020-07-31 13:15:00 +02:00
e06e743320
put back price conversion component 2020-07-13 23:45:20 +02:00