af3bb86073
publish form fixes ( #768 )
...
* fix publish form submit button
* directly use generateDatatokenName from ocean.js
* bump ocean.js to v0.17.0
* fix all the publish things
* wrap OceanProvider around publish page
* initiate Ocean from usePublish hook
2021-07-30 15:52:12 +02:00
b8930cc738
Merge branch 'main' into feature/multinetwork
2021-06-11 11:14:43 +02:00
Jamie Hewitt
e26ed0e81a
Issue 582 market rbac integration ( #597 )
...
* adding env for RBAC server url to app.config.js
* creating util function for requesting auth from the rbac server
* fixing typing error
* testing rbac request on homepage
* removing console logs
* importing RBAC url from config file
* creating develpment .env file
* return true if no rbac url env is set
* creating permissions parent component
* wrapping homepage content in permission element
* wrapping publish in permissions wrapper
* wrapping search results in permissions wrapper
* wrapping asset actions in permissions element
* creating an error alert for permission denied
* updating react hook dependency
* passing address to rbac component
* sedning address to RBAC server
* wrapping asset in permission component
* removing unused import of Permission component
* sending request based on address
* chaning default permission case to restrict access
* updating eventType as consume
* Adding loader icon while waiting form permission response
* only sending request to RBAC if address is defined
* adding wallet connection info message
* changing the env name and checking for undefined
* updating .env.development
* Check for undefined RBAC_URL in permissions component
* removing .env.development and updating .env.example
* updating .env.example comment
* switching alert messages and reducing return statements
* removing console.log message
* fixing linting issue
* Revert "fixing linting issue"
This reverts commit 8bcb80be3d1ae32731b8c5b81b393dd614017fdc.
* Fixing linting errors
* pull from origin main
* Revert "pull from origin main"
This reverts commit 9535e41a5f5acfa26d2841942c29695855dd65bc.
2021-06-10 12:06:26 +03:00
21792e9d4f
move OceanProvider to asset route
2021-06-04 15:13:47 +02:00
b516e95879
prettier formatting updates
2021-06-04 11:43:47 +02:00
Jamie Hewitt
f5da6e4b0b
Issue 560 empty search ( #561 )
...
* upgrading to ocean.js 0.14.6
* Empty search gives all results
* Using ocean.js 13.0
* onBlur empty search when deleting text
* making empty search automatic on change
* removing console log messages
* including the search bar on results page
* keeping searchbox visible after an empty search
* refactoring If statement
2021-05-10 12:38:24 +03:00
df587bb5b5
Merge branch 'main' into feature/compute
2021-03-17 12:58:13 +01:00
bdccb0966f
Web3/Ocean splitup + full Polygon/Matic support ( #433 )
2021-03-17 11:44:26 +01:00
Bogdan Fazakas
32ff7af3ce
Merge branch 'feature/compute' into publish-algo
2021-03-03 16:13:03 +02:00
claudia.holhos
99e0cb78e2
select multiple options
2021-02-24 20:32:18 +02:00
f79d8c2c91
content updates
2021-02-22 16:37:50 +01:00
Bogdan Fazakas
92547533a5
refactor publish page content
2021-02-19 16:08:47 +02:00
Bogdan Fazakas
243283e434
disable aditional docker image fields for pre-defined containers
2021-02-19 13:44:04 +02:00
Bogdan Fazakas
18cd6b6f01
WIP publish algorithm
2021-02-16 11:27:02 +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
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
mihaisc
b5a11d6d0f
Handle price fetching better ( #265 )
...
* fix price refresh, add AssetProvider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* price comment
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix trade
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix trade
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix pool liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix AssetProvider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix import
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* pool refresh fix
* simplify, logging
* handle errors
* cleanup
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-20 14:31:28 +01:00
97ec21d2e0
404 page ( #268 )
2020-11-19 21:55:16 +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
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
3505db21da
Owner/publisher search ( #187 )
...
* make owner search work
* owner/publisher search from asset details
* copy & cleanup
* style tweaks
* timing
* make search combinations work again
* remove account search highjacking
* switch owner source
* search route fixes
* eth address truncation in text search titles
2020-11-03 14:57:40 +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
c2a247b605
search tweaks
2020-10-24 17:39:51 +02:00
806d9cd4ca
fix search title
2020-10-24 17:05:43 +02:00
2761a615b9
try getting title earlier
2020-09-14 16:56:27 +02:00
5bb3744dc3
collect cost & tokensToMint in form state
2020-07-31 13:15:00 +02:00
a73fac1611
cleanup
2020-07-21 14:04:32 +02:00
f08b7da22a
fix asset display
2020-07-21 13:21:22 +02:00
c19cdcd9da
fix most metadata typings
2020-07-16 13:39:02 +02:00
8c7d2b7891
spread appConfig into siteMetadata for use in GraphQL
2020-07-15 15:09:50 +02:00
4e30eb14d1
front page styling
2020-07-15 14:35:32 +02:00
7ba5e2c1f4
fix asset details view
2020-07-15 13:54:37 +02:00
6323c5bbb3
use queryMetadata
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
cd88cb41e5
remove json-schema-form, replace with Formik
2020-07-09 15:31:47 +02:00
1de31e4eff
consolidate actual app config
2020-07-08 15:15:02 +02:00
7980d2fa4b
output asset teasers, basic styling
2020-07-07 23:00:16 +02:00
63955639d1
get all assets from GraphQL
2020-07-07 10:07:46 +02:00
85b76a727b
asset details component reorder
2020-07-07 09:43:45 +02:00
b653ed7990
new tactic: pull in assets into GraphQL on build time
2020-07-07 09:27:05 +02:00
7860aecd98
prototype client-only route for asset details
2020-07-06 12:49:30 +02:00
af62e9f5d4
generate pages for all existing assets, make asset details view work for them
2020-07-01 17:11:45 +02:00
6106b8f037
make production build work
2020-06-30 19:43:37 +02:00
65e0cd74ab
fix search test
2020-06-30 16:22:22 +02:00
4a35fd73d2
make the search work
2020-06-30 15:24:30 +02:00
6f9bf0176f
refactor Next.js pages into Gatsby pages
2020-06-30 12:56:50 +02:00
38ccfc635e
refactor for Gatsby, update all the things
2020-06-30 11:28:49 +02:00
mihaisc
5f14e431da
transactions, job details
2020-06-02 12:15:21 +03:00
mihaisc
77ea9d0432
compute and transactions fix
2020-05-27 17:20:31 +03:00