Commit Graph

2228 Commits

Author SHA1 Message Date
mihaisc c110f92cf6
fix networks (#1731) 2022-10-07 16:14:05 +03:00
mihaisc b38f30a67a
Add top allocations (#1722)
* add top

* copy, section move

* asset teaser prototyping

* more moving elements around

* copy

* allocated on asset details stats area

* ve networks "hacks"

* fix type

* added hacks to display top allocation

* fixed chainIds

* remove comment

* add ve in asset stats

* remove console

* added formating and totals

* update total allocated

* update allocation

* fixed numbers

* fix build

* added teaser warn when no price

* number formatting

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-07 12:11:50 +01:00
EnzoVezzaro 3ad213c444 Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks 2022-10-07 06:56:47 -04:00
mihaisc b505bddb4b Merge branch 'main' into feature/enforce-docker-containers 2022-10-07 12:17:41 +03:00
Luca Milanese 52eaee0ad5
Feat: autocomplete tags functionality (#1471)
* feat: add autocomplete tag component

* feat: pass tags aggregated list to autocomplete component

* feat: add initial styling to autocomplete tag component

* fix: autocomplete style types

* feat: move styling elements to module.css file

* feat: update placeholder text for tag input field

* feat: add default value to tags if present

* feat: add edit tags functionality

* fix: default tag value

* fix: style for automplete menu's keyboard navigation

* fix: tags aggregation query size

* feat: return sorted tags aggregated list suggestion in publish

* fix: set tags value touched state in edit mode

* add package back

* enhancement: autocomplete tag component config (#1679)

* fix publishing when connecting wallet on publish form

* fix reset pricing on tx execution

* removed changing steps

* cleanup

* Fix headers (#1663)

* test

* test

* test

* test

* test

* test

* test

* remove link

* enhancement: tag autocomplete settings

* feat: add cursor type text

* feat: tweak filter and sort for matched tags

* fix: tags input font color

* fix: tag autocomplete component input color

Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Ana <84312885+AnaLoznianu@users.noreply.github.com>

* fix lock

* test

* fix

* fix

* minor fixes

* fix cursor on remove item (x)

* style updates

* UX tweaks

* start suggestions upon first key stroke
* remove redundant help tooltip
* change placeholder copy
* remove input clear action

* edit updates

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
Co-authored-by: Ana <84312885+AnaLoznianu@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-05 15:40:00 +01:00
dependabot[bot] c8b8db9b52
Bump filesize from 9.0.11 to 10.0.5 (#1718)
* Bump filesize from 9.0.11 to 10.0.5

Bumps [filesize](https://github.com/avoidwork/filesize.js) from 9.0.11 to 10.0.5.
- [Release notes](https://github.com/avoidwork/filesize.js/releases)
- [Changelog](https://github.com/avoidwork/filesize.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/avoidwork/filesize.js/commits)

---
updated-dependencies:
- dependency-name: filesize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* fix filesize usage

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-10-03 13:54:51 +01:00
Matthias Kretschmann 8029a8b999
add Görli, remove Rinkeby & Ropsten (#1704)
* add Goerli, kick out Ropsten & Rinkeby

* bump @oceanprotocol/lib to v2.1.0

* bump to ocean.js v2.1.1

* bump eslint-config-oceanprotocol to v2.0.4

* put back Rinkeby & Ropsten to supported networks

* hacky hack to make OCEAN balance work all the time

* Revert "hacky hack to make OCEAN balance work all the time"

This reverts commit 4914314288b09b2844bb1baa18212c49f41cb8ff.

* remove rinkeby & ropsten

* fix chainIds data migration
2022-10-03 12:08:37 +01:00
dependabot[bot] ff2c1670f2
Bump @typescript-eslint/parser from 5.38.0 to 5.38.1 (#1721)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.38.0 to 5.38.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.38.1/packages/parser)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 02:55:08 +01:00
dependabot[bot] 340ea44f04
Bump @typescript-eslint/eslint-plugin from 5.38.0 to 5.38.1 (#1717)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.38.0 to 5.38.1.
- [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.38.1/packages/eslint-plugin)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 02:24:16 +01:00
dependabot[bot] a768250c60
Bump jest from 29.0.3 to 29.1.2 (#1719)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.3 to 29.1.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.1.2/packages/jest)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-01 02:23:50 +01:00
EnzoVezzaro ecffa47ed4
Merge pull request #1714 from omahs/patch-2
Fix: typos
2022-09-30 07:48:29 -04:00
omahs 1e24327369
Fix: typos
Fix: typos
2022-09-30 11:49:41 +02:00
Bogdan Fazakas cc47e48b4d add more error handlers 2022-09-28 15:47:43 +03:00
Bogdan Fazakas afbc42068c fix repetitive requests 2022-09-28 15:10:01 +03:00
Matthias Kretschmann ccab96b0ef
remove v3 asset check (#1712) 2022-09-28 12:20:09 +01:00
Bogdan Fazakas f2808b1dea disable checksum imput when fetched 2022-09-28 12:50:22 +03:00
Bogdan Fazakas af89fbbd01 update placeholder 2022-09-27 17:09:53 +03:00
Bogdan Fazakas 9fbe671574 Merge branch 'main' into 'feature/enforce-docker-containers' 2022-09-27 16:54:39 +03:00
EnzoVezzaro 74a9d074ed
fix file validation on edit form (#1677)
* split validation / constants

* some minor refactor

* fix edit form (duplication ErrorMessage)

* fix Feedback UI

* remove logs

* fix empty space when loading total sales

* added isTrue to valid

* remove hardcoded FileInfo typing in publish and edit

* fix more FileInfo typing

* fix missing error message on inputs
2022-09-26 14:01:51 +01:00
dependabot[bot] e9ff108ea3
Bump next from 12.1.6 to 12.3.1 (#1698)
* Bump next from 12.1.6 to 12.3.1

Bumps [next](https://github.com/vercel/next.js) from 12.1.6 to 12.3.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.1.6...v12.3.1)

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

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

* fix test runs

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-23 13:59:13 +01:00
Matthias Kretschmann 228ff19056
tweak sanitizeUrl() (#1703)
* tweak sanitizeUrl()

* add test
2022-09-23 10:05:52 +01:00
Matthias Kretschmann 92b7063b3d
ENS integration, the right way (#1410)
* prototype getting ENS names the right decentralized way

* get all profile metadata with ENS

* refactor account display in context of top sales list

* support almost all default text records

* refactor text record fetching

* more web3 calls reduction

* package cleanup

* add Publisher component test, mock out ens utils

* remove mock to run @utils/ens directly

* add Avatar stories

* cleanup

* rebase fixes

* profile loading tweaks

* fixes

* merge cleanup

* remove @ensdomains/ensjs

* fetch ENS data from proxy

* update avatar tests

* tweak error catching for all axios fetches

* test tweaks

* api path fix

* fetching fixes

* account switching tweaks

* remove unused methods

* add ENS fetching tests

* jest timeout tweak

* update readme
2022-09-22 19:18:32 +01:00
EnzoVezzaro 5b2bb3045e
added N/A for negative values as well as missing data (#1691)
* added N/A for negative values as well as missing data

* added N/A in teaser for negative orders count

* added N/A to profile and asset teaser

* change typing on Conversion and PriceUnit

* remove log

* removed unnecessary check on price value
2022-09-22 17:17:12 +01:00
EnzoVezzaro fa17458d9c
Merge pull request #1702 from oceanprotocol/feature/ci-tweaks
CI tweaks
2022-09-22 09:52:33 -04:00
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
Bogdan Fazakas 4789259947 update text 2022-09-20 22:24:16 +03: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
Bogdan Fazakas 2ac422f175 more ui touches 2022-09-20 17:32:55 +03:00
Bogdan Fazakas fe4aa79ffb fix default images 2022-09-20 11:30:11 +03:00
Bogdan Fazakas 3edf45d87d fix build 2022-09-20 10:43:17 +03:00
Bogdan Fazakas ac4ed257af more UI updates 2022-09-20 10:32:17 +03:00
Bogdan Fazakas 45eea31d66 WIP enforce docker container 2022-09-19 15:54:07 +03: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
EnzoVezzaro 8587535a44 adding placeholder file url in edit form 2022-08-15 09:28:26 -04:00
EnzoVezzaro 95199054f8 adding links validation in edit form 2022-08-15 09:02:54 -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