# \#ember

**URL:** https://meta.discourse.org/tag/ember/70.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Creating Routes in Discourse and Showing Data](https://meta.discourse.org/t/creating-routes-in-discourse-and-showing-data/48827)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 0\
**Last updated:** [August 18, 2016, 8:18pm UTC](https://meta.discourse.org/t/creating-routes-in-discourse-and-showing-data/48827 "2016-08-18T20:18:49Z")

</div>

Over time Discourse has grown in complexity and it can be daunting for beginners to understand how data gets all the way from the back end Ruby on Rails application to the Ember.js application in front. This tutorial is…

---

## [Write acceptance tests and component tests for Ember code in Discourse](https://meta.discourse.org/t/write-acceptance-tests-and-component-tests-for-ember-code-in-discourse/49167)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 3\
**Last updated:** [February 23, 2024, 12:42pm UTC](https://meta.discourse.org/t/write-acceptance-tests-and-component-tests-for-ember-code-in-discourse/49167 "2024-02-23T12:42:10Z")

</div>

Automated tests are a great way to protect your code against future regressions. Many people are familiar with how to do this in our Rails codebase with rspec, but the Javascript side can be somewhat of an enigma to some…

---

## [Use color-input component with non-admin users](https://meta.discourse.org/t/use-color-input-component-with-non-admin-users/387791)

<div class="topic-metadata">

**Author:** [@pirhoo](https://meta.discourse.org/u/pirhoo)\
**Replies:** 4\
**Last updated:** [November 7, 2025, 3:34pm UTC](https://meta.discourse.org/t/use-color-input-component-with-non-admin-users/387791 "2025-11-07T15:34:17Z")

</div>

Hello :waving\_hand: In one of my plugins I would like to use the color-input component. However this component is located in the discourse/admin folder so whenever I try to import it as a non-admin user, it cannot be fo…

---

## [Showing different content for mobile view in a .gjs file](https://meta.discourse.org/t/showing-different-content-for-mobile-view-in-a-gjs-file/374657)

<div class="topic-metadata">

**Author:** [@martinmodrak](https://meta.discourse.org/u/martinmodrak)\
**Replies:** 5\
**Last updated:** [July 18, 2025, 7:45am UTC](https://meta.discourse.org/t/showing-different-content-for-mobile-view-in-a-gjs-file/374657 "2025-07-18T07:45:54Z")

</div>

Trying to update our custom theme component to the new standard after the deprecation notice and I can’t figure out how to show different stuff for mobile users in this setting. The theme guide doesn’t mention anything …

---

## [Upgrading Discourse to Ember 4](https://meta.discourse.org/t/upgrading-discourse-to-ember-4/225032)

<div class="topic-metadata">

**Author:** [@Johani](https://meta.discourse.org/u/Johani)\
**Replies:** 19\
**Last updated:** [December 19, 2024, 6:30pm UTC](https://meta.discourse.org/t/upgrading-discourse-to-ember-4/225032 "2024-12-19T18:30:33Z")

</div>

We want to update the Ember version used in Discourse. Right now, we’re on 3.15, and we’d like to get to 4.1 We’ve set a goal to finish this work by the end of this year. Please note that this topic is a roadmap, and a…

---

## [Failed to add new js package](https://meta.discourse.org/t/failed-to-add-new-js-package/326087)

<div class="topic-metadata">

**Author:** [@Ezequiel\_Salas](https://meta.discourse.org/u/Ezequiel_Salas)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 9:41pm UTC](https://meta.discourse.org/t/failed-to-add-new-js-package/326087 "2024-09-11T21:41:17Z")

</div>

Hello! Hope you guys are doing great. I am trying to add a dependency to this new Discourse based project I am working on Project I want to use this plugin under the app/assets/javascript/discourse workspace I execute…

---

## [Having some issues with inserting iframes using Discourse's Ember API](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572)

<div class="topic-metadata">

**Author:** [@Drew-ART](https://meta.discourse.org/u/Drew-ART)\
**Replies:** 8\
**Last updated:** [September 5, 2024, 1:23pm UTC](https://meta.discourse.org/t/having-some-issues-with-inserting-iframes-using-discourses-ember-api/300572 "2024-09-05T13:23:12Z")

</div>

The plugin puts an i-frame into Discourse and you can find it here I keep it more or less updated to the latest version so the breaking change came recently. We’re currently running 3.3.0.beta1-dev. In console i get 3 …

---

## [Unable to start discourse from source while running "bin/ember-cli -u"](https://meta.discourse.org/t/unable-to-start-discourse-from-source-while-running-bin-ember-cli-u/290967)

<div class="topic-metadata">

**Author:** [@Ilamathi\_Natarajan](https://meta.discourse.org/u/Ilamathi_Natarajan)\
**Replies:** 3\
**Last updated:** [February 4, 2024, 10:39pm UTC](https://meta.discourse.org/t/unable-to-start-discourse-from-source-while-running-bin-ember-cli-u/290967 "2024-02-04T22:39:56Z")

</div>

I am trying to install Discourse on Ubuntu, and while running bin/ember-cli -u, the following errors are occurring, warning Resolution field "unset-value@2.0.1" is incompatible with requested version "unset-value@^1.0.0…

---

## [How to use api.onPageChange with api.createWidget?](https://meta.discourse.org/t/how-to-use-api-onpagechange-with-api-createwidget/242744)

<div class="topic-metadata">

**Author:** [@rahim123](https://meta.discourse.org/u/rahim123)\
**Replies:** 8\
**Last updated:** [November 6, 2022, 2:29am UTC](https://meta.discourse.org/t/how-to-use-api-onpagechange-with-api-createwidget/242744 "2022-11-06T02:29:10Z")

</div>

Hi there, I’m trying to add an image banner to all pages that picks randomly from two random images. It works when I add it to my theme’s Head section and hard reload the homepage: EDIT: My attempt that gets closer to t…

---

## [New installs will default to Ember CLI builds in Production](https://meta.discourse.org/t/new-installs-will-default-to-ember-cli-builds-in-production/208282)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 36\
**Last updated:** [June 17, 2022, 3:55pm UTC](https://meta.discourse.org/t/new-installs-will-default-to-ember-cli-builds-in-production/208282 "2022-06-17T15:55:11Z")

</div>

As of today, all new self hosted installs of Discourse will default to using our Ember CLI builds in production. We’ve been running these builds ourselves in production for quite some time now and they should be stable …

---

## [Meta is running our Ember CLI build](https://meta.discourse.org/t/meta-is-running-our-ember-cli-build/199836)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 0\
**Last updated:** [August 9, 2021, 4:13pm UTC](https://meta.discourse.org/t/meta-is-running-our-ember-cli-build/199836 "2021-08-09T16:13:24Z")

</div>

We’ve deployed meta using our new Ember CLI asset pipeline. The code is otherwise the same but we are building and packaging it in a new way. If all goes well there should be no differences, but since this is a new way …

---

## [Upgrading Ember to 2.10](https://meta.discourse.org/t/upgrading-ember-to-2-10/52724)

<div class="topic-metadata">

**Author:** [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Replies:** 71\
**Last updated:** [December 22, 2016, 11:20pm UTC](https://meta.discourse.org/t/upgrading-ember-to-2-10/52724 "2016-12-22T23:20:04Z")

</div>

After a few stumbling blocks, I have a branch of Discourse that runs on Ember 2.4. Our goal for the next major Discourse release is to upgrade to the latest Glimmer 2 technology which has many performance improvements, a…

---

## [Intra-post anchor links don't work in Safari / Firefox](https://meta.discourse.org/t/intra-post-anchor-links-dont-work-in-safari-firefox/29125)

<div class="topic-metadata">

**Author:** [@plkap74](https://meta.discourse.org/u/plkap74)\
**Replies:** 7\
**Last updated:** [May 26, 2015, 12:53pm UTC](https://meta.discourse.org/t/intra-post-anchor-links-dont-work-in-safari-firefox/29125 "2015-05-26T12:53:27Z")

</div>

I’ve been experimenting with anchor links inside of posts (links to content inside of a long post). I have read that you can’t use the ids because they get stripped. I used the name property instead and it works for Chro…
