Commit Graph

1796 Commits

Author SHA1 Message Date
mihaisc 2d7584648d
Fix headers (#1663)
* test

* test

* test

* test

* test

* test

* test
2022-08-29 18:19:21 +03:00
EnzoVezzaro 66212c264c
Merge pull request #1656 from oceanprotocol/fix/issue-1648-spelling-dataset
change label 'data set' with 'dataset'
2022-08-17 06:39:02 -04:00
EnzoVezzaro 587fd80193 change dataset with asset in readme 2022-08-17 06:11:21 -04:00
EnzoVezzaro f5514bbc1d change label 'data set' with 'dataset' 2022-08-15 09:57:53 -04:00
Matthias Kretschmann 4d119467a4
refactor price context to fetch multiple tokens (#1573)
* refactor price context to fetch multiple tokens

* fixes

* move tokenIds to app config

* make conversion work

* conversion for all user tokens, hide if 0

* different user balance key tactic

* remove NFT gas estimation

* closes #1633

* small simplification in getCoingeckoTokenId logic

* basic Prices provider test

* mock some hooks

* mock MarketMetadata in all tests
2022-08-12 14:11:33 +01:00
Jamie Hewitt 2f93d84e5f
Adding links to the docs on forking ocean market (#1649) 2022-08-12 10:38:56 +01:00
mihaisc 27517faea2
fix tag search (#1651) 2022-08-12 10:38:13 +01:00
mihaisc dc4add5c70
minor fixes (#1639)
* minor fixes

* error fix

* add loading

* add price loading

* remove console.log

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-09 15:45:28 +03:00
Luca Milanese 52ad877b13
Dynamic token list support for publishing (#1516)
* feat: add approved tokens list query to subgraph

* feat: add base token selector

* feat: add placeholder tooltip message for base token

* feat: use user selected base token for publish

* fix: publish constants

* feat: update base token query to include digits and symbol

* feat: display correct token name and symbol in publish pricing tab

* fix: publish preview token name

* fix: query type

* feat: add balance fetch for all approved tokens

* fix: balance check for dynamic price with alternative base tokens

* feat: update balance to show baseToken instead of ocean

* fix: default baseToken in publish form

* feat: update text content for pricing publish step

* chore: update ocean.js

* add decimals to token

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

* fix dt decimals

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

* update ocean.js

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

* fix: show correct basetoken symbol under button buy

* refactor: move baseToken selector to input label [WIP]

* refactor: preserve baseToken value value when switching tabs

* remove basetoken tooltip from content json

* fix: price props

* refactor: remove BaseToken component

* fix: baseToken name on first load

* fix: baseToken display name in dynamic price

* fix: conversion tooltip text

* fix: error box overlapping in Coin component

* feat: add token logo component

* feat: add basetoken logo to asset actions pool

* fix: token images size

* fix: add default appproved token list when disconnected or chainId not supported

* fix: datatoken logo on asset details meta

* refactor: balance fetch + move approved base tokens list in web3 provider

* feat: update all datatokens to display ocean logo in violet

* fix: show correct logos on polygon

* fix wallet, remove dynamic

* fix build

* fix: reset baseToken on chainId change during publish

* fix: price tabs selection indicator

* feat: set the ocean token as default in pricing

* add baseToken

* fix price

* remove firstPrice

* cleanup, more affordance for token dropdown

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-08-03 13:48:57 +01:00
EnzoVezzaro eb29c4ce3b
Remove AMM Pools (#1614) 2022-08-02 10:53:22 +01:00
dependabot[bot] 8edd61bfa7
Bump eslint from 8.17.0 to 8.21.0 (#1630)
Bumps [eslint](https://github.com/eslint/eslint) from 8.17.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:53:06 +01:00
dependabot[bot] 1eb684c007
Bump react-spring from 9.4.5 to 9.5.2 (#1629)
Bumps [react-spring](https://github.com/pmndrs/react-spring) from 9.4.5 to 9.5.2.
- [Release notes](https://github.com/pmndrs/react-spring/releases)
- [Commits](https://github.com/pmndrs/react-spring/compare/v9.4.5...v9.5.2)

---
updated-dependencies:
- dependency-name: react-spring
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:25:01 +01:00
dependabot[bot] 7fad12c370
Bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.31.0 (#1628)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.27.1 to 5.31.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.31.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:24:09 +01:00
dependabot[bot] 8c6463c393
Bump date-fns from 2.28.0 to 2.29.1 (#1626)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.28.0 to 2.29.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.28.0...v2.29.1)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:23:49 +01:00
dependabot[bot] 6ee019e2ec
Bump eslint-config-oceanprotocol from 2.0.1 to 2.0.3 (#1625)
Bumps [eslint-config-oceanprotocol](https://github.com/oceanprotocol/eslint-config-oceanprotocol) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/oceanprotocol/eslint-config-oceanprotocol/releases)
- [Changelog](https://github.com/oceanprotocol/eslint-config-oceanprotocol/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oceanprotocol/eslint-config-oceanprotocol/compare/v2.0.1...v2.0.3)

---
updated-dependencies:
- dependency-name: eslint-config-oceanprotocol
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:23:31 +01:00
mihaisc 6ea0e46840
Fix long title (#1606)
* slice title in teaser

* title tweaks

* remove dotdotdot
2022-07-28 18:34:34 +03:00
Corrie Sloot ed665befc7
add dataset search (#1358)
* First-class integration of market with Google Dataset Search.

* Move schema to new SEO section

* fix Unsafe usage of optional chaining
2022-07-27 16:32:42 +01:00
Bogdan Fazakas e04cd8196c
Merge pull request #1615 from oceanprotocol/container-checksum-fixes
Container checksum fixes
2022-07-27 08:08:52 +03:00
EnzoVezzaro 4baee6aaff
catch nft state on asset detail (#1601)
* catch nft state

* use warnings for nft state

* update disabled message

* changes to messages

* removed case 4

* change message title

* fix similar block codeclimate

* restore `error` state instead of `warning`

* removed unnecessary warning state

* removed warning completely
2022-07-26 13:48:30 +02:00
Bogdan Fazakas 6bc957f2a6 call initialize and price and fees in start compute to prevent use case when users validUntil to expire 2022-07-26 10:33:21 +03:00
dependabot[bot] 09f21eb917
Bump terser from 4.8.0 to 4.8.1 (#1612)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 15:19:25 +02:00
EnzoVezzaro e401770645
removed dynamic pricing and pools references in readme (#1610) 2022-07-25 11:13:35 +02:00
mihaisc 0a94f72bc8
sort by nft.created not metadata (#1605) 2022-07-25 11:05:47 +02:00
Bogdan Fazakas ecf78758c5 removed commented code 2022-07-22 07:02:28 +03:00
Bogdan Fazakas 8ec4f858ab removed console logs 2022-07-22 06:51:14 +03:00
Bogdan Fazakas c1534f402b merge ordering logic PR and use fixed version till we merge the publish form updates 2022-07-22 06:48:58 +03:00
Bogdan Fazakas 2632e7ed0f merge main 2022-07-22 06:41:40 +03:00
Bogdan Fazakas ff31eac5c4 merge main 2022-07-22 06:41:10 +03:00
EnzoVezzaro 3a8e8b30c9
fix margin tx history (#1613) 2022-07-21 03:45:21 -07:00
Bogdan Fazakas 7902e13e59 container fixes 2022-07-20 10:11:02 +03:00
mihaisc cf3d268bef
remove tvl from footr (#1596)
* remove tvl from footr

* add tooltip

* add space back
2022-07-13 16:00:07 +03:00
EnzoVezzaro 7788086bcc
removed dynamic price on publish, liquidity button and trade tab (#1593)
* removed dynamic price on publish, liquidity button and trade tab

* change label remove button

* removed dynamic pricing model references

* revert useEffects on pricing publish

* removed more references to dynamic pricing
2022-07-12 19:52:45 +03:00
mihaisc 16b391e656
fix edit price (#1592)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-07-12 15:31:57 +03:00
Bogdan Fazakas 5c04ae6534
Merge pull request #1585 from oceanprotocol/feature/file-checksum-strategy
Update files checksum logic
2022-07-11 16:35:21 +03:00
Bogdan Fazakas 987ec6deae bump oceanlib to 1.1.6 and fix lint 2022-07-11 14:45:30 +03:00
Bogdan Fazakas 5d63410e40 merge main 2022-07-11 14:20:37 +03:00
EnzoVezzaro 5c35d25b4b
ignore purgatory when on getPublishedAssets (profile screen) (#1580) 2022-07-08 05:28:44 -07:00
Bogdan Fazakas 5a25e9a1cc merge main 2022-07-08 11:20:05 +03:00
Bogdan Fazakas 3d541e7038 update filechecksum logic 2022-07-08 07:43:58 +03:00
Matthias Kretschmann f2407016de
mention legacy-peer-deps (#1582) 2022-07-07 14:49:44 +01:00
Matthias Kretschmann 25bdee16b9
static HTML for S3 deployment (#1581)
* static HTML for S3 deployment

* deploy `.out` folder
2022-07-07 14:49:33 +01:00
Matthias Kretschmann f8bbda0594
conditionally output totalSales (#1578) 2022-07-06 15:59:38 +03:00
dependabot[bot] 6ae584212f
Bump parse-url from 6.0.0 to 6.0.2 (#1575)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-06 11:31:36 +01:00
EnzoVezzaro 1a3d18460f
added total orders on teaser (#1570) 2022-07-05 18:49:47 +01:00
EnzoVezzaro 42956a3441
restored "Publishers with most sales" section (#1540)
* updated subgraph query

* rework AccountList

* fix missing 'a' elem in dom (<Link> is not rendering correct markup)

* restore PublishersWithMostSales section

* removed unnecessary params in AssetList

* use Blockies for all profile.image

* changed logic on getTopAssetsPublishers

* added aggregations op to getTopAssetsPublishers method

* fix build issues

* improve logic & added correct total sales on profile

* removed complex logic to unify query

* typography & markup cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-07-05 13:49:35 +01:00
Bogdan Fazakas 85013c1198 Merge branch 'main' into fix/change-c2dorders-order 2022-07-05 09:58:00 +03:00
Bogdan Fazakas fccf097126 use proper docker hub images 2022-07-05 09:22:16 +03:00
dependabot[bot] 2d2ad78f89
Bump react-data-table-component from 6.11.8 to 7.5.2 (#1503)
* Bump react-data-table-component from 6.11.8 to 7.5.2

Bumps [react-data-table-component](https://github.com/jbetancur/react-data-table-component) from 6.11.8 to 7.5.2.
- [Release notes](https://github.com/jbetancur/react-data-table-component/releases)
- [Commits](https://github.com/jbetancur/react-data-table-component/compare/v6.11.8...v7.5.2)

---
updated-dependencies:
- dependency-name: react-data-table-component
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* refactor for new major versions

* fully typed styles

* border fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-07-04 15:48:54 +01:00
mihaisc 2e1618db3f
fix rounding when calc max (#1564) 2022-07-01 21:46:37 +01:00
mihaisc 423a4d90ac
proper null check for sales (#1563) 2022-07-01 10:56:36 +01:00