This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app
Arpit Jalan 3aaf4dcfd0
FIX: hide welcome topic banner as soon as the welcome topic is edited (#18125)
* FIX: hide welcome topic banner as soon as the welcome topic is edited

This commit adds a message bus listener on client to hide the welcome
topic banner as soon as the welcome topic is edited.

* update test

* only subscribe when show_welcome_topic_banner is true

* Do not lookup for messageBus service if it's not required

* Remove unneeded code

* Cache result for Site.show_welcome_topic_banner

* Update tests per latest changes

* Changes per PR review
2022-09-01 09:44:21 +05:30
..
adapters FIX: Avoid duplicate topic-list requests (#18073) 2022-08-24 11:54:01 +01:00
components FEATURE: unified user menu notifications count (#18132) 2022-08-31 11:16:28 +10:00
controllers DEV: Add A11Y-friendly dialog addon (#18028) 2022-08-29 13:59:57 -04:00
helpers FEATURE: show status in search results when mentioning user in composers (#17811) 2022-08-10 19:49:26 +04:00
initializers FIX: hide welcome topic banner as soon as the welcome topic is edited (#18125) 2022-09-01 09:44:21 +05:30
lib FEATURE: unified user menu notifications count (#18132) 2022-08-31 11:16:28 +10:00
mixins DEV: Use .ember-application instead of #main 2022-08-23 09:24:00 +08:00
models FEATURE: make user status on post streams live (#17903) 2022-08-29 19:33:50 +04:00
modifiers DEV: Install ember-modifier and @ember/render-modifiers (#17595) 2022-07-21 18:12:29 +01:00
pre-initializers DEV: Replace topic-tracking-state:main with service:topic-tracking-state (#17802) 2022-08-05 08:48:55 +08:00
raw-views DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
routes FIX: Preload topic_list correctly for categories+latest (#18122) 2022-08-29 11:17:32 +01:00
services DEV: Use all unread notifications count for the count in document title (#18120) 2022-08-30 05:37:03 +03:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates DEV: Add A11Y-friendly dialog addon (#18028) 2022-08-29 13:59:57 -04:00
widgets FEATURE: make user status on post streams live (#17903) 2022-08-29 19:33:50 +04:00
app.js DEV: Modernize Ember Resolver (#17353) 2022-07-06 14:20:00 +01:00
index.html DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00
mapping-router.js DEV: Improve and document __container__ workaround in tests (#15498) 2022-01-10 10:34:08 +00:00