Bogdan Fazakas
3e2ad9674c
set default value for contentLenght if not received from provider ( #372 )
2021-02-10 14:24:16 +01:00
Bogdan Fazakas
c72dfb6ced
Fileinfo replacement ( #352 )
...
* replaces market fileinfo with provider file info
* removed test for replaced getFileInfo method
* updated toast messages
- if uploaded file when no web3 wallet is connected
- if file is not valid
* used provider api to check file'
* moved get fileinfo logic to provider.ts
* cancel fileinfo req on unmount
* reduced fileinfo method complexity
* canceltoken passed to fileinfo issue
2021-02-04 15:45:21 +01:00
mihaisc
ab609b93c0
refetch balance ( #357 )
2021-01-29 16:21:34 +02: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
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
de1bc11efe
add ropsten to network detection utilities ( #294 )
...
* add ropsten to network detection utilities
* mention ropsten in publish warning
* bump @oceanprotocol/lib
2020-12-11 18:30:51 +01:00
mihaisc
072a4475eb
update 3box url ( #298 )
2020-12-10 16:04:35 +02:00
960c5b3234
Update metadata, the proper way ( #292 )
...
* prototype view switching
* refactor, more UI
* formik form setup & data flow
* debug output, fixes, refactor
* description preview refactor
* publish/update date changes
* output created & updated date at top of asset
* use ddo.created & ddo.updated everywhere
* stop pushing metadata.main.datePublished
* owner check for edit link
* all the feedback states and switching between them: loading, error, success
* refactor feedback, one component for publish & edit
* action & date output fixes
* move all content, iterate form fields from it
* UI updates
* styling tweaks
* ddo dataflow refactor, more useAsset usage
* more useAsset usage
* form actions styling
* prepare edit history component
* metadata output tweaks
* copy
* safeguard against profile urls without protocol defined
* refetch ddo after edit
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* switch author for dataTokenOptions in metadata preview
* refactor
* copy
* showPricing fix
* validation: minimum characters for title & description
* disable submit button when validation fails
* form validation fixes
* manually trigger onChange validation in publish & edit forms
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-12-10 14:30:40 +01:00
c57731cd0b
restore WalletConnect ( #290 )
...
* restore WalletConnect
* bump @oceanprotocol/react
* visual fixes for walletconnect modal
2020-12-03 14:54:14 +01:00
mihaisc
dac47bf524
3Box publisher profiles ( #264 )
...
* install 3box
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* tinkering
* check tweak
* load library on init only
* add profile
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* get 3box profile
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix return type
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix eslit
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* 3box data structure tweaks, prepare output in byline
* refactor
* new Publisher component
* tweaks
* remove data partners
* link/profile splitup
* profile tweaks
* component splitup
* lots of styling, add image
* affordance for publisher, refactor, server response tinkering
* use 3Box proxy
* open all 3box links in new tab/window
* mobile fixes
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-27 12:04:35 +01:00
a7a29a6c63
fix AssetListTitle ( #270 )
...
* fix AssetListTitle
* asset provider fix
2020-11-23 15:46:49 +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
2437b72ea3
directly hit Aquarius API for front-page queries ( #262 )
...
* directly hit Aquarius for front-page queries
* refactor, use custom queryMetadata util
* parallelize front-page queries
2020-11-18 17:51:42 +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
2063f594f6
disable walletconnect, metamask download fallback ( #183 )
2020-10-30 20:55:09 +01:00
99334f4d74
refactor pool data flow
2020-10-26 18:13:12 +01:00
mihaisc
ebc1e22d88
fix
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 18:56:04 +03:00
mihaisc
ec28ef546c
fix compute previous order
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 18:33:39 +03:00
mihaisc
7b0af5e062
Merge branch 'main' into feature/previousOrders
2020-10-23 16:40:01 +03:00
6e589949b4
refactor network messaging
2020-10-23 13:38:12 +02:00
mihaisc
95c65b7461
update hooks, refactor
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-23 14:10:24 +03:00
fe28e7d182
disable Torus provider
...
* prevents SSR build, so disable until further investigation
2020-10-16 11:56:17 +02:00
3ea627df8d
remove lazy loading of wallet provider packages
...
* closes #111
2020-10-16 10:19:04 +02:00
68ed8fd348
chainId → networkId
2020-10-02 13:41:00 +02:00
3a72d670fd
remove unused methods/hooks/components
2020-09-24 12:26:23 +02:00
b09c1dbc27
typing fixes
2020-09-23 14:54:56 +02:00
b09e3acb12
lint fixes
2020-09-08 13:55:04 +02:00
49ac2ba909
fileinfo API tweaks
2020-09-02 13:18:48 +02:00
mihaisc
3c1c6418d9
Merge branch 'main' into feature/config
2020-08-11 15:34:39 +03:00
5ce00c9ddc
use decimal.js for price comparison
2020-08-11 09:30:17 +02:00
062530f523
refactor
2020-08-11 09:14:44 +02:00
148f11fc4f
fixes
2020-08-11 08:44:31 +02:00
8d8336d169
lift price up, handle balance check
2020-08-11 07:34:32 +02:00
5c61725a1e
any solves everything
2020-07-31 13:04:52 +02:00
2bf5c1a8cd
dynamic loading of provider packages
2020-07-31 12:53:08 +02:00
90b4f4bb47
disable torus for now
2020-07-31 12:02:00 +02:00
8183f2edde
refactor web3modal options
2020-07-30 23:37:27 +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
e9f39be9c3
add Torus wallet
2020-07-22 12:31:49 +02:00
fd3a436a31
more config refactor
2020-07-22 12:20:55 +02:00
cb4850835d
remove api directory, remove redeploy action
2020-07-20 22:16:59 +02:00
cea8c7883a
output new balance object from react hooks
2020-07-20 13:22:36 +02:00
c5a3715982
code splitting and cleanup
2020-07-18 01:52:08 +02:00
8f9f3303de
kick out file API
2020-07-17 12:33:44 +02:00
c19cdcd9da
fix most metadata typings
2020-07-16 13:39:02 +02:00
1afcd45882
adapt network message based on configured networks
2020-07-15 22:21:57 +02:00
6e996a1767
web3modal styling and interaction tweaks
2020-07-15 19:10:25 +02:00
c533194392
fix all the things by removing Rating altogether
2020-07-15 13:54:37 +02:00
7a9e658d03
add infura project id
2020-07-15 13:54:36 +02:00