Commit Graph

181 Commits

Author SHA1 Message Date
Matthias Kretschmann a084c038c5
merge fixes 2022-01-11 19:58:39 +00:00
Matthias Kretschmann 38ce25225f
Merge branch 'v4' into feature/publish 2022-01-11 19:49:11 +00:00
Matthias Kretschmann 64a25f3f3e
use Asset from ocean.js, adapt to new structure 2022-01-11 19:45:14 +00:00
Matthias Kretschmann fee5973f81
naming: NftOptions → NftMetadata 2022-01-11 15:40:40 +00:00
Matthias Kretschmann c3301fb437
NFT metadata updates
* switch to `image_data` instead of `image` key
* add `external_url` & `background_color`
* make following OpenSea standard more clear
* ref #944
2022-01-11 14:52:01 +00:00
Matthias Kretschmann e87bdfadfc
activate form validation 2022-01-11 13:13:13 +00:00
mihaisc f576aadbfe fix service id 2022-01-11 13:03:54 +02:00
mihaisc 7cac17d906 fix publish with pool 2022-01-11 12:57:22 +02:00
mihaisc 8e60738071 fix publish with pool 2022-01-10 17:49:46 +02:00
mihaisc c9faca8666 fixes 2021-12-23 14:36:22 +02:00
mihaisc c7d6616874 fixes & hacks 2021-12-21 22:26:08 +02:00
mihaisc 695011fe8b
remove hardcoded url
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-12-21 20:30:14 +02:00
mihaisc 16475b55d1 publish draft 2021-12-21 15:54:39 +02:00
mihaisc b86ac219f3 interm 2021-12-20 16:38:54 +02:00
Matthias Kretschmann 9586bd9fd5
output default gpu & gpuType when present 2021-11-29 17:01:56 +00:00
Matthias Kretschmann 318bc44f43
compute options dataflow tweak 2021-11-29 16:55:15 +00:00
Matthias Kretschmann 9d9a33393f
fix checked state 2021-11-29 16:51:08 +00:00
Matthias Kretschmann 9bd9156553
integrate compute options into form data, expose default option 2021-11-29 16:49:38 +00:00
Matthias Kretschmann 8a60aaf3f5
add default compute environment options 2021-11-29 15:57:12 +00:00
Matthias Kretschmann 3aa739fce0
add Docker image presets, populate algo Docker field from them 2021-11-29 13:25:30 +00:00
Matthias Kretschmann 7c98659c86
free price tweaks 2021-11-26 13:05:53 +00:00
Matthias Kretschmann 5dca006832
page title tweaks 2021-11-26 11:03:55 +00:00
Matthias Kretschmann 362e404110
fixes & todo 2021-11-26 10:35:41 +00:00
Matthias Kretschmann 11412c2d66
add preview success condition 2021-11-26 10:17:50 +00:00
Matthias Kretschmann dcb8a0c6c6
fix `touched` overwrite, add pricing success condition 2021-11-26 10:11:25 +00:00
Matthias Kretschmann 0a9f9ec693
hack in terms link, copy change 2021-11-25 14:36:01 +00:00
Matthias Kretschmann b64e4ff5dc
adapt transformPublishFormToDdo 2021-11-25 14:20:00 +00:00
Matthias Kretschmann 06dca21d47
refactor all the URL inputs 2021-11-25 14:16:42 +00:00
Matthias Kretschmann ee0f411c24
remove console.log 2021-11-24 16:12:17 +00:00
Matthias Kretschmann 4f62205599
fix access success state 2021-11-24 15:46:13 +00:00
Matthias Kretschmann 7b3b0f5ebe
cleanup 2021-11-24 14:59:42 +00:00
Matthias Kretschmann 8e9cb3acad
prepare submission screen, nav layout updates 2021-11-24 14:46:10 +00:00
Matthias Kretschmann e2b5707859
pricing feedback fixes 2021-11-24 13:18:53 +00:00
Matthias Kretschmann 5bf8543150
refactor all the URL inputs
* only act on user action, we were firing events left and right on every keystroke
* remove all local state management, the field has the value already
* add success state for provider input
2021-11-24 12:29:14 +00:00
Matthias Kretschmann 5fd97b11e4
pricing validation tweaks 2021-11-23 17:00:24 +00:00
Matthias Kretschmann b6bc38c530
space saving tweaks for pricing screen 2021-11-23 16:27:58 +00:00
Matthias Kretschmann c689ce5555
more validation tweaks 2021-11-23 15:45:27 +00:00
Matthias Kretschmann a313f39494
file input validation fixes 2021-11-23 15:34:43 +00:00
Matthias Kretschmann c484a5b40c
new publish preview (#947)
* refactor preview

* make preview render

* more preview elements, proper debug output

* make more elements work

* cleanup and fixes

* make asset actions preview work, kinda

* more fixes

* reorg

* make preview price display work

* fix timeout

* layout tweaks

* fixes

* another fix

* make file info preview work

* empty render fix
2021-11-23 12:53:09 +00:00
Matthias Kretschmann c387b27f23
validation fixes 2021-11-19 14:26:39 +00:00
Matthias Kretschmann 5bb7f327e3
hack in success state for first steps 2021-11-19 14:05:07 +00:00
Matthias Kretschmann 713de2eb94
data structure change 2021-11-19 13:49:29 +00:00
Matthias Kretschmann d3810168aa
first go at randomly-generated ocean waves 2021-11-16 21:06:02 +00:00
Matthias Kretschmann 08c42e8fa6
prepare NFT image creation 2021-11-15 20:47:59 +00:00
Matthias Kretschmann abfe920150
prepare NFT creation 2021-11-15 19:33:42 +00:00
Matthias Kretschmann 82951548ef
reorg Form components one level up 2021-11-15 18:29:20 +00:00
Matthias Kretschmann c177657f87
asset type icons 2021-11-15 18:24:31 +00:00
Matthias Kretschmann fc1966aa4e
copy 2021-11-15 15:42:50 +00:00
Matthias Kretschmann b41e15a92e
fix BoxSelection fields checked state 2021-11-15 15:19:50 +00:00
Matthias Kretschmann 94147026c0
prepare datatoken & NFT display 2021-11-15 15:04:26 +00:00
Matthias Kretschmann e79dcf2342
add in all conditional fields
* switch between dataset & algorithm fields
* switch between algo privacy & access type fields
* switch between docker image & custom docker image fields
2021-11-15 12:44:27 +00:00
Matthias Kretschmann 5285efd9c0
another render fix 2021-11-11 13:55:35 +00:00
Matthias Kretschmann 704b52a3c4
more publish flow preparation
* consolidate scattered methods into publish utils
* new encrypt method
* remove DDO File typings
2021-11-11 13:40:38 +00:00
Matthias Kretschmann 8ce573b2a0
prepare publish flow in code 2021-11-11 11:28:03 +00:00
Matthias Kretschmann 4e985ba633
ddo updates 2021-11-11 09:22:22 +00:00
Matthias Kretschmann 7acd9a2388
ddo creation updates 2021-11-11 08:55:35 +00:00
Matthias Kretschmann 51891f9b9f
fix rerender loop, properly populate chainId in form values 2021-11-11 08:46:52 +00:00
Matthias Kretschmann 3d4b30c00f
new DDO (#941)
* type out new DDO

* remove all DDO ocean.js imports

* move over as much as possible to new DDO structure

* DDO/Asset split-up

* use Asset typing instead of DDO almost everywhere

* more typings

* more DDO refactor

* ddo typings updates

* more DDO updates

* updates

* ddo updates
2021-11-11 07:51:13 +00:00
Matthias Kretschmann 0fb4e630c1
metadata tweaks 2021-11-04 11:14:48 +01:00
Matthias Kretschmann 72605b5341
fix dark mode selected state for nav 2021-11-02 19:09:03 +01:00
Matthias Kretschmann 2007d0c3ca
navigation success style 2021-11-02 18:51:25 +01:00
Matthias Kretschmann d67529409c
styling tweaks, prepare AssetContent for preview 2021-11-01 19:04:18 +01:00
Matthias Kretschmann 4495a998d9
field fixes 2021-11-01 17:35:50 +01:00
Matthias Kretschmann 458a7bf736
basic nav styling and interactions 2021-11-01 16:38:53 +01:00
Matthias Kretschmann b28f7992dd
fix required/tooltip icon order 2021-11-01 15:57:00 +01:00
Matthias Kretschmann f4eab6e09a
more wizard refactors, functional navigation steps 2021-11-01 15:45:01 +01:00
Matthias Kretschmann 9b5cd8b8ed
start creating actual wizard 2021-10-29 14:38:30 +01:00
Matthias Kretschmann 235d8333eb
pricing defaults changes, fixes 2021-10-29 11:29:56 +01:00
Matthias Kretschmann 228b09098a
make form error display kinda work 2021-10-28 16:34:46 +01:00
Matthias Kretschmann 778abc8aeb
more fields, more custom onChange handler removals 2021-10-28 11:47:03 +01:00
Matthias Kretschmann 66adc097b6
declarative metadata & services form setup, prepare transformPublishFormToDdo method 2021-10-28 10:38:40 +01:00
Matthias Kretschmann cdbe413765
pricing tab selection fixes 2021-10-27 18:37:22 +01:00
Matthias Kretschmann 928a352975
restore pricing screens styling 2021-10-27 18:35:21 +01:00
Matthias Kretschmann 9960742b37
make all pricing forms work again, retain data between tabs 2021-10-27 18:35:21 +01:00
Matthias Kretschmann f2b1a33261
restructure form, dial back on overwriting native Formik functionality 2021-10-27 18:35:18 +01:00
Matthias Kretschmann 99453623d2
new publish form data setup 2021-10-27 18:35:04 +01:00
Matthias Kretschmann c023f45138
reorganize all the things 2021-10-27 18:34:37 +01:00
Matthias Kretschmann 3729c63581
migrate to Next.js (#935)
* migrate to Next.js

* migrate scripts

* generate markdown pages

* make all the markdown work

* fix profile, fix image loading

* git+ssh → git+https, again

* bump packages

* maybe windows build fix

* add public to gitignore

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* Next.js v12! Webpack 5! No build hacks anymore

* json import fixes

* fixes

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-10-27 11:30:32 +01:00
Matthias Kretschmann 51785d54dd
more reorganization 2021-10-27 11:29:03 +01:00
Matthias Kretschmann 1d4917817a
remove everything we do not expose in our live market 2021-10-27 11:29:03 +01:00
Matthias Kretschmann f951910dc2
reorganize all the things 2021-10-27 11:28:59 +01:00