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

1139 Commits

Author SHA1 Message Date
Jamie Hewitt
8bcb80be3d fixing linting issue 2021-06-04 16:33:12 +03:00
Jamie Hewitt
4e09592177 removing console.log message 2021-06-04 15:41:17 +03:00
Jamie Hewitt
41a4f6497a switching alert messages and reducing return statements 2021-06-04 15:39:21 +03:00
Jamie Hewitt
c657429eb1 updating .env.example comment 2021-06-04 14:34:01 +03:00
Jamie Hewitt
29b14d5249 removing .env.development and updating .env.example 2021-06-04 14:32:04 +03:00
Jamie Hewitt
22cacdb577 Check for undefined RBAC_URL in permissions component 2021-06-04 14:24:39 +03:00
Jamie Hewitt
cbbc8904d9 updating .env.development 2021-06-04 14:12:10 +03:00
Jamie Hewitt
28e1b912c5 changing the env name and checking for undefined 2021-06-04 14:11:40 +03:00
Jamie Hewitt
22c7302062 adding wallet connection info message 2021-06-04 13:03:16 +03:00
Jamie Hewitt
abcb0ab44c pull from origin main 2021-06-04 12:20:57 +03:00
claudiaHash
88663d812a
Highest liquidity list based on subgraph (#512)
* fetch pools from graph, fetch ddos for pools

* WIP on displaying highest liquidity assets

* loader added

* check ddo state for each asset

* data ordered  by valueLocked, logger added

* filter ddos for purgatory

* verify  ddo isConsumable price attribute

* moved query into subgraph.ts

* send did list, fix assets display

* fixes on assets display

* assets sorted by dids

* get assets on correct order

* get assets in correct order

* loading assets fixes

* correct order and loading, network overloaded

* fixes on loading

* fixed on network change, added loading

* fixed on network change when no wallet connected, improved loading

Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-06-02 12:14:54 +03:00
Jamie Hewitt
5c627be73f only sending request to RBAC if address is defined 2021-06-01 18:21:09 +03:00
Jamie Hewitt
3451aac42e Adding loader icon while waiting form permission response 2021-06-01 17:54:35 +03:00
94139f42b4
fix marketFeeAddress (#633)
* fix marketFeeAddress

* UseSiteMetadata typing fixes
2021-05-31 12:53:37 +02:00
Dimo Dzhurenov
29b644f402
updated parameter (#635) 2021-05-31 12:52:14 +02:00
Norbi
cd8e388806
fixed app crash (#629)
Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-27 16:39:02 +02:00
Jamie Hewitt
20361578ca pull from origin main 2021-05-26 17:31:58 +03:00
Jamie Hewitt
9dc04282ba updating eventType as consume 2021-05-26 17:18:38 +03:00
Norbi
18f3daed75
List of algorithms to select seems capped (#618)
* removed paginations from the algorithms query and set offset

* changed offset to 500 for compute algorithms query

Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-26 16:16:46 +02:00
Jamie Hewitt
d021b25d98 chaning default permission case to restrict access 2021-05-26 16:25:22 +03:00
Jamie Hewitt
5bcc111d5c sending request based on address 2021-05-26 15:51:18 +03:00
claudiaHash
5428a8e5b4
searching by full token symbol (#564)
* searching by full token symbol


regular expression used

* search by full names


match partial data


useless comments deleted


log deleted

* make search text uppercase

* data author and description added in query fields

* working search combined with sorting and filtering

Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
2021-05-25 11:23:48 +03:00
Jamie Hewitt
24ad90cf59
Creating a new 'forking' section on the readme (#613)
* Creating a new 'forking' section on the readme

* adding copyright message to forking section in readme
2021-05-25 08:31:11 +02:00
Jamie Hewitt
249ccec687 removing unused import of Permission component 2021-05-21 14:49:46 +03:00
Jamie Hewitt
22fc17c66c wrapping asset in permission component 2021-05-21 14:46:39 +03:00
Jamie Hewitt
ec21af94a6 sedning address to RBAC server 2021-05-21 14:29:57 +03:00
Jamie Hewitt
c1d6a3b036 passing address to rbac component 2021-05-21 14:28:11 +03:00
Jamie Hewitt
1c6c300cf6 updating react hook dependency 2021-05-20 18:56:58 +03:00
Jamie Hewitt
18a446850c creating an error alert for permission denied 2021-05-20 18:54:42 +03:00
Jamie Hewitt
6d037abeec wrapping asset actions in permissions element 2021-05-20 17:31:25 +03:00
Jamie Hewitt
adb5a2fdc3 wrapping search results in permissions wrapper 2021-05-20 17:22:21 +03:00
Jamie Hewitt
440afbdc05 wrapping publish in permissions wrapper 2021-05-20 17:18:23 +03:00
Jamie Hewitt
f74ec8dce5 wrapping homepage content in permission element 2021-05-20 17:10:05 +03:00
Jamie Hewitt
5d311ccb2f creating permissions parent component 2021-05-20 16:59:30 +03:00
Jamie Hewitt
3de0179f5d return true if no rbac url env is set 2021-05-20 16:01:54 +03:00
Jamie Hewitt
728c1a503b creating develpment .env file 2021-05-20 14:57:47 +03:00
claudiaHash
f7cf804ba5
Filter buttons bugs fix (#614)
* buttons selection and deselection fix

* style fixes

* hide button fix

Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
2021-05-20 11:50:52 +03:00
Norbi
56169b9887
show page details after receiving the title (#612)
Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-20 11:00:50 +03:00
Norbi
9ce9fc84c7
Display fiat value inside pool statistics (#610)
* fixed

* replaced ddo.price with price from useAsset

Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-19 14:14:06 +02:00
Jamie Hewitt
73a862c7ec importing RBAC url from config file 2021-05-19 11:54:28 +03:00
Norbi
cb8243f4cc
fix assets from mainnet displayed on rinkeby inside the home page (#607)
* get assets after web3Loading is over

* set web3Loading as false when not connected to wallet

Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-19 11:31:23 +03:00
Jamie Hewitt
cf93cf2cbd removing console logs 2021-05-18 16:20:25 +03:00
Dimo Dzhurenov
4a28907fe3
Fix edge case calculation errors in remove liquidity screen (#586)
* switched to toFixed instead of toPrecision

* add round down parameter toFixed

* removed console log

* added toExpPos

* set decimal precision

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

* slice price

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

* slice price

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

* slice ocean and dt amount

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

* add logs

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

* switch to decimal

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-05-18 10:32:19 +02:00
Bogdan Fazakas
0954613b5e
Merge pull request #588 from oceanprotocol/fix/issue583-start-second-job
Fix/Start a second compute job after first successful attempt
2021-05-17 17:38:16 +03:00
Bogdan Fazakas
7cc6b9b95b Merge branch 'main' into fix/issue583-start-second-job 2021-05-17 17:24:07 +03:00
Bogdan Fazakas
e620ee2a47 Merge branch 'main' into fix/issue583-start-second-job 2021-05-17 17:13:13 +03:00
Jamie Hewitt
d887675f82
Add datatoken to wallet for metamask users (#574)
* upgrading to ocean.js 0.14.6

* saving initial changes

* creating seperate component for adding tokens

* showing datatoken name

* adding button for metamask users

* using substring as datatoken symbol

* removing duplicated code

* removing empty div element

* removing unneccessary div element

* no longer sending the whole DDO

* refactoring add token functions

* updating function name

* no longer sending the whole ddo to the addDataToken component

* removing DDO import

* small refactor, get web3 provider info in useWeb3

* general AddToken component

* cleanup

* cleanup, remove symbol shortening

* copy, layout tweaks

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-17 16:12:22 +02:00
Norbi
65194696d3
Handle asset price in teaser (#596)
* used price from subgraph for asset teasers

* moved loading component inside AssetList

* replaced any with proper types inside subgraph utils

* fixed loading component displayed when empty assets or prices list

* show loading component when refetching data on sort and filter

* get each asset price before displaying the component, loading changes

* refactoring functions for getting asset prices

Co-authored-by: Norbi <katunanorbert@gmai.com>
2021-05-17 17:08:15 +03:00
Norbi
c2d03f94ac
Refetch compute status (#558)
* WIP

* use interval to refetch every minute

* fixes

* get jobs after verifications

* refetch jobs on button click

* fix loading when no jobs, hide refresh button then no jobs

* button UI changes

* styling updates

Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-17 16:04:17 +02:00
Norbi
f0ed9f68cb
Add new custom form field for single value selection (#504)
* created BoxSelection component

* wip

* design changes

* integrate with form

* refactoring

* used inside appearance component

* WIP, added space between options

* adde new fields to BoxSelection used for chain selection

* fixed errors

* removed access type option from publish.json

* updated component for chain selection

* updated for compute type on publish dataset

* added component to dockerImageOpions

* removed Dotdotdot component from options

* remove space

* styling updates, fix React warning for terms checkbox

Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-17 15:32:01 +02:00