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
97ec21d2e0
404 page ( #268 )
2020-11-19 21:55:16 +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
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
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
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
ef684bcb94
publish wording
2020-07-16 14:23:54 +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
6f9bf0176f
refactor Next.js pages into Gatsby pages
2020-06-30 12:56:50 +02:00