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
095cf064c8
downgrade gatsby ( #339 )
...
* down gatsby
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix travis
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-01-26 23:00:54 +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
7b854e09dd
bump ocean libraries, vulnerability bumps ( #329 )
2021-01-21 17:04:49 +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
cfb957d3ef
add Contributing section ( #323 )
2021-01-20 16:31:04 +02:00
2f6906c208
Create codeql-analysis.yml ( #321 )
2021-01-20 14:57:14 +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
Trent McConaghy
50f15fa294
Update README.md
2021-01-05 10:26:35 +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
mihaisc
54feaebc5a
fix consume ( #285 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2020-12-02 12:10:12 +02: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
bdd9f92d07
bump @oceanprotocol/lib
2020-11-16 18:12:49 +01: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