d27812fc51
typecheck fix
2021-02-22 17:18:40 +01:00
Bogdan Fazakas
2f1bd399f8
refactor metadata types for publish forms
2021-02-19 17:51:40 +02:00
Bogdan Fazakas
5112a35524
fixed lint errors
2021-02-19 16:25:42 +02:00
Bogdan Fazakas
18cd6b6f01
WIP publish algorithm
2021-02-16 11:27:02 +02:00
Bogdan Fazakas
c72dfb6ced
Fileinfo replacement ( #352 )
...
* replaces market fileinfo with provider file info
* removed test for replaced getFileInfo method
* updated toast messages
- if uploaded file when no web3 wallet is connected
- if file is not valid
* used provider api to check file'
* moved get fileinfo logic to provider.ts
* cancel fileinfo req on unmount
* reduced fileinfo method complexity
* canceltoken passed to fileinfo issue
2021-02-04 15:45:21 +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
Norby
b5f6f9c9c1
displayed search results count ( #312 )
...
* displayed search results count
* updated unit test for Search component
* account for singular & plural, display message if there's no result
2021-01-13 10:15:50 +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
ed57702ff3
refactor root components ( #263 )
...
* refactor layout
* refactor
* root components reordering
* type-check fix
2020-11-18 20:01:33 +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
07b086547f
refactor
2020-10-20 14:51:20 +02:00
93179c8c37
metadataStore → metadataCache, package updates
2020-10-13 17:06:40 +02:00
5c9eb91371
lint fix
2020-10-05 12:29:50 +02:00
1aac244329
case fix
2020-10-01 17:13:19 +02:00
ef00160f65
run type checking as part of linting
2020-09-29 17:19:50 +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
3a72d670fd
remove unused methods/hooks/components
2020-09-24 12:26:23 +02:00
b5356e6c42
test & storybook fixes
2020-09-23 11:21:04 +02:00
d85f6c0777
fix passing generated datatoken options
2020-09-21 19:16:33 +00:00
acfa0b8d06
refactor to use optional chain expressions
2020-09-10 22:22:16 +02:00
16fc0aef03
type check fixes
2020-09-02 11:43:15 +02:00
336734bb77
package updates
2020-09-01 10:50:22 +02:00
fd3a436a31
more config refactor
2020-07-22 12:20:55 +02:00
cb4850835d
remove api directory, remove redeploy action
2020-07-20 22:16:59 +02:00
c19cdcd9da
fix most metadata typings
2020-07-16 13:39:02 +02:00
ff36e07a45
dependencies cleanup and updates
2020-07-16 12:24:05 +02:00
c533194392
fix all the things by removing Rating altogether
2020-07-15 13:54:37 +02:00
894f3b39be
load all metadata client-side only
2020-07-15 13:54:36 +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
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
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
ff949c6a67
search & asset teaser refactor
2020-07-01 18:13:32 +02:00
8a1af53150
trying to make sense of jest and mocking reach router, useWeb3, useOcean, squid
2020-06-30 19:38:02 +02:00
65e0cd74ab
fix search test
2020-06-30 16:22:22 +02:00
829ec502a2
make Jest run
2020-06-30 14:19:27 +02:00
6f9bf0176f
refactor Next.js pages into Gatsby pages
2020-06-30 12:56:50 +02:00
9cc38304c8
layout component & site metadata refactor
2020-06-30 11:59:20 +02:00
38ccfc635e
refactor for Gatsby, update all the things
2020-06-30 11:28:49 +02:00
mihaisc
41fcb2f4c3
test temp fix
2020-06-05 16:39:17 +03: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
f21a4c8780
fix
2020-05-13 21:07:57 +03:00
mihaisc
87ac5ea76b
tests and partial compute
2020-05-13 20:34:47 +03:00
mihaisc
391d5f2742
partial tests fix,hook implementation fix
2020-05-13 12:17:22 +03:00