market/.jest/__mocks__
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
..
@utils Tests for @shared components (#1737) 2022-11-04 15:52:40 +02:00
is-url-superb Tests for @shared components (#1737) 2022-11-04 15:52:40 +02:00
hooksMocks.ts Showing related assets (#1748) 2022-11-07 20:09:19 +00:00
matchMedia.js Atomic components stories (#1422) 2022-05-23 12:29:37 +01:00
svgrMock.tsx Fix svgr in storybook & jest (#1428) 2022-05-16 17:11:43 +01:00