1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

69 Commits

Author SHA1 Message Date
Bogdan Fazakas
cdd5c5cf16 WIP validate for dockerhub images and 3rd party images 2021-02-25 23:05:30 +02:00
Bogdan Fazakas
90787e9031 fixed reset form & cover flow where algorithm form is clear 2021-02-25 14:21:05 +02:00
Bogdan Fazakas
dca5b9f56c fix persistance for both publish forms 2021-02-24 13:32:15 +02:00
193670ed5f
more tab switching 2021-02-22 16:43:16 +01:00
f79d8c2c91
content updates 2021-02-22 16:37:50 +01:00
41fd894ce6
output form titles 2021-02-22 16:28:56 +01:00
82a12a915d
refactor publish page for tab usage 2021-02-22 16:15:22 +01:00
Bogdan Fazakas
2f1bd399f8 refactor metadata types for publish forms 2021-02-19 17:51:40 +02:00
Bogdan Fazakas
92547533a5 refactor publish page content 2021-02-19 16:08:47 +02:00
Bogdan Fazakas
7d25bc07ce added keep algorith private checkbox 2021-02-17 15:31:26 +02:00
Bogdan Fazakas
4088a790fb change publish type from data to dataset 2021-02-16 16:47:07 +02:00
Bogdan Fazakas
18cd6b6f01 WIP publish algorithm 2021-02-16 11:27:02 +02:00
Bogdan Fazakas
5433bfdbb3 added tab interface for data/algorith in publish page 2021-02-11 11:25:13 +02: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
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
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
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
9b55934994
refactor 2020-10-20 17:29:48 +02:00
484d8b735a
fixed pricing styling 2020-10-20 16:11:32 +02:00
07b086547f
refactor 2020-10-20 14:51:20 +02:00
9ce1358fe1
move around pricing view 2020-10-20 13:10:03 +02:00
07b6495866
prototype 2020-10-19 16:40:09 +02:00
8ce53714a4
more publish data flow changes 2020-10-19 15:04:57 +02:00
95e72ae108
split up publish, datatoken, pricing data 2020-10-19 14:47:11 +02:00
eeda0f85ee
swapFee calculation fix 2020-10-05 22:07:16 +02:00
2c2bf3cef1
move user's focus to top of screen upon publish 2020-10-05 15:42:19 +02:00
fb095460ab
loader fixes 2020-10-05 15:13:51 +02:00
22a45ec21e
new publish feedback UX 2020-10-05 15:03:21 +02:00
9e2baac34c
refactor, move feedback out of form 2020-10-05 12:29:50 +02:00
ad714dc8c9 liquidityProviderFee → swapFee 2020-09-28 15:49:51 +00:00
b09c1dbc27
typing fixes 2020-09-23 14:54:56 +02:00
d85f6c0777 fix passing generated datatoken options 2020-09-21 19:16:33 +00:00
d1e1c75f86 typing fixes 2020-09-21 18:52:04 +00:00
mihaisc
bb43d8f8a3
various fixes 2020-09-21 17:36:11 +03:00
mihaisc
9f84f12502
fix 2020-09-16 15:01:15 +03:00
09e68d44cd
styling & copy 2020-09-11 15:13:22 +02:00
7bda8b7c13
handle generated dt names
* generate new name & symbol on mount
* output in fixed & dynamic
* pass through generated options into publish
2020-09-11 13:11:35 +02:00
91afd8ed39
make use of debug value 2020-09-09 16:07:37 +02:00
b154cfc2ac
publish updates 2020-09-09 14:35:56 +02:00
a3721502f5
add sample file during publish 2020-09-02 12:22:48 +02:00
mihaisc
2daab8b175 format 2020-08-27 16:13:31 +03:00
mihaisc
dfccd101f7 added local persist 2020-08-27 13:30:36 +03:00
mihaisc
f71eaa854e reset form fix 2020-08-13 16:02:26 +03:00
88496489c7
more precise parameter name 2020-08-05 16:22:51 +02:00
5d11416137
price data structure additions 2020-08-05 16:17:13 +02:00
f109a71a80
publish change 2020-08-05 15:57:42 +02:00
93f9432032
configurable market fee values 2020-08-05 15:34:12 +02:00
6271f46918
reset form after submit 2020-08-05 15:23:54 +02:00
9359396aa9
merge fix 2020-08-05 15:19:31 +02:00
2a1ebb0a7e
Merge pull request #44 from oceanprotocol/feature/price-type
save priceType to DDO
2020-08-05 15:15:21 +02:00