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

22 Commits

Author SHA1 Message Date
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
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
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
e95d8044c6
input size modifiers, add large 2020-10-31 00:55:00 +01:00
c72e01c9ec
copy 2020-10-16 09:36:21 +02:00
823513d4ee
error fixes 2020-10-15 14:20:22 +02:00
ad25a0591a
type check fix 2020-10-06 23:16:08 +02:00
f7f3a259f7
allow to add OCEAN or Datatoken 2020-10-06 21:53:06 +02:00
2a13a760bd
refactor to make live validation work 2020-09-21 19:52:27 +02:00
865c4d7b9d
make liquidityProviderFee editable 2020-09-21 19:52:27 +02:00
acfa0b8d06
refactor to use optional chain expressions 2020-09-10 22:22:16 +02:00
f02467f83c
fix input props passthrough 2020-09-10 15:05:33 +02:00
9d41a443bf
function preferences ui 2020-09-10 12:20:40 +02:00
cbee8a714d
lots of pricve refactor, build out advanced UI 2020-07-31 13:15:00 +02:00
a5f416c878
non-formik form fix 2020-07-17 21:34:14 +02:00
f440e178dd
more error validation tweaks, reset form 2020-07-17 21:21:27 +02:00
8526a0af2d
add Terms form field 2020-07-17 15:06:28 +02:00
a67a35e508
disable form fields when form is submitting 2020-07-17 13:19:38 +02:00
121d4fe889
yet another build fix 2020-07-13 14:24:41 +02:00
7feb34cc66
live inline validation and error output for all fields 2020-07-13 14:11:22 +02:00
482a307f80
kinda make file input work 2020-07-10 12:09:43 +02:00
6f9bf0176f
refactor Next.js pages into Gatsby pages 2020-06-30 12:56:50 +02:00