1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
Commit Graph

21 Commits

Author SHA1 Message Date
Bogdan Fazakas
2f1bd399f8 refactor metadata types for publish forms 2021-02-19 17:51:40 +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
mihaisc
400ff6a4fd
fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 14:03:10 +02:00
b48435788c
package updates 2020-10-21 14:37:18 +02:00
1aac244329
case fix 2020-10-01 17:13:19 +02:00
80aadeffea
ddo fixture update 2020-09-29 17:19:50 +02:00
69ecfd71eb
remove compute job lists for now 2020-09-29 17:19:49 +02:00
ad714dc8c9 liquidityProviderFee → swapFee 2020-09-28 15:49:51 +00:00
d85f6c0777 fix passing generated datatoken options 2020-09-21 19:16:33 +00:00
16fc0aef03
type check fixes 2020-09-02 11:43:15 +02:00
c19cdcd9da
fix most metadata typings 2020-07-16 13:39:02 +02:00
7b6cb91410
kick out squid-js, replace with lib 2020-07-15 13:54:35 +02:00
818a399a97
more fixes 2020-07-10 13:19:04 +02:00
b3e4940d08
start data flow cleanup 2020-07-09 18:08:13 +02:00
cd88cb41e5
remove json-schema-form, replace with Formik 2020-07-09 15:31:47 +02:00
2c5fb9bd40
metadata reset 2020-07-01 19:02:31 +02:00
8a1af53150
trying to make sense of jest and mocking reach router, useWeb3, useOcean, squid 2020-06-30 19:38:02 +02:00
mihaisc
5f14e431da transactions, job details 2020-06-02 12:15:21 +03:00
mihaisc
6529636caf test fix 2020-05-19 12:20:18 +03:00
mihaisc
87ac5ea76b tests and partial compute 2020-05-13 20:34:47 +03:00
alexcos20
ebd5ba9495 first commit 2020-05-07 09:03:30 +03:00