# Discourse Gifs

**URL:** https://meta.discourse.org/t/discourse-gifs/158738
**Category:** Theme component
**Tags:** official, gifs
**Created:** [July 24, 2020, 10:24pm UTC](https://meta.discourse.org/t/discourse-gifs/158738 "2020-07-24T22:24:05Z")
**Posts on this page:** 1
**Showing post:** 294

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [June 9, 2026, 8:40am UTC](https://meta.discourse.org/t/discourse-gifs/158738/294 "2026-06-09T08:40:34Z")

</div>

Tiny update on this component:

From this PR on, you can find the GIF button in regular toolbar on mobile as well, same place as on desktop.

> <https://github.com/discourse/discourse-gifs/pull/137>
>
> \## What
> 
> Moves the GIF button into the composer toolbar on every viewport. Pre…viously the button lived in the toolbar on desktop only, and on mobile it was rendered as a separate button in the composer footer.
> 
> \## Why
> 
> The desktop/mobile split dates back to #4 (Apr 2021), when the mobile composer toolbar was too cramped to host the GIF button, so it was given a dedicated footer button instead. That constraint no longer applies, so we can drop the parallel mobile implementation and use a single toolbar button everywhere. 
> 
> \## Changes
> 
> \- \*\*\`gif-integration.js\`\*\* — removed the \`condition: () =\> …desktopView\` gate so
> the toolbar button registers on all viewports.
> \- Deleted the mobile footer connector (\`composer-mobile-buttons-bottom/mobile-gif-button.gjs\`)
> and its now-empty directory.
> \- Deleted the \`gif-button.gjs\` component 
> \- CSS cleanup
> \- Updated the mobile acceptance test to click the toolbar button (\`.gif\_button\`) instead of the removed footer button (\`.mobile-gif-insert\`).

---

_[View the full topic](https://meta.discourse.org/t/discourse-gifs/158738)._
