# Topic-timeline api.decorateWidget call has stopped working

**URL:** https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573
**Category:** Development
**Created:** [April 13, 2023, 11:30am UTC](https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573 "2023-04-13T11:30:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [April 13, 2023, 12:07pm UTC](https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573/2 "2023-04-13T12:07:43Z")

</div>

The timeline has been updated to use regular Ember/Glimmer components rather than our custom ‘widget’ system, so I’m afraid `decorateWidget` won’t work there any more.

Instead, you’ll need to use a [Plugin Outlet](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727). Right now we have these two:

> <https://github.com/discourse/discourse/blob/fa5a423681f528b90c22a0e661e229720337f0fb/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs#L39-L42>

> <https://github.com/discourse/discourse/blob/fa5a423681f528b90c22a0e661e229720337f0fb/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs#L172-L175>

But if they don’t work for your use case please let us know and we’re happy to look at introducing new ones.

---

_[View the full topic](https://meta.discourse.org/t/topic-timeline-api-decoratewidget-call-has-stopped-working/261573)._
