1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/.jest
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
..
__fixtures__ Tests for @shared components (#1737) 2022-11-04 15:52:40 +02:00
__mocks__ Showing related assets (#1748) 2022-11-07 20:09:19 +00:00
jest.config.js Bump next from 12.1.6 to 12.3.1 (#1698) 2022-09-23 13:59:13 +01:00
jest.setup.js Showing related assets (#1748) 2022-11-07 20:09:19 +00:00
testRender.ts Dependency fixes (#1687) 2022-09-20 18:53:34 +01:00