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

57 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
Norby
a2fe2fdee0
Set, edit, and display timeout (#324)
* added timeout to publish asset

* add timeout to edit asses(wip)

* added timout to edit metadata form

* fixed wrong constant name

* fix options autosorting

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

* Fixed autosorting in edit form

* Added "1 day" to timeout options

* Changed ternary operators to switch

* Feature/asset timeout (#325)

* Compute asset timeout

* Code styled

* Deleted unused import

* Display timeout for buy/download

* Switch case for timeout values

* Moved mapping function to /utils/metadata

* display timeout option not matching defined ones, map seconds to string

* handle update with no predefined timeout value, add weeks to map method

* Display timeout on button

* consume button text logic change

* whoops, revert wrong change

* small millisecondsToStr refactor

* copy tweaks

* template literal logic restore

* keep tweaking help text logic

* abstract into method
* change whole condition logic
* tweak hasDatatoken/hasPreviousOrder combination condition

* Unified seconds to string conversion methods

* getHelpText tweaks, small refactor

* copy editing, limit hardcoded timeout list

* fix mixup of map & filter

* use Timeout as label and be done with it

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: claudiaHash <49017601+claudiaHash@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Claudia Holhos <clawww1996@gmail.com>
2021-01-22 17:12:48 +01: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
960c5b3234
Update metadata, the proper way (#292)
* prototype view switching

* refactor, more UI

* formik form setup & data flow

* debug output, fixes, refactor

* description preview refactor

* publish/update date changes

* output created & updated date at top of asset
* use ddo.created & ddo.updated everywhere
* stop pushing metadata.main.datePublished

* owner check for edit link

* all the feedback states and switching between them: loading, error, success

* refactor feedback, one component for publish & edit

* action & date output fixes

* move all content, iterate form fields from it

* UI updates

* styling tweaks

* ddo dataflow refactor, more useAsset usage

* more useAsset usage

* form actions styling

* prepare edit history component

* metadata output tweaks

* copy

* safeguard against profile urls without protocol defined

* refetch ddo after edit

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

* switch author for dataTokenOptions in metadata preview

* refactor

* copy

* showPricing fix

* validation: minimum characters for title & description

* disable submit button when validation fails

* form validation fixes

* manually trigger onChange validation in publish & edit forms

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-12-10 14:30:40 +01:00
5824d35ef7
move purgatory asset warning and hide most metadata (#287)
* move purgatory asset warning, hide most metadata

* move copy, less metadata

* refactor

* move copy

* delay fix
2020-12-02 14:37:01 +01:00
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
97ec21d2e0
404 page (#268) 2020-11-19 21:55:16 +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
brucepon
e9f8a2a50f
Update terms.md (#245)
Added Purgatory clause.
2020-11-13 09:48:44 +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
d6ad504c51
fix canonical siteUrl 2020-10-31 17:49:07 +01:00
e96d782917
Add warning to Add Liquidity screen (#177)
* refactor add form, warning component

* dismissable alert

* prototype default warning screen

* add copy, finalize styling

* remove dismiss x
2020-10-30 13:31:27 +01:00
00660ec970
more precise datatoken input explanation 2020-10-29 17:09:20 +01:00
mihaisc
f9f08ecb61
Merge branch 'main' into fix/removeLicense 2020-10-27 14:02:57 +02:00
mihaisc
be005e0936
remove license
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 13:56:43 +02:00
mihaisc
74bf694031
Update terms.md 2020-10-27 13:34:59 +02:00
Alex Coseru
cea02eb6b7
Update terms.md 2020-10-27 13:32:09 +02:00
mihaisc
44e6c125fd
Update terms.md 2020-10-27 13:29:47 +02:00
7113db6419
metadata display tweaks 2020-10-24 17:01:04 +02:00
Manan Patel
fc0cec5f6a
minor corrections
some minor corrections in brand name
2020-10-24 13:49:07 +02:00
mihaisc
9854a9c01d
remove compute from publish
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 15:42:25 +03:00
f10859dfad
copy 2020-10-21 14:58:36 +02:00
efcf65813d
change content flow 2020-10-20 17:41:50 +02:00
a058af65f6
styling, content, datatoken info 2020-10-20 15:38:26 +02:00
95e72ae108
split up publish, datatoken, pricing data 2020-10-19 14:47:11 +02:00
d6ab40d188
button copy 2020-10-16 10:00:30 +02:00
48d5cd8765
copy 2020-10-14 20:19:03 +02:00
287eea3c94
move all pool copy into content data file 2020-10-14 19:08:46 +02:00
22a45ec21e
new publish feedback UX 2020-10-05 15:03:21 +02:00
ad714dc8c9 liquidityProviderFee → swapFee 2020-09-28 15:49:51 +00:00
a1ff86083c input tweaks 2020-09-22 11:04:28 +00:00
041dfcee08
Data Token → Datatoken 2020-09-21 19:52:27 +02:00
a1da02b8e4
output fees in dynamic price UI 2020-09-21 19:52:27 +02:00
09e68d44cd
styling & copy 2020-09-11 15:13:22 +02:00
6c47b8e44e
fix publishing 2020-09-09 14:58:57 +02:00
49fe6456f9
copy 2020-09-02 12:48:55 +02:00
a3721502f5
add sample file during publish 2020-09-02 12:22:48 +02:00
0d4e0599ac
consolidate all copy for price widget 2020-08-06 14:07:01 +02:00
3811050fa6
source tooltip content for advanced price 2020-08-06 13:46:43 +02:00
cbee8a714d
lots of pricve refactor, build out advanced UI 2020-07-31 13:15:00 +02:00
5bb3744dc3
collect cost & tokensToMint in form state 2020-07-31 13:15:00 +02:00
5bac951c66
full metadata preview 2020-07-17 16:44:24 +02:00
52b32becd6
copy, move terms file 2020-07-17 15:16:00 +02:00
8526a0af2d
add Terms form field 2020-07-17 15:06:28 +02:00
da6eef9bba
generate markdown pages, use for terms 2020-07-17 14:59:20 +02:00
ef684bcb94
publish wording 2020-07-16 14:23:54 +02:00
4e30eb14d1
front page styling 2020-07-15 14:35:32 +02:00
482a307f80
kinda make file input work 2020-07-10 12:09:43 +02:00
b3e4940d08
start data flow cleanup 2020-07-09 18:08:13 +02:00