claudia.holhos
59b8b8b48a
Merge remote-tracking branch 'origin/feature/issue392' into feature/issue392
2021-03-01 17:38:37 +02:00
claudia.holhos
8d07414db1
sort fix
2021-03-01 17:38:02 +02:00
3607084efc
copy
2021-03-01 16:24:55 +01:00
0303c52f3e
copy
2021-03-01 16:17:44 +01:00
f6f6c68428
more fine grained price issues display
2021-03-01 16:08:50 +01:00
Norbi
29a37b531c
Merge branch 'main' into feature/optimize-did-fetching-in-tables
2021-03-01 16:55:00 +02:00
Norbi
4b4cda4906
resolve promise using async/await
2021-03-01 16:54:43 +02:00
d71bf5dfaa
style fix
2021-03-01 15:10:52 +01:00
9f9113c291
Merge branch 'feature/compute' into feature/issue392
2021-03-01 15:07:34 +01:00
07e8ac6f13
styling & spacing
2021-03-01 15:04:41 +01:00
Bogdan Fazakas
f2e906e790
Fix/ Search query with price filter and no text ( #408 )
...
* fixed querry with price filter and no text entered
* retrigger checks
2021-03-01 15:35:29 +02:00
Norbi
0b942de217
added function to get only the name of the asset
2021-03-01 11:51:24 +02:00
Bogdan Fazakas
f4f7ecefc8
run validation only when custom image is selected
2021-02-26 16:15:41 +02:00
Bogdan Fazakas
a770fdac55
merged publish-algo into issue398-validate-dockerImages
2021-02-26 10:54:25 +02:00
Bogdan Fazakas
d9b5355ba7
updated key name for private algo in metadata preview
2021-02-25 23:08:40 +02:00
Bogdan Fazakas
cdd5c5cf16
WIP validate for dockerhub images and 3rd party images
2021-02-25 23:05:30 +02:00
Norbi
042e40eeb6
displayed Docker Image, used MetadataMain type interface for asset type
2021-02-25 20:15:42 +02:00
claudia.holhos
6eaf2efd95
eliminate no price elements on both price filters set
2021-02-25 17:10:19 +02:00
433af0147a
switch IPFS gateway ( #404 )
...
* switch to dweb.link for loading 3Box profile images
* ipfs.oceanprotocol.com has been deprecated
2021-02-25 16:00:42 +02:00
Bogdan Fazakas
9b78e46c97
Merge pull request #402 from oceanprotocol/issue397-form-persistance
...
save form values for both publish forms
2021-02-25 15:29:10 +02:00
Bogdan Fazakas
90787e9031
fixed reset form & cover flow where algorithm form is clear
2021-02-25 14:21:05 +02:00
e5b71046db
small global color tweaks
2021-02-25 13:16:32 +01:00
claudia.holhos
2283148e6d
code refactoring
2021-02-25 14:14:21 +02:00
Norbi
bee7c1ecbf
changed way to get accessType, asset type declaration
2021-02-25 13:46:20 +02:00
Bogdan Fazakas
9b67c951c2
added default values for docker image/tag/entrypoint
2021-02-25 11:12:18 +02:00
Norbi
a9e1ff1dbb
AssetType changes, moved to MetaMain
2021-02-25 10:55:38 +02:00
claudia.holhos
99e0cb78e2
select multiple options
2021-02-24 20:32:18 +02:00
Bogdan Fazakas
7ef538818a
hide image/tag/entrypoint when pre-defined docker image is selected
2021-02-24 16:56:22 +02:00
Bogdan Fazakas
dca5b9f56c
fix persistance for both publish forms
2021-02-24 13:32:15 +02:00
Bogdan Fazakas
e92f759898
set default pre-defined docker image and renamed version field to docker image tag
2021-02-24 11:25:52 +02:00
claudia.holhos
2938a09454
select and deselect filter button
...
price and service filters combined
unselect filter on button
2021-02-23 23:51:02 +02:00
8f8870c829
tabs color tweak
2021-02-23 11:46:23 +01:00
70d3e26bab
Merge branch 'feature/compute' into publish-algo
2021-02-23 11:43:49 +01:00
Norbi
80ae4d2bd5
created AssetTypeDetails component and added it to asset details
2021-02-23 12:16:52 +02:00
e532ec3891
remove value reset on mount
2021-02-23 11:14:41 +01:00
e157278e37
form tabs thingy
2021-02-22 18:38:24 +01:00
193670ed5f
more tab switching
2021-02-22 16:43:16 +01:00
f79d8c2c91
content updates
2021-02-22 16:37:50 +01:00
41fd894ce6
output form titles
2021-02-22 16:28:56 +01:00
Norbi
4a35d08880
Merge branch 'feature/compute' into feature/algorithm-details-view
2021-02-22 17:25:09 +02:00
82a12a915d
refactor publish page for tab usage
2021-02-22 16:15:22 +01:00
claudiaHash
ce81777030
view algorithms on homepage ( #388 )
...
* view algorithms on homepage
* linting error fixed
* view algos on rinkeby/mainnet, added algos on search
* global color system tweak, apply on asset teaser system
* create subtle hierarchical distinction between background & content
* output asset type
* add asset type as css class
* bonus side effect: a nicer dark mode theme on OLED screens
* add icon assets
* compute/download icons added to asset teaser
* tooltip content fix
* tooltip content width fix
tooltip message shortened
* max-width added
* links renamed, all algos section removed
* datatoken tooltip removed
* spacing tweaks
* visual separation of asset & access type, flip order
* spacing/font size tweaks, aligning things
* fix search
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* light mode color tweak
* change dataset display name
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* data set label fixed
* query updated for data sets and algos
Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-02-22 16:25:27 +02:00
Bogdan Fazakas
2f1bd399f8
refactor metadata types for publish forms
2021-02-19 17:51:40 +02:00
Norbi
14942b5785
use action view changes by asset type
2021-02-19 16:25:49 +02:00
Bogdan Fazakas
5112a35524
fixed lint errors
2021-02-19 16:25:42 +02: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
Norbi
c731bab782
remove created files
2021-02-18 16:32:46 +02:00
Bogdan Fazakas
707045071a
added support for custom docker images
2021-02-18 14:53:32 +02:00
Norbi
7c30d974ad
WIP
2021-02-18 12:02:12 +02:00
28555ffd1b
lint fix
2021-02-18 09:53:54 +01:00
8430cb9ba2
Merge branch 'main' into feature/compute
2021-02-18 09:52:34 +01:00
Norbi
fe67af2dda
added pagination to Published list, used aquarius to get assets ( #377 )
...
* added pagination to Published list, used aquarius to get assets
* loading only when component mounts
* pagination style unification
* Auto stash before merge of "feature/add-pagination-to-published-section" and "origin/feature/add-pagination-to-published-section"
* removed unnecessary code
* fixed lint errors
* code climate fixes
* removed unused component
* added hook for network switch
* display bottom border for last table row
* trigger pagination calculation on network change
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-02-18 09:33:38 +01:00
Bogdan Fazakas
ee25e29de0
Redundant Boolean call
2021-02-17 15:42:22 +02:00
Bogdan Fazakas
7d25bc07ce
added keep algorith private checkbox
2021-02-17 15:31:26 +02:00
Norbi
44dbd51592
Added link to highest liquidity pool search ( #375 )
...
* Added link to highest liquidity pool search
* changed link name
* changed sections link and title texts
2021-02-16 15:50:39 +01:00
Bogdan Fazakas
4088a790fb
change publish type from data to dataset
2021-02-16 16:47:07 +02:00
Bogdan Fazakas
18cd6b6f01
WIP publish algorithm
2021-02-16 11:27:02 +02:00
claudiaHash
9991b6dfeb
Display TVL ( #353 )
...
* get pools data from graph
* TVL displayed
* ESlint fixes
* Code style fixed on App.tsx
* footer stats display changes
* ApolloProvider wrapping
* config subgraphUri verified
* pool number taken from graph
* Apollo provider fix
* Pools number set fixed
* deleted unused imports
* fix fetch, gatsby build
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove apollo client redundant init
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix prop
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update pool count
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* tooltip added
* small development config refactor
* make sure initial config is actually overwritten with local addresses
* log error on missing subgraphUri
* copy change
Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-02-11 14:30:29 +02:00
Bogdan Fazakas
e4a826cc7e
add publishType compoenents
2021-02-11 11:26:12 +02:00
Bogdan Fazakas
5433bfdbb3
added tab interface for data/algorith in publish page
2021-02-11 11:25:13 +02:00
Norby
b043eab047
Get pool shares using The Graph ( #360 )
...
* added graph query
* fixed negative liquidity value for input error
* used graph to get poolShares
* replaced total pool liquidity with user liquidity, get ddo on row
* get symbol from graph, calculate userLiquidity
* fixed userLiquidity price and sorted table by userLiquidity
* removed ordering by balance
* displayed pool and client liquidity, disabled table header hover
* order Your Liquidity before Pool Liquidity
* removed line height on asset title in pool shares table
* limit table to 5 rows, refactor liquidity comp, changed balance color
* code climate similar blocks fix
* changed lockedValue to valueLocked in pool shares query
* removed husky file
2021-02-10 17:16:24 +02:00
Bogdan Fazakas
3e2ad9674c
set default value for contentLenght if not received from provider ( #372 )
2021-02-10 14:24:16 +01:00
53d984a3b6
Fix development with Barge ( #369 )
...
* add contracts copying script
* AssetList failsafe against unexpected Aquarius responses
* grab dev contract addresses from address.json
* script fix
* fix auto-connection in NetworkMonitor
* update dev instructions
* remove the last_block Aquarius workaround
* fix providerUri switch in file input
2021-02-10 12:08:59 +01:00
claudiaHash
8946f6fa6b
Fix/url encoding categories tags ( #368 )
...
* tag encoding issue resolved
* search value encoded
* log deleted
Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
2021-02-08 14:25:22 +02:00
Norby
1f72fd3951
Feature/asset list isolated pagination ( #356 )
...
* isolated pagination using query
* made pagination hrefBuilder prop optional
* mad query prop optional, fixed TransactionHistoryPool import error
* removed pagination and url logic outsite AssetQueryList
* renamed AssetQueryList to AssetList, changed props
* used navigate from gatsby
2021-02-05 14:00:30 +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
claudiaHash
6bdf5b44e1
Feature/consume history ( #363 )
...
* populate table
* added OrdersData interfaces
* set consumer
* populate table
added OrdersData interfaces
set consumer
* query updated, logs removed
* removed "Title", added "Datatoken" column
* main branch merged
* table renamed and replaced
* unused css file removed
Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
2021-02-04 13:57:14 +02:00
a951f9bf3b
replace Travis with GitHub Actions workflow ( #358 )
...
* replace Travis with GitHub Actions workflow
* fix prettier on Windows
* remove PascalCasing bash one-liner for one use case
* use mkdirp to workaround Windows
* cache tweaks
* move s3 deploy to own workflow
* upload artifacts for debug
* path tweak
* debug
* apollo:codegen without folder pre-creation
* debug: activate s3 deploy for all branches
* pass env vars to deployment build
* more env var passing
* deploy main branch pushes only
2021-02-02 15:07:02 +02: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
ad864cc249
Dev experience tweaks ( #354 )
...
* add VS Code workspace settings
* add everything required for auto-formatting on filesave
* add list of suggested extensions
* add pre-commit hook for `npm run format`
* update code style docs
* make pre-commit work
* update docs
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-01-28 17:28:32 +01:00
mihaisc
05035d3cdc
remove ga ( #345 )
...
* remove ga
* remove from package
2021-01-28 14:11:08 +02:00
mihaisc
6122ad2121
fix search navigation on localhost ( #346 )
...
* fix search navigation on localhost
* fix navigate in asset query
2021-01-28 13:05:50 +02:00
mihaisc
79715df435
Pool tx history ( #307 )
...
* graphql
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ignore generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* delete generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update readme
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* pool creator liquidit& statistics
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* graph with the graph
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* cleanup
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update poll interval
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update graph url
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ocean bump
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* run apollo codegen before starting gatsby
* put back graph loading state
* typing fix
* graph tweak, add error state
* readme update
* remove unused functions, move graph provider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix package-lock
* fix graph when switching tabs
* generate apollo files into one folder
* fix loading
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* graph query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* tx query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix titles
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix text issues
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* local pagination
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* return refreshInterval to 10 sec
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix data set column
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-22 18:05:02 +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
mihaisc
273769388c
Pool statistics from the graph ( #288 )
...
* graphql
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ignore generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* delete generated
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update readme
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* pool creator liquidit& statistics
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* graph with the graph
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* cleanup
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix query
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update poll interval
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update graph url
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* ocean bump
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* run apollo codegen before starting gatsby
* put back graph loading state
* typing fix
* graph tweak, add error state
* readme update
* remove unused functions, move graph provider
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix package-lock
* fix graph when switching tabs
* generate apollo files into one folder
* fix loading
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix codegen camelcase
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump apollo packages
* document subgraph usage, add example
* rewrite into Data Sources, add quick examples
* more data sources docs
* docs updates, typos
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-21 16:02:48 +01:00
Bogdan Fazakas
83dca873f8
add sort filter features to search ( #322 )
...
* sort and filter working added ui element for filter
* added UI for filter and sort
* made sort and filter work with the new UI
* filter and sort inline style
* updated styling and linters
* added sort direction
* apply sort and filter when starting a new search and sort order style update
* fixed sort by price
* change sort order selector
change direction when click on a sort option instead of clicking on the arrow that shows actual sort direction
* added default sort to owner and tag search
* refactor getSearchQuery method
* refactor sort methods
* fixed lint errors
* updated styling for sort and filter components
* fixed lint
* apply dynamic filter when sorting by liquidity
* interaction & alignment styling
* style tweaks, legacy search layout styles removal
* refactor sort component and fixed browsing all datasets
also aded default sort params when browsing all data sets
* fixed lint issues
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-21 10:42:05 +01:00
Norby
0cad79ae97
cut asset teasers title length ( #309 )
...
* cut asset teasers title length, variable title font size on asset detail
* fixed linter errors
* changed title length to 2 lines in Asset teasers
* asset details long titles handle(wip)
* remove asset details title changes
* remove unused imports
2021-01-21 10:38:55 +01:00
b3b2ea9777
bump ocean.js & react hooks ( #327 )
...
* bump ocean.js
* adapt changes
* bump @oceanprotocol/react
* edit metadata tweaks
2021-01-19 14:34:52 +01:00
07f30108a7
package updates ( #319 )
...
* package updates
* bump lib & react
* 'fix' typing error
* seems Yup.SchemaOf does nos correctly handle Partial<Type>
2021-01-13 18:43:59 +02:00
mihaisc
ff34e263ef
Disconnect button ( #293 )
...
* disconnect button
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* styling
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-01-13 11:20:11 +01:00
claudiaHash
d1523a9065
Added create date for each asset card ( #308 )
...
* Added create/ update data for each asset card
* Code climate test fix
* Code styled after lint run
* Date moved to asset card footer
Co-authored-by: Claudia Holhos <holhos_claudia2001@yahoo.com>
2021-01-13 10:24:24 +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
828940776d
check correct pool ( #304 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-12-18 10:54:40 +02: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
b2f1af6e87
package updates and fixes ( #296 )
...
* package updates and fixes
* yup update for edit form
2020-12-10 15:28:46 +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
5824d35ef7
move purgatory asset warning and hide most metadata ( #287 )
...
* move purgatory asset warning, hide most metadata
* move copy, less metadata
* refactor
* move copy
* delay fix
2020-12-02 14:37:01 +01:00
f843641a45
More helpful output for Add Liquidity ( #277 )
...
* prototype
* add copy
* value update fixes
* calculation fun
* move copy
* move copy
* cleanup
* use Decimal
* fix
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2020-12-02 12:44:07 +01:00
26576fd188
Profile tweaks and fixes ( #278 )
...
* output emoji beside name
* spacing tweaks, fix tooltip arrow
2020-12-01 13:16:19 +01:00
fdf518401c
fix cropped graph on mobile ( #276 )
2020-12-01 11:42:49 +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
mihaisc
35d9b6faec
price optimizations and bug fixes ( #274 )
...
* price optimizations and bug fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* travis fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* rephrasing
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump react hooks, show price while checking if consumable
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
* fix travis
2020-11-26 16:02:42 +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
7325e093ad
refactor transaction titles ( #266 )
...
* refactor transaction titles
* refactor
* refactor
* bump @oceanprotocol/lib
* shorter getTitle
* remove util duplicate
* table tweaks
2020-11-20 11:29:42 +01:00
000a369fd2
Blink fixes ( #267 )
...
* badge fixes
* button fixes
2020-11-20 09:48:49 +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
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
476d13f009
optimize Bookmarks query ( #259 )
2020-11-17 14:52:10 +01:00
225613745c
hit Aquarius only when config is present ( #258 )
...
* hit Aquarius only when config is present
* more checks
2020-11-17 14:21:29 +01:00
7f2a5e7515
refresh interval tweaks ( #257 )
2020-11-17 13:10:12 +01:00
mihaisc
fa7de2eeb4
Fix trade ( #253 )
...
* oceanlib verbose
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* round 20
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* round 10
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* round 5
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* round 5
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* round 5
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* round 5
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* debug
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump lib
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* decimal 15
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove verbose
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-16 21:45:35 +02:00
3517ef845e
typo
2020-11-16 17:12:53 +01:00
mihaisc
bb80c4df78
Swap tokens ( #204 )
...
* swap
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* validation and calculation
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* refactor
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove unused effect
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix interval
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* increase refresh timer, remove optional params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* make inputs show up without wallet
* style fixes
* restyling
* styling
* more styling
* fix refresh price
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove test effect
* fixes, get data as early as possible from DDO and initial state
* refactor
* refactor
* refactor
* label tweaks
* copy
* typo
* prototype output
* remove price header
* ouput swap fee
* fix
* spacing
* copy
* refactor pool transaction titles
* copy
* update math
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* use messaging tweaks
* tab tweaks, output refactor
* fix dark mode selection style
* prototype output
* method tweaks
* slippage to 1%, added warnig banner
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* form tweaks
* error fix
* empty inputs by default
* longer intervals
* maxOcean validation fix
* slippage tolerance UI
* modified slippage UI
* refactor, refresh ocean user balance
* move typings/models around
* typing fix
* fixed output values
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* bump oceanlib
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
* remove placeholder
* tweak
* non-web3 browser tweak
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-11-16 16:21:15 +01:00
461fcaf8ae
Liquidity & price history graph ( #248 )
...
* graph prototype
* switch items
* liquidity history graph prototype
* more graph styling
* epoch times conversion
* get data in root component
* redraw fix
* more graph styling
* loading fix
* re-render fixes
* re-render fixes
* new Aquarius responses
* price graph and switch buttons
* spacing tweaks
2020-11-16 15:10: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
241f6c0df6
markdown render fixes ( #239 )
2020-11-11 19:00:07 +02:00
2190a8a9a5
move analytics id to environment variable ( #238 )
2020-11-10 16:52:26 +01:00
a19e7bca04
Default weight change to 70/30 ( #211 )
...
* dt weight tests
* update weights
* validation and defaults tweaks
2020-11-10 13:52:02 +01:00
eabb696f49
Remove slider quick wins ( #222 )
...
* make max display into max button
* effect refactor, get amountOcean as early as possible
* fix slider styles in Chrome
* max button fixes
* fix debounce
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
* lower threshold
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-10 09:50:05 +01:00
9f211a14d9
output weights in pool statistics ( #218 )
...
* output weights in pool statistics
* switch to more simple output
* output weights only when present
2020-11-09 17:49:09 +01:00
b3510230e9
More footer data ( #224 )
...
* output total datatoken liquidity in footer stats
* add build id to footer
* write out repo metadata before build
* build tweaks
* add title
* refactor
2020-11-09 14:31:04 +01:00
d47fd97536
fix pool share links ( #220 )
2020-11-06 16:56:22 +01:00
66984a575a
dark mode fixes ( #216 )
2020-11-05 21:49:31 +01:00
ad107c5415
Data Partners ( #214 )
...
* datapartners prototype
* output partner name on asset teasers
* badge, output partner data
* deprioritize pool badge
* teaser spacing tweaks
* styling
* carousel pattern
* carousel fixes
* styling tweaks
* cleanup, useDataPartner hook
* large screen fixes
* add partner badge to all data set list titles
* byline links tweaks
* byline tweaks
* switch list data source
* fixes, link to https://github.com/oceanprotocol/list-datapartners
* refactor
* refactor
2020-11-05 14:43:13 +01:00
mihaisc
b55362f309
incorrect link type ( #215 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 13:12:45 +01:00
mihaisc
35fd83de73
fix download button ( #213 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-11-05 12:56:41 +01:00
300aedc856
first aggregated stats ( #203 )
...
* first stats
* styling
* url change, error catching
* styling, more output
* refactor, refetch every 10 sec when in viewport
* copy
* add axios cancel token
* cancel token logging
2020-11-04 13:06:51 +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
8f1cde9c90
icon tweaks ( #200 )
2020-11-03 13:19:47 +01:00
79e76dddb0
fix min validation input bug ( #195 )
...
* fix min validation input bug
* tweak pool transactions number output so 0.00001 shows up
2020-11-02 20:24:58 +01:00
be8307f34d
User pool transactions on asset details ( #193 )
...
* refactored pool transactions component, output pool transactions on asset details
* styling
* remove sticky around asset actions
* hasAddedLiquidity simplification
* owner from useMetadata
* refactor, styling, number formatting
* refactor
* toggle pattern
2020-11-02 19:18:21 +01:00
a5b7c66331
re-fetch pool numbers every 10 sec. ( #191 )
...
* re-fetch pool numbers every 10 sec.
* visual indicator
* refresh values on remove screen
* show indicator only when ocean connected
* put back await
2020-11-02 11:58:05 +01:00
0c2bc9ad4e
lower min amount for adding ( #186 )
2020-11-02 11:24:08 +01:00
5166480157
table display fixes
2020-11-02 01:02:53 +01:00
7a1d8ea0df
reactivate smooth scroll-behavior
2020-10-31 20:42:17 +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
b48f3cc89d
mobile fixes
2020-10-31 00:56:03 +01:00
c92ec6bd94
search bar fixes
2020-10-31 00:55:39 +01:00
e95d8044c6
input size modifiers, add large
2020-10-31 00:55:00 +01:00
a670d3b2f1
default theme fix
2020-10-30 22:36:47 +01:00
983bc3a902
default theme fix
2020-10-30 22:34:39 +01:00
d655adb9f7
copy
2020-10-30 22:10:33 +01:00
74dc5b8081
logo fixes
2020-10-30 22:00:57 +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
08e2a3f22d
unify TokenList styles
2020-10-30 15:27:14 +01:00
8b3f16fac9
output owner on asset details ( #180 )
2020-10-30 14:58:36 +01:00
24cd36b2be
price display tweaks
2020-10-30 14:10:21 +01:00
0134610dbe
remove conversion display from pool price
2020-10-30 14:03:40 +01:00
22cb980207
fix remove screen styles
2020-10-30 13:46:52 +01:00
mihaisc
5b3002fd82
add creator liquidity ( #178 )
...
* add creator liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove comments
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* check price update
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-30 14:39:00 +02:00
e96d782917
Add warning to Add Liquidity screen ( #177 )
...
* refactor add form, warning component
* dismissable alert
* prototype default warning screen
* add copy, finalize styling
* remove dismiss x
2020-10-30 13:31:27 +01:00
mihaisc
290e43199c
change weights ( #169 )
...
* change weights
* new defaults
* your liquidity fix
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2020-10-30 11:50:50 +01:00
551f4ab7ee
add back balance check for all use actions ( #166 )
2020-10-29 21:34:53 +01:00
9d681fc594
bookmarks fix
2020-10-29 20:45:57 +01:00
2ec825d255
table display tweaks
2020-10-29 20:42:21 +01:00
8eb1023447
boomarks title fix
2020-10-29 19:25:51 +01:00
mihaisc
d8dfe88e2a
refresh price and pool info ( #164 )
...
* refresh price and pool info
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* lib update
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove unused dependencies
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.log
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-29 15:53:27 +01:00
0065d7b3da
Pool shares list ( #163 )
...
* refactor
* pool shares component
* bump ocean.js
* output shares and prices
* styling
* refactor
* bump ocean.js
* bump react hooks
2020-10-29 15:12:05 +01:00
a9550e1331
add a debounce to remove liquidity slider
2020-10-29 12:42:19 +01:00
eae81505f6
remove metadataCacheUri output from empty messages
...
* closes #134
2020-10-29 12:00:10 +01:00
c849fd0396
network agnostic bookmarks ( #162 )
...
* network agnostic bookmarks
* bookmark data structure migration
2020-10-29 11:39:42 +01:00
86ca66d2cb
add bookmark to beginning of array instead of end
2020-10-29 00:40:46 +01:00
a95a35bd7b
fix bookmarks empty state
2020-10-29 00:13:33 +01:00
0972944e03
Bookmarks ( #159 )
...
* handle pinned items in UserPreferencesProvider
* prototype add/remove pins
* output pins
* pins → bookmarks
* styling
* output datatoken info
2020-10-28 23:59:14 +01:00
a80c6ff5e8
output datatoken symbol on asset teaser
2020-10-28 23:43:04 +01:00
060862602b
markdown display tweaks
2020-10-28 19:11:34 +01:00
7af9ac6974
Merge pull request #152 from oceanprotocol/fix/paginationSearch
...
correct number of items on page
2020-10-28 13:08:35 +01:00
0695390c41
fix remove liquidity message
2020-10-28 13:02:24 +01:00
f01f885884
multiple remove liquidity fixes
...
* never go more than 100% in slider
* fix removing OCEAN
2020-10-28 12:57:06 +01:00
mihaisc
0540bad3fd
correct number of items on page
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-28 13:33:53 +02:00
8fb4f258db
refactor conversion to use PricesProvider
2020-10-28 11:00:06 +01:00
47bd08e7a9
create price provider
2020-10-28 10:32:56 +01:00
fd1a7f263a
cleanup
2020-10-27 21:05:09 +01:00
e57f675282
checkPreviousOrder fix
2020-10-27 20:58:20 +01:00
aff25b7954
lower allowed OCEAN amount to add
2020-10-27 19:16:59 +01:00
mihaisc
ae84db194c
fix
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 20:03:19 +02:00
mihaisc
70caeb5d80
fixed price and gas estimate
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 19:56:14 +02:00
b2cd4fc79e
fix etherscan links
2020-10-27 18:07:19 +01:00
a81d7b9d8b
disable whole effect
2020-10-27 17:34:22 +01:00
960d20d1ea
disable user balance check for buy
...
* quick hack for #145
2020-10-27 17:30:40 +01:00
mihaisc
b600e4cd44
remove copyright
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 14:01:52 +02:00
mihaisc
be005e0936
remove license
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-27 13:56:43 +02:00
a3c7e7abe7
update banner link
2020-10-27 12:16:37 +01:00
mihaisc
01d729b130
Merge pull request #139 from oceanprotocol/fix/addLiquidityEstimates
...
correct pool shares
2020-10-26 22:31:04 +02:00
mihaisc
599e11aed7
remove forgotten console
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 22:23:25 +02:00
mihaisc
adcef8d15e
fix
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 22:21:38 +02:00
5a7488fa04
refactor add form
2020-10-26 20:54:07 +01:00
ce9923f80c
another row of highest liquidity pools
2020-10-26 20:23:26 +01:00
mihaisc
478e18c68d
fix
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 21:12:07 +02:00
mihaisc
9973ba09b3
Merge branch 'main' into fix/addLiquidityEstimates
2020-10-26 21:05:21 +02:00
mihaisc
93d141f91f
correct pool shares
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-10-26 21:04:49 +02:00
d6e9e7f7c9
disable compute starting for now
2020-10-26 19:51:07 +01:00
2b6759c3a2
remove debug
2020-10-26 19:30:51 +01:00
a76fb0342b
Merge pull request #138 from oceanprotocol/feature/first-price
...
Display firstPrice helper upon dynamic price creation
2020-10-26 19:29:33 +01:00
30ebed4e29
firstPrice styling
2020-10-26 19:17:20 +01:00
2ac9a7cf1b
price output
2020-10-26 19:04:40 +01:00
0658b656b1
change swapFee calculation
2020-10-26 18:57:57 +01:00
4585fecb1f
effect dependencies
2020-10-26 18:49:16 +01:00
2c27d955d9
formula update
2020-10-26 18:48:08 +01:00
77e1d08a08
prepare displaying firstPrice
2020-10-26 18:44:32 +01:00
411923373a
disable add input by default
2020-10-26 18:31:54 +01:00
1fa6303850
fix fallback etherscan link
2020-10-26 18:27:34 +01:00