1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
mihaisc
9ce0af7d63 transactions page 2020-05-25 15:53:38 +03:00
mihaisc
26c2902f2b console.log for tests 2020-05-20 10:34:59 +03:00
mihaisc
b4b1c20e50
Update explore.tsx 2020-05-19 23:26:14 +03:00
mihaisc
5703cbecac remove search categories 2020-05-19 12:08:20 +03:00
mihaisc
dd297800da compute 2020-05-19 11:57:49 +03:00
mihaisc
20be794f6d
Merge branch 'master' into hooks 2020-05-13 18:34:33 +03:00
mihaisc
391d5f2742 partial tests fix,hook implementation fix 2020-05-13 12:17:22 +03:00
mihaisc
fe61e586da react hooks 2020-05-11 19:29:47 +03:00
maxieprotocol
7d0e33ea41 init and replace global styles based on ocean's web site color palette 2020-05-11 17:31:42 +02:00
alexcos20
ebd5ba9495 first commit 2020-05-07 09:03:30 +03:00