Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Switch to "get this [media]" for single result CTAs (#1741)

Zack Krida91f52958add8
diff --git a/README.md b/README.md
index eb4487338..1cfcb380e 100644
--- a/README.md
+++ b/README.md
@@ -12,12 +12,11 @@ This repository is the frontend UI for accessing and exploring the openly-licens
You can view [the application](https://wordpress.org/openverse) live on WordPress.org.
-
-## Technology
+## Technology
The frontend app is built using [Vue.js](https://vuejs.org/) and [Nuxt.js](https://nuxtjs.org).
-## Local Development
+## Local Development
**Note for Windows users:** Please use [WSL](https://docs.microsoft.com/en-us/windows/wsl/install) for developing on the Openverse frontend. Several scripts, primarily support scripts, rely on a general \*nix type environment. Maintaining parity for cross platform scripts proved complicated without significant duplication. If you run into issues with running the Openverse frontend in WSL please let us know by opening an issue or [joining us on Slack](https://make.wordpress.org/chat/) in the `#openverse` room and ask for help.
@@ -38,7 +37,7 @@ pnpm dev
```
-### Using HTTPS Locally
+### Using HTTPS Locally
To enable SSL support in local development, use the `pnpm dev:secure` command. This requires you to have a private key and certificate in the root of the repository with the following names:
@@ -75,7 +74,7 @@ You can find the local IP address Nuxt uses by looking at the output of `nuxt de
You will need to regenerate the certificate if this IP address changes for any reason, like by enabling a VPN or changing networks.
-### Choosing which API to use
+### Choosing which API to use
You don't need to have the Openverse API running locally to be able to run the frontend application. It's configured to communicate, by default, with the [production API](https://api.openverse.engineering) that's already publicly available. If you need to test against changes in your local API, set the `API_URL` environment variable when run the development server.
@@ -83,16 +82,16 @@ You don't need to have the Openverse API running locally to be able to run the f
API_URL=http://localhost:8000 pnpm dev
```
-### Standalone and embedded modes
+### Standalone and embedded modes
The application can run in two modes. By default, it runs in embedded mode, which is loaded in an iframe on [WordPress.org/openverse](https://make.wordpress.org/openverse). It has a small header without logo and no footer.
The standalone mode which has a large header with logo and a footer, can be enabled by adding `?embedded=false` query parameter to the URL. For example, when running locally, you can go to [http://localhost:8443?embedded=false](http://localhost:8443?embedded=false) to view the standalone application.
-### Running tests
+### Running tests
Refer to the [`TESTING_GUIDELINES.md` file](./TESTING_GUIDELINES.md) for instructions on how to run tests.
-### localhost tunneling
+### localhost tunneling
If you want to make your local development server accessible to the internet (for testing or showing someone something you're working on), you can use [`ngrok`](https://ngrok.com/). Follow the documentation on the `ngrok` site to install it and set it up. Once you have it installed, get the development server for Openverse running and in a separate window/tab, run:
@@ -109,19 +108,19 @@ If you need to run an HTTP version (for example, if you're testing against third
ngrok http 8443 -host-header="localhost:8443"
```
-## Frontend Components
+## Frontend Components
The frontend app is composed of a number of components that are documented in our [Storybook](https://wordpress.github.io/openverse-frontend).
-### CSS Framework
+### CSS Framework
To design our components, we use the [TailwindCSS](https://tailwindcss.com/) utility-first CSS framework. We have compiled a list of TailwindCSS classes that are used in the frontend app. You can view the list [here](https://wordpress.github.io/openverse-frontend/tailwind/).
-### Development Tips
+### Development Tips
If you use VS Code, you can install the [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) extension to get autocomplete for TailwindCSS classes.
-## Docker and Openverse frontend
+## Docker and Openverse frontend
We do not currently support local development using Docker or `docker-compose`. It was supported in the past, but it was not used by the core contributors. It remained broken for many months without ever being noticed, so the assumption is that it was also not being used active community members. Local `nuxt` development is still easy across platforms, so maintaining a separate Docker development stack for the frontend did not make sense.
@@ -141,13 +140,13 @@ docker run -it -p 127.0.0.1:8443:8443/tcp openverse-frontend:latest
The app will be available at <http://localhost:8443>.
-## Formatting and Linting
+## Formatting and Linting
The code in this repository is formatted using `prettier`. If you have prettier setup in your code editor it should work out of the box; otherwise you can use the `pnpm lint:fix` script to format and fix lint errors in your code. Checks are run to lint your code and validate the formatting on git precommit using [husky](https://github.com/typicode/husky).
You will need to fix any linting issues before committing. We recommend formatting your JavaScript files on save in your text editor. You can learn how to do this in Visual Studio Code [here](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode#format-on-save).
-### File name conventions
+### File name conventions
All files and folders should be written in `kebab-case`, with the exception of Vue single file components. If it ends in `.vue`, please use `PascalCase`. This distinction makes our component files stand out clearly and is [recommended by the Vue community](https://vuejs.org/v2/style-guide/#Single-file-component-filename-casing-strongly-recommended).
@@ -157,12 +156,12 @@ All files and folders should be written in `kebab-case`, with the exception of V
| ------------ | ----------- | ----------- | ---------------------- |
| /photos/\_id | /image/\_id | 301 | Nuxt server middleware |
-## Contributing
+## Contributing
Pull requests are welcome! Feel free to [join us on Slack](https://make.wordpress.org/chat/) and discuss the project with the engineers and community members on #openverse.
You are welcome to take any open issue in the tracker labeled [`help wanted`](https://github.com/wordpress/openverse-frontend/labels/help%20wanted) or [`good first issue`](https://github.com/wordpress/openverse-frontend/labels/good%20first%20issue); **there's no need to ask for permission in advance**. Other issues are open for contribution as well, but may be less accessible or well defined in comparison to those that are explicitly labeled.
-## Acknowledgments
+## Acknowledgments
Openverse, previously known as CC Search, was conceived and built at [Creative Commons](https://creativecommons.org). We thank them for their commitment to open source and openly licensed content, with particular thanks to previous team members @ryanmerkley, @janetpkr, @lizadaly, @sebworks, @pa-w, @kgodey, @annatuma, @mathemancer, @aldenstpage, @brenoferreira, and @sclachar, along with their [community of volunteers](https://opensource.creativecommons.org/community/community-team/).
diff --git a/src/components/VAudioTrack/layouts/VFullLayout.vue b/src/components/VAudioTrack/layouts/VFullLayout.vue
index 5c5c396ac..32f030459 100644
--- a/src/components/VAudioTrack/layouts/VFullLayout.vue
+++ b/src/components/VAudioTrack/layouts/VFullLayout.vue
@@ -57,6 +57,12 @@
class="order-1 px-6 py-3 text-sr font-semibold ms-auto md:px-6 md:py-4 md:text-2xl lg:order-2"
>
{{ $t('audio-details.weblink') }}
+ <VIcon
+ :icon-path="externalIcon"
+ :rtl-flip="true"
+ :size="4"
+ class="ms-2 md:h-6 md:w-6"
+ />
</VButton>
</div>
</div>
@@ -69,11 +75,14 @@ import type { AudioDetail } from '~/models/media'
import { AudioSize, AudioStatus, audioFeatures } from '~/constants/audio'
import VButton from '~/components/VButton.vue'
+import VIcon from '~/components/VIcon/VIcon.vue'
import VLink from '~/components/VLink.vue'
+import externalIcon from '~/assets/icons/external-link.svg'
+
export default defineComponent({
name: 'VFullLayout',
- components: { VButton, VLink },
+ components: { VButton, VIcon, VLink },
props: {
audio: {
type: Object as PropType<AudioDetail>,
@@ -112,6 +121,7 @@ export default defineComponent({
isSmall,
audioFeatures,
+ externalIcon,
}
},
})
diff --git a/src/components/VContentSwitcher/VSearchTypeButton.vue b/src/components/VContentSwitcher/VSearchTypeButton.vue
index 27eaecd15..15591f191 100644
--- a/src/components/VContentSwitcher/VSearchTypeButton.vue
+++ b/src/components/VContentSwitcher/VSearchTypeButton.vue
@@ -14,7 +14,7 @@
<VIcon :icon-path="icon" />
<span
class="md:block md:truncate md:ms-2 md:text-start"
- :class="isHeaderScrolled ? 'hidden' : 'block truncate ms-2 text-start'"
+ :class="isHeaderScrolled ? 'hidden' : 'ms-2 block truncate text-start'"
>{{ buttonLabel }}</span
>
<VIcon
diff --git a/src/components/VSkipToContentContainer.vue b/src/components/VSkipToContentContainer.vue
index 2d59c44ac..a7b9600d0 100644
--- a/src/components/VSkipToContentContainer.vue
+++ b/src/components/VSkipToContentContainer.vue
@@ -3,7 +3,7 @@
<slot />
<VTeleport to="skip-to-content">
<VButton
- class="z-50 mt-2 ms-2 focus:fixed focus:absolute"
+ class="ms-2 z-50 mt-2 focus:fixed focus:absolute"
:class="$style.skipButton"
@click="skipToContent"
>{{ $t('skip-to-content') }}</VButton
diff --git a/src/locales/en.json b/src/locales/en.json
index 9e9abce93..fee37e68c 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -481,7 +481,7 @@
},
"image-details": {
"creator": "by {name}",
- "weblink": "Use this image",
+ "weblink": "Get this image",
"information": {
"title": "Image information",
"type": "Type",
@@ -509,7 +509,7 @@
"genre": "Genre"
},
"information": "Audio information",
- "weblink": "Use this audio"
+ "weblink": "Get this audio"
},
"meta-search": {
"caption": "{openverse} does not currently index the sources listed above, but through this interface is offering convenient access to search services provided by other independent organizations. {openverse} has no control over the results that are returned. Do not assume that the results displayed in this search portal are under a CC license. Always verify that the work is actually under a CC license by following the link. If you are in doubt, you should contact the copyright holder directly, or try to contact the site where you found the content.",
diff --git a/src/pages/image/_id.vue b/src/pages/image/_id.vue
index edfa11ba0..d85a65f20 100644
--- a/src/pages/image/_id.vue
+++ b/src/pages/image/_id.vue
@@ -36,8 +36,15 @@
:href="image.foreign_landing_url"
class="btn-main mb-4 w-full flex-initial leading-[1.3] md:mb-0 md:w-max"
size="large"
- >{{ $t('image-details.weblink') }}</VButton
>
+ {{ $t('image-details.weblink') }}
+ <VIcon
+ :icon-path="externalIcon"
+ :rtl-flip="true"
+ class="ms-2 md:h-6 md:w-6"
+ :size="4"
+ />
+ </VButton>
<div
class="flex flex-1 flex-col justify-center text-base font-semibold leading-[1.3]"
>
@@ -90,6 +97,7 @@ import { useRelatedMediaStore } from '~/stores/media/related-media'
import { createDetailPageMeta } from '~/utils/og'
import VButton from '~/components/VButton.vue'
+import VIcon from '~/components/VIcon/VIcon.vue'
import VLink from '~/components/VLink.vue'
import VImageDetails from '~/components/VImageDetails/VImageDetails.vue'
import VMediaReuse from '~/components/VMediaInfo/VMediaReuse.vue'
@@ -98,11 +106,13 @@ import VSketchFabViewer from '~/components/VSketchFabViewer.vue'
import VBackToSearchResultsLink from '~/components/VBackToSearchResultsLink.vue'
import errorImage from '~/assets/image_not_available_placeholder.png'
+import externalIcon from '~/assets/icons/external-link.svg'
export default defineComponent({
name: 'VImageDetailsPage',
components: {
VButton,
+ VIcon,
VLink,
VImageDetails,
VMediaReuse,
@@ -210,6 +220,7 @@ export default defineComponent({
onImageLoaded,
onImageError,
backToSearchPath,
+ externalIcon,
}
},
async asyncData({ app, error, route, $pinia }) {
diff --git a/test/locales/ar.json b/test/locales/ar.json
index 91f7666aa..532edb019 100644
--- a/test/locales/ar.json
+++ b/test/locales/ar.json
@@ -151,6 +151,7 @@
"genre-label": "النوع",
"related-audios": "الصوت ذو الصلة",
"information": "معلومات صوتية",
+ "weblink": "احصل على هذا الصوت",
"table": {
"album": "الألبوم",
"category": "يكتب",
@@ -163,7 +164,7 @@
},
"image-details": {
"creator": "بالاسم{name}",
- "weblink": "انتقل إلى موقع الصور",
+ "weblink": "احصل على هذه الصورة",
"related-images": "الصور ذات الصلة",
"aria": {
"creator-url": "المؤلف {creator}"
diff --git a/test/playwright/playwright.config.ts b/test/playwright/playwright.config.ts
index aa7a9a5b4..a6db8f54a 100644
--- a/test/playwright/playwright.config.ts
+++ b/test/playwright/playwright.config.ts
@@ -52,6 +52,12 @@ const config: PlaywrightTestConfig = {
* Playwright default of using 1/2 of the number of CPU cores continues to work otherwise.
*/
workers: UPDATE_TAPES === 'true' ? 1 : undefined,
+ expect: {
+ toMatchSnapshot: {
+ // To avoid flaky tests, we allow a small amount of pixel difference.
+ maxDiffPixelRatio: 0.01,
+ },
+ },
}
export default config
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-2xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-2xl-linux.png
index e1c0fed44..2487bfdb9 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-2xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-lg-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-lg-linux.png
index e1c0fed44..2487bfdb9 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-lg-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-lg-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-md-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-md-linux.png
index b81f23e50..036ab0f2c 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-md-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-md-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-sm-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-sm-linux.png
index 8c19292b8..552f4a86a 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-sm-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-sm-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xl-linux.png
index e1c0fed44..2487bfdb9 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xs-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xs-linux.png
index a15957bfe..8a69a5f6e 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xs-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-html-tab-xs-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-2xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-2xl-linux.png
index 134b036b7..d62c780e4 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-2xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-lg-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-lg-linux.png
index 134b036b7..d104007da 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-lg-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-lg-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-md-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-md-linux.png
index fbddf573f..a267493f6 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-md-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-md-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-sm-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-sm-linux.png
index bfab652c8..f5231f782 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-sm-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-sm-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xl-linux.png
index 499493f04..bc95b8dee 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xs-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xs-linux.png
index 4faeeab26..1394af923 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xs-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-plain-tab-xs-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-2xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-2xl-linux.png
index 73bee74fe..8f06b47ea 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-2xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-lg-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-lg-linux.png
index 73bee74fe..8f06b47ea 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-lg-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-lg-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-md-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-md-linux.png
index 181a1530f..acfabb75d 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-md-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-md-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-sm-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-sm-linux.png
index 41338a218..c6595036b 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-sm-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-sm-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xl-linux.png
index 73bee74fe..8f06b47ea 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xs-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xs-linux.png
index 1ff49cf61..4497b438e 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xs-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-ltr-rich-tab-xs-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-2xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-2xl-linux.png
index 9d853797a..62eee8187 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-2xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-lg-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-lg-linux.png
index 9d853797a..d9f58db39 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-lg-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-lg-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-md-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-md-linux.png
index d8714ecb9..d67e20fdc 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-md-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-md-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-sm-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-sm-linux.png
index a8d356a5e..ae4eba081 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-sm-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-sm-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xl-linux.png
index 9d853797a..62eee8187 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xs-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xs-linux.png
index 11f9bd948..5233d05d8 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xs-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-html-tab-xs-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-2xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-2xl-linux.png
index 5a82095eb..056c5fa2e 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-2xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-lg-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-lg-linux.png
index 5a82095eb..32060f460 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-lg-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-lg-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-md-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-md-linux.png
index 559b51142..a79955330 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-md-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-md-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-sm-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-sm-linux.png
index 5624cf37e..56cd58c94 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-sm-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-sm-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xl-linux.png
index 79c1d5596..32060f460 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xs-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xs-linux.png
index c09f0ae32..9207c5270 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xs-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-plain-tab-xs-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-2xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-2xl-linux.png
index 019518770..9e036ba92 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-2xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-2xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-lg-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-lg-linux.png
index 69837cea1..9e036ba92 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-lg-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-lg-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-md-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-md-linux.png
index 7a19d5b09..37637465d 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-md-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-md-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-sm-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-sm-linux.png
index 9fbfb827c..6e657c547 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-sm-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-sm-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xl-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xl-linux.png
index 019518770..9e036ba92 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xl-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xl-linux.png differ
diff --git a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xs-linux.png b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xs-linux.png
index 138eaafe3..c1d6f6d7b 100644
Binary files a/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xs-linux.png and b/test/playwright/visual-regression/components/media-reuse.spec.ts-snapshots/media-reuse-rtl-rich-tab-xs-linux.png differ