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

2155 Commits

Author SHA1 Message Date
marcoelissa
3dd26df240 Merge branch 'main' into orbis 2022-11-29 22:45:17 +07:00
Jamie Hewitt
b58cb36e00
Adding paymentCollector back into edit form (#1799) 2022-11-29 02:20:51 +00:00
EnzoVezzaro
aa8dcdaa79
fix edit form validation (#1797)
* fix edit form validation

* more validation edit form
2022-11-25 17:41:17 +01:00
EnzoVezzaro
f6d11e5e6f
adding ipfs / arweave support (#1765)
* support storage type publish

* adding storageType to edit form

* add IPFS type

* fix testst and rollback ipfs typing

* update oceanjs lib

* fix Ipfs type

* Update package-lock.json

* added graphql and smartcontract options UI (WIP)

* update package.json

* removed graphql and smartcontracts

* make various fixes for edit and publish with IPFS (missing Arweave)

* removed no-case-declarations lines

* moved ipfs utils

* renamed getFileUrlInfo to getFileInfo

* added is-ipfs to jest mock

* Update package-lock.json

* fix things

* npm is fun

* rename url to file in getFileInfo

* refactor publish form (storage type field)

* fix tab value when changing tabs

* refactoring edit form

* more refactor edit form

* fix edit validation

* fix validation when input is empty on edit form

* fix validation when loading asset in edit form

* change URL to file confirmed

* change messages based on service type

* Update form.json

* fix FileInput tests and added ipfs / arweave tests

* removed unnecessary comment

* Update index.tsx

* cleanup logic

* update @oceanprotocol/lib

* Update package-lock.json

* fix test error

* fix test assetsWithAccessDetails

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-25 15:07:55 +01:00
marcoelissa
19c5770ac9 fixed orbis createPost 2022-11-22 20:30:21 +07:00
dependabot[bot]
071948e0e6
Bump loader-utils from 1.4.1 to 1.4.2 (#1792)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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-11-20 15:03:35 +00:00
marcoelissa
8285249822 fix load older messages on DM scroll 2022-11-20 17:11:46 +07:00
marcoelissa
728f79cf69 Merge branch 'main' into orbis 2022-11-20 14:35:43 +07:00
marcoelissa
1e0985cf65 update orbis comment and DM components 2022-11-20 14:34:19 +07:00
EnzoVezzaro
8d17c30f41
Merge pull request #1786 from oceanprotocol/issue-1775-edit-paymentCollector
Allowing publisher to edit payment collector
2022-11-17 10:35:17 -04:00
EnzoVezzaro
35ead98cbf
Merge pull request #1766 from oceanprotocol/fix/issue-validation-g-drive-links
fix validation link field on edit view when the asset is already hosted on g drive
2022-11-17 06:58:25 -04:00
Jamie Hewitt
d51538a32f Only showing payment collector if it is different to the owner 2022-11-17 13:39:49 +03:00
Jamie Hewitt
5ab6b7dc66 Setting payment collector inline 2022-11-17 13:36:58 +03:00
Jamie Hewitt
2265d750a5 Replacing console.error with loggerinstance.error 2022-11-16 18:08:59 +03:00
Jamie Hewitt
105343435c Showing revenue account on asset detail page if it is different to the owner account 2022-11-16 18:05:16 +03:00
Jamie Hewitt
c65a1070aa Updating link to the docs 2022-11-16 14:29:33 +03:00
Jamie Hewitt
36a88674b4 Deleting unused test 2022-11-16 11:03:51 +03:00
Jamie Hewitt
c2514debf0 Adding test for FormActions 2022-11-15 18:58:07 +03:00
mihaisc
131f1f15e3
Change datatoken template and ensure compatibility with both (#1728)
* change template

* fix build

* add template config

* test fixes

* Update app.config.js

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2022-11-15 16:35:26 +02:00
EnzoVezzaro
8225775828
Merge pull request #1487 from oceanprotocol/fix/issue-1069-c2d-unsupported-networks
allow price calculation when users are on unsupported network / not connected
2022-11-15 05:58:40 -04:00
Jamie Hewitt
6776ffe34d Adding inital outline for test 2022-11-15 12:40:14 +03:00
Jamie Hewitt
9fca971d77 Adding placeholder for link to the docs 2022-11-15 11:55:06 +03:00
Jamie Hewitt
40f3335cfc removing unused imports 2022-11-15 11:48:26 +03:00
Jamie Hewitt
fd30d5e138 Updating paymentCollector on submit 2022-11-15 11:38:43 +03:00
Jamie Hewitt
e22407ad43 setting inital payment collector from EditMetadata 2022-11-15 10:45:14 +03:00
Jamie Hewitt
9429af22e2 Populating the edit form with the current payment collector 2022-11-15 10:05:12 +03:00
marcoelissa
1cf6ded9ef Merge branch 'main' into orbis 2022-11-14 23:31:49 +07:00
EnzoVezzaro
072d346932 Revert "fix text and added ipfs and arweave tests"
This reverts commit 23d8002ce8.
2022-11-14 12:18:35 -04:00
EnzoVezzaro
23d8002ce8 fix text and added ipfs and arweave tests 2022-11-14 12:17:29 -04:00
EnzoVezzaro
1649e075e2 Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks 2022-11-14 11:47:44 -04:00
Jamie Hewitt
cbdc81b836 Checking if payment collector address is valid using form validation 2022-11-14 18:09:29 +03:00
Jamie Hewitt
11cf51d85b Adding paymentCOllector to content/pages/editMetadata.json 2022-11-14 17:54:37 +03:00
mihaisc
6ba95fe4d5
fix loading in preview (#1785) 2022-11-11 12:27:30 +00:00
Jamie Hewitt
4ff84b0871
Handle provider error & showing Retry button (#1770)
* adding error handling for button onCLick

* Updating butoon to show retry & updating toast message

* Logging provider error

* Removing unused imports

* Using early return when provider fees are present to prevent unneccessary nesting

* Adding retry logic for compute

* Removing duplicate teast message

* Adding tests for rendering Buy button

* Additional tests for BuyButton

* Refactoring BuyButton tests for download

* Fix failing tests

* Refactoring compute tests

* Refactoring tests

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-11 12:54:21 +03:00
marcoelissa
bdf7af4b61 minor changes 2022-11-10 15:35:24 +07:00
marcoelissa
4c89bf36f7 Delete unused component 2022-11-10 14:46:24 +07:00
marcoelissa
237fd44d6c Hide send message button on ownAccount profile 2022-11-10 14:43:39 +07:00
marcoelissa
02ccf24964 fix infinite loop when no comment found 2022-11-10 03:06:03 +07:00
marcoelissa
d42d31022c fix type errors 2022-11-10 02:52:06 +07:00
marcoelissa
7090a9529f change Blockie to Avatar component 2022-11-10 02:44:44 +07:00
marcoelissa
cd0b7971ee change any type 2022-11-10 02:11:14 +07:00
marcoelissa
f99779dc45 update package-lock.json 2022-11-10 02:09:35 +07:00
marcoelissa
7d0569953b Merge branch 'main' of https://github.com/marcoelissa/ocean-market into orbis 2022-11-10 01:56:45 +07:00
marcoelissa
84aa21e5c5 create some global orbis components 2022-11-10 00:42:23 +07:00
4b4a926f89
special veOCEAN number treatment (#1782)
* special veOCEAN number treatment

* path fix

* fix duplicate AllLocked declarations

* so many duplicate declarations

* bold numbers on asset teasers

* update test

* unify number formatting in more generic `formatNumber()` method
2022-11-09 14:14:57 +00:00
b99634a3b3
filter out className from Tippy (#1783) 2022-11-09 12:23:26 +00:00
482af1be0c
NFT image & faulty metadata fixes (#1779)
* safeguard against faults in metadata.tags

* properly handle image strings in tokenURI

* keep image ratios

* render test for faulty tags

* tweak fallback in popover
2022-11-09 12:22:30 +00:00
dependabot[bot]
ee4e5c3b4d
Bump loader-utils from 1.4.0 to 1.4.1 (#1780)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

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-11-09 09:02:18 +00:00
mihaisc
c302122795
Add most viewed (#1754)
* add most viewed

* Update src/components/Home/index.tsx

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>

* add views in teasers

* typo

* add test

* switch to axios

* test tweaks

* fix

* add 30 days label

Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-08 17:17:22 +00:00
EnzoVezzaro
8363b9f2bb fix tests 2022-11-08 05:25:01 -04:00