1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
Commit Graph

1553 Commits

Author SHA1 Message Date
Bogdan Fazakas
cd20fa0d53 merge main 2022-11-07 17:10:43 +02:00
Bogdan Fazakas
124fd1d137
Fix compute asset selection lists (#1773)
* fix compute asset selction lists

* Update src/@utils/assetConvertor.ts

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>

* use propper const

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-07 12:07:42 +00:00
56f5e77c49
Tests for @shared components (#1737)
* asset teaser test, story, useUserPreferences Jest mock

* fixtures & mocks

* more tests

* cleanup

* more tests

* more tests

* more tests

* more tests

* typing fix

* package updates

* reorg

* more tests

* more tests

* more tests

* more tests

* reorg, more tests

* reorg fixes

* more tests

* rebase fix

* subgraph query typing fix

* restore some storybook stories

* more tests

* more tests

* package lock fix

* graphql override
2022-11-04 15:52:40 +02:00
Jamie Hewitt
a042387804
Ensuring the market doesn't crash when asset has no services (#1768)
* Ensuring the market doesn't crash when asset has no services

* Showing no pricing schema available when there are no services for an asset

* Shoing No file info available when there are no services available

* removing logs

* early return if asset has no services
2022-11-02 15:40:55 +00:00
Bogdan Fazakas
c780411b74
C2D fixes (#1715) 2022-11-02 15:24:20 +00:00
EnzoVezzaro
7fc5418189 block validation link when hosting is on g drive 2022-11-02 06:32:35 -04:00
Jamie Hewitt
d1e3fa9afa
Checking for google drive links (#1757)
* checking for google drive links

* Removing unused function

* Update src/components/Publish/_validation.ts

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>

* CHecking for google drive URLs on the edit form

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-01 15:00:07 +00:00
Jamie Hewitt
0df5440b06
Simplifying comparison (#1758) 2022-11-01 12:54:42 +02:00
mihaisc
5c02da8597
ignore assets with state 5 (#1749)
* ignore assets with state 5

* hide in profile for other users

* fix display on own account

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-26 09:45:20 +01:00
mihaisc
51b167fb14
update ocean.js to v2.4.0 (#1751) 2022-10-25 10:16:28 +01:00
EnzoVezzaro
508d615855
Merge pull request #1655 from oceanprotocol/feature/issue-1244-edit-ui
adding UI for field files / links in edit form
2022-10-25 05:03:48 -04:00
mihaisc
af93b561ad
Disable ordering when state is 4 (#1746)
* fix state 4

* update var name

* fix typo
2022-10-19 13:53:24 +01:00
EnzoVezzaro
16d7077c9f Merge branch 'main' into feature/issue-1244-edit-ui-links-validation 2022-10-19 07:03:39 -04:00
EnzoVezzaro
7b13f84a7f removed unnecessary required 2022-10-19 06:59:21 -04:00
mihaisc
67621f5639
Various veOCEAN features (#1743)
* change top message, fixes, allocations

* lock ocean tooltip

* asset stats tweaks

* front page allocations refactor

* wording, run empty table messages through markdown

* footer stats tweaks

* profile tinkering

* fix allocations in table

* Tweak lock action logic

* fix allocation 0

* sort by allocation

* search ordering fixes

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-17 15:56:03 +01:00
EnzoVezzaro
52a69a1e37 refactor default values (files / links) edit form 2022-10-17 09:41:39 -04:00
EnzoVezzaro
cf0c31fc7b fix submit button disabled 2022-10-13 09:30:45 -04:00
83d83447b6
space saving tweaks for asset teaser (#1742) 2022-10-13 09:42:10 +03:00
68a5e9dd42
fix search icon not being actionable (#1741) 2022-10-13 09:40:53 +03:00
Bogdan Fazakas
6489a8d956 Merge branch 'main' into fix/issue-1244-edit-ui 2022-10-12 17:04:11 +03:00
Bogdan Fazakas
8b108ea29f
Merge pull request #1696 from oceanprotocol/feature/enforce-docker-containers
Enforce docker container checksum in publish form
2022-10-12 15:35:58 +03:00
EnzoVezzaro
85b66c29b0
fix loading results on compute jobs (#1716)
* added interval and block spinner after initial loading

* refactor fetch jobs to fix loading issues

* restore compute jobs in profile

Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-10-10 15:55:37 +01:00
Bogdan Fazakas
c030f8ec7e Merge branch 'main' into feature/enforce-docker-containers 2022-10-10 16:18:34 +03:00
Bogdan Fazakas
618e021dc7 undo filesize thingy 2022-10-10 16:18:04 +03:00
Bogdan Fazakas
92aae397e6 requested changes 2022-10-10 15:59:32 +03:00
mihaisc
dafd5143ea
add top tags (#1730)
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-10 13:33:42 +01:00
Bogdan Fazakas
7eb3f2f479 Merge branch 'main' into feature/enforce-docker-containers 2022-10-10 13:23:44 +03:00
EnzoVezzaro
6809fd44e0
set default values in asset stats (#1733) 2022-10-10 12:52:57 +03:00
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
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
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
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
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
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
228ff19056
tweak sanitizeUrl() (#1703)
* tweak sanitizeUrl()

* add test
2022-09-23 10:05:52 +01:00
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
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
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