1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-30 05:41:41 +02:00
Commit Graph

54 Commits

Author SHA1 Message Date
7279a642f6
docs updates, remove GATSBY_NETWORK env var 2021-07-27 16:12:54 +02:00
209dd379dc
switch over to app config metadataCacheUri 2021-07-26 16:59:17 +02:00
a7998abb99
Multinetwork UI additions (#729)
* add BSC to default chains

* searchbar visual tweaks

* race condition fix

* network name tweaks

* beta → v3

* use publish form titles to inform about network

* form actions refactor

* simplify network name on asset details

* visual indicator for selected chains on button

* lint fix

* more layout flow tinkering, collapsed search by default

* search field layout tweaks

* unknown network/gaia-x name fixes

* put back search cancel button in webkit

* space fixes

* cross browser visual fixes
2021-07-26 15:48:24 +02:00
e06b6af56f
add Polygon Mumbai as supported chainId 2021-07-12 14:42:46 +02:00
Norbert
00c61f2de6 added bsc to supported chainIds 2021-07-01 15:38:08 +03:00
Norbi
14f2f2a747 Merge branch 'main' into feature/multinetwork 2021-07-01 14:44:21 +03:00
Kris Liew
e02babf2c2
[EPIC] Free Pricing (#681)
* Free Pricing Option at create Pricing (#621)

* Free Pricing Option + env var toggle

* Create Pricing step msg

* Default 'allowFreePricing' to true temp for review

* Fix price 0 on free tab

* Attempt fix useSiteMetadata

* Fix linting

* Feature/free price support consume compute (#654)

* Update fetch free price

* Feedback change UI remove 0's

* update button msg && fix

* compute algorithm list show 'Free' instead of '0'

* updateMetadata() v3 workaround solution for free pricing (#677)

* compute algorithm list show 'Free' instead of '0'

* workaround editMetaData free price

* utils function for compute & download

* `allowFreePricing` default to false
2021-06-16 09:32:11 +08:00
30174e1a84
Merge branch 'main' into feature/multinetwork 2021-06-14 15:17:33 +02:00
Kris Liew
4fc5862654
Edit Advance Settings form for Edit Credentials & edit isOrderDisabled Flag (#655)
* #638 Initial design

* #638 fix import and get value from env file

* #638 Fix UI

* #638 Improved UI

* #638 Add deny credential and isOrderDisabled

* UI update

* Fix lint

* Attempt fix issue

* Revert "Attempt fix issue"

This reverts commit e3d916fe61.

* Extract default credential type

* Fix complexity issue

* Fix complexity issue

* Fix typo error

* Enhance UI

* Enhance Credentials Component UI

* Reduce duplication

* Revert "Reduce duplication"

This reverts commit e3bf6b4a2a.

Co-authored-by: KY Lau <kian_yee.lau@daimler.com>
2021-06-14 15:47:31 +08: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 8bcb80be3d.

* Fixing linting errors

* pull from origin main

* Revert "pull from origin main"

This reverts commit 9535e41a5f.
2021-06-10 12:06:26 +03:00
ef218a9d9e
chainId switching mechanism 2021-06-09 11:45:36 +02:00
796fc6be81
get all screens to render again 2021-06-04 15:53:34 +02:00
21792e9d4f
move OceanProvider to asset route 2021-06-04 15:13:47 +02:00
3332249928
refactor and tinkering 2021-06-04 15:06:24 +02:00
Kris Liew
30b4c77093
feature/add toggle option for fixed & dynamic pricing (#453)
* add toggle for create pricing option variable

* code refactor

* Minor fix from feedback
2021-03-24 20:27:32 +08:00
8737264816
refactor network name output (#421)
* refactor network output

* fetch chain & network metadata from @ethereum-lists/chains

* typed responses

* switch warning icon for testnet badge

* add supportedNetworks list, output warning based on it

* markup & spacing tweaks

* check networkId against ocean.js ConfigHelper

* remove supportedNetworks app config

* fetch EVM networks metadata on build time

* fixes
2021-03-04 18:16:20 +01:00
a760935564
Add Portis wallet connection (#291)
* add portis

* library loading tinkering

* bump packages

* typings fix

* pip as addon

* remove setuptools

* revert typings fix

* modal styling

* show portis button

* provider name workaround

* for faulty getInjectedProviderName()
* fixes https://github.com/oceanprotocol/market/issues/332

* more usage of provider info object

* output respective wallet logos

* add network switcher for Portis

* add functionality

* prototype for portis network switching

* improve user experience when reconnecting to cached provider

* support mainnet only, leave networking switching code commented out
2021-01-29 13:40:54 +01:00
mihaisc
05035d3cdc
remove ga (#345)
* remove ga

* remove from package
2021-01-28 14:11:08 +02: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
2190a8a9a5
move analytics id to environment variable (#238) 2020-11-10 16:52:26 +01:00
84746b1027
refined conversion number formatting, add more currencies (#184)
* fix conversion number formatting
* switch to symbol formatting for fiat
* hack in consistent visual symbol formatting
* add more fiat currencies
* no need for custom isFiat regex
* consistent number column formatting
2020-10-31 20:18:45 +01:00
cf3f406547
Dark Mode (#182)
* refactor CSS custom properties for dark mode

* dark mode style

* dark mode switching

* config tweaks
2020-10-30 21:28:20 +01:00
6e589949b4
refactor network messaging 2020-10-23 13:38:12 +02:00
f0c6958154
make network switching work 2020-10-23 13:38:12 +02:00
93179c8c37
metadataStore → metadataCache, package updates 2020-10-13 17:06:40 +02:00
aeb26b89c5
remove marketFeeAmount config 2020-10-12 14:39:42 +02:00
8fb1998b02
add marketFeeAddress to consume/compute 2020-10-09 21:31:57 +02:00
74a2c182e9
make metadataStoreUri part of app config 2020-09-11 16:34:13 +02:00
e421667941
configurable currencies 2020-09-10 14:21:10 +02:00
8316a1ab8b
config refactor 2020-08-07 10:20:54 +02:00
a142509a6f
add existing fallback for marketFeeAddress 2020-08-06 14:39:56 +02:00
65cd3d42b0
change default fees 2020-08-06 14:22:19 +02:00
93f9432032
configurable market fee values 2020-08-05 15:34:12 +02:00
f327ec0e43
network config refactor 2020-07-22 13:56:42 +02:00
bf0375f58f
more config refactor 2020-07-22 13:43:20 +02:00
1aedc40fd5
config fix 2020-07-22 12:27:57 +02:00
fd3a436a31
more config refactor 2020-07-22 12:20:55 +02:00
69f8a091d8
refactor network config 2020-07-20 17:04:38 +02:00
c7fdd37f56
change DTFactory address 2020-07-20 16:32:38 +02:00
273cd64b95
market address tinkering 2020-07-16 15:27:57 +02:00
a0e092ed64
cleanup 2020-07-16 15:00:18 +02:00
393daa9269
configurable marketAddress 2020-07-16 14:54:12 +02:00
023ddafd13
change oceanTokenAddress for Rinkeby 2020-07-15 22:40:58 +02:00
ec23f503df
more rinkeby config 2020-07-15 21:33:33 +02:00
e31add9d21
point everything to Rinkeby 2020-07-15 21:19:26 +02:00
fbb24e196e
travis fix 2020-07-15 16:13:09 +02:00
f954537929
fix env vars 2020-07-15 13:54:37 +02:00
4c420b65d6
switch metadata store & provider values 2020-07-15 13:54:36 +02:00
a29ec8a219
fix infura env var 2020-07-15 13:54:36 +02:00