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
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
Jamie Hewitt
6776ffe34d
Adding inital outline for test
2022-11-15 12:40:14 +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
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
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
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
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
EnzoVezzaro
606a32065c
Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks
2022-11-08 05:15:39 -04:00
EnzoVezzaro
ceb055af36
Merge branch 'main' into fix/issue-validation-g-drive-links
2022-11-07 17:15:25 -04:00
Jamie Hewitt
81341cd914
Showing related assets ( #1748 )
...
* Creating related assets component
* Ensuring that related assets doesn't show the same asset
* Adjusting query to show assets from the same publisher but not the exact same asset
* modifying search term
* Removing logs and unused import
* Removing log
* Updating query
* Fixes
* updating query
* Updating query to include both related tag assets anbd related owner assests when <3. SHowing results as a list of links
* creating minimal asset teaser
* removing duplicate filters
* Changing minimal to noDescription
* Removing unneccessary use of noDescription prop
* Adding minimal prop back into Publisher
* Removing props from RelatedAssets component
* Getting data from asset context
* refactor
* space-saving asset teaser changes
* remove price from output
* increase to 4
* refactor for better loading experience
* css cleanup
* filter out duplicates when merging results
* basic render test
* try/catch, secure against null query responses
* different test tactic
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-11-07 20:09:19 +00:00
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
EnzoVezzaro
49960f38e0
cleanup after merge
2022-11-04 07:16:06 -04:00
EnzoVezzaro
983d460614
Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks
2022-11-04 06:49:33 -04: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
EnzoVezzaro
589963e368
fix connection and networks calculations
2022-10-26 08:25:52 -04: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
EnzoVezzaro
8c88d512bf
adding check on priceDataset
2022-10-20 08:17:52 -04:00
EnzoVezzaro
2fb9fb2c63
fix total sum order on compute
2022-10-19 10:00:23 -04:00
EnzoVezzaro
bbd391ddfe
fix valid order tx and algo tx
2022-10-19 09:47:04 -04:00
EnzoVezzaro
5819c25015
Revert "remove previous orders from price calculation in compute"
...
This reverts commit 504840a2d3b89695031ad2bbf9aa1542a514a5f9.
2022-10-19 09:06:34 -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
504840a2d3
remove previous orders from price calculation in compute
2022-10-19 08:48:36 -04: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
EnzoVezzaro
8844e82c75
Merge branch 'main' into fix/issue-1069-c2d-unsupported-networks
2022-10-19 06:16:32 -04:00
EnzoVezzaro
7fef77afef
fix web3 connection for unsupported assets price
2022-10-19 06:14:15 -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
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
EnzoVezzaro
6809fd44e0
set default values in asset stats ( #1733 )
2022-10-10 12:52:57 +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