Commit Graph

1808 Commits

Author SHA1 Message Date
Matthias Kretschmann 365618f5d9
CI tweaks 2022-09-22 14:22:31 +01:00
Matthias Kretschmann 4512be9781
Fix `npm install` (#1700)
* switch to @oceanprotocol/use-dark-mode

* apollo fixes

* testing updates
2022-09-21 12:58:28 +01:00
dependabot[bot] 2abbff9676
Dependency fixes (#1687)
* Bump eslint-plugin-testing-library from 5.5.1 to 5.6.4

Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library) from 5.5.1 to 5.6.4.
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases)
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json)
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v5.5.1...v5.6.4)

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

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

* dependency fixes

* typing error fixes

* closes #1694

* upgrade/downgrade all the things

* package updates
* remove storyshot test runs, replace with basic render tests

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-09-20 18:53:34 +01:00
EnzoVezzaro 4dca7d3442
update market to ocean.js@2.0.2 (#1661)
* update ocean js

* refactoring ocean.js 2.0.0

* removed deleted method

* added type in publish utils

* fix FixedRateExchange parameters

* use 2.0.0 lib version

* remove cast on approveWei and fix algo asset selection list issue

* bump oceanlib to 2.0.1

* bump oceanlib to 2.0.2

Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-09-13 12:19:56 +03:00
EnzoVezzaro 939c8aad0d
unsupported networks (#1678) 2022-09-12 10:23:53 +03:00
EnzoVezzaro 0c9b276247
Merge pull request #1660 from oceanprotocol/fix/issue-1659-publish-fails-connection
fix publishing when connecting wallet on publish form
2022-09-08 08:36:26 -04:00
Ana e29b153589
Merge pull request #1670 from oceanprotocol/remove_v3_link
Remove v3 link
2022-09-02 14:10:31 +03:00
mihaisc d7d1dabf4c remove link 2022-09-01 17:13:28 +03:00
mihaisc 2d7584648d
Fix headers (#1663)
* test

* test

* test

* test

* test

* test

* test
2022-08-29 18:19:21 +03:00
EnzoVezzaro 7a3c7a9927 cleanup 2022-08-24 11:12:53 -04:00
EnzoVezzaro 419234ab64 removed changing steps 2022-08-24 06:52:32 -04:00
EnzoVezzaro 245ccfe5e4 fix reset pricing on tx execution 2022-08-24 06:22:57 -04:00
EnzoVezzaro f8a6edc3c6 fix publishing when connecting wallet on publish form 2022-08-23 07:08:12 -04: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