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/tests/integration/components
Osama Sayegh 417f156f6d
DEV: Use all unread notifications count for the count in document title (#18120)
When you receive a new notification, Discourse prepends a small count `(n)` to the tab title (i.e. `document.title`) if the tab is in the background to alert the user that they have a new notification. The count that's shown in the tab title should reflect the numbers shown on the notification bubbles above the user's avatar. Prior to the experimental user menu, there were 2 bubbles: a blue one which was removed once the user opened the menu and a green one that indicated high priority notifications and it was only removed when the user read all of their high priority notifications.

In the new experimental user menu, we no longer have the green bubble; everything is now combined (including flags/reviewables) into the blue one with no change to its behavior (i.e. it's removed once the user opens the menu). However, the logic that is responsible for updating the tab title hasn't been updated and still updates the tab title to include the count of the old green bubble. This commit updates the logic for the tab title count so that it only reflects the number on the blue bubble when the experimental user menu is enabled.
2022-08-30 05:37:03 +03:00
..
select-kit DEV: Add select-kit option to hide values from preview (#18002) 2022-08-19 11:39:58 -05:00
sidebar UX: Revamp styling of sidebar 2022-08-18 16:14:49 +08:00
user-menu DEV: Include reaction notifications in the likes tab (#18118) 2022-08-29 12:32:50 +08:00
widgets FEATURE: make user status on post streams live (#17903) 2022-08-29 19:33:50 +04:00
ace-editor-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
activation-controls-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
admin-report-test.js DEV: Consistently use response helper (#17627) 2022-07-25 02:31:52 +02:00
admin-user-field-item-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
avatar-uploader-test.js DEV: Consistently use response helper (#17627) 2022-07-25 02:31:52 +02:00
badge-button-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
badge-title-test.js DEV: Consistently use response helper (#17627) 2022-07-25 02:31:52 +02:00
bookmark-icon-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
bookmark-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
category-badge-helper-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
cook-text-test.js DEV: Consistently use response helper (#17627) 2022-07-25 02:31:52 +02:00
d-button-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
d-document-test.js DEV: Use all unread notifications count for the count in document title (#18120) 2022-08-30 05:37:03 +03:00
d-editor-test.js A11Y: makes toolbar tabindex independent from its context (#17889) 2022-08-12 15:24:20 -04:00
d-icon-helper-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
d-navigation-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
d-popover-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
d-tooltip-test.js DEV: a new d-tooltip component (#17513) 2022-07-28 18:33:20 +04:00
date-input-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
date-time-input-range-test.js DEV: Ensure date-time-input-range-test works in all timezones (#17923) 2022-08-15 11:28:30 +02:00
date-time-input-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
dialog-holder-test.js DEV: Add A11Y-friendly dialog addon (#18028) 2022-08-29 13:59:57 -04:00
emoji-picker-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
emoji-uploader-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
empty-state-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
flat-button-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
group-list-setting-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
group-membership-button-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
hidden-details-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
highlighted-code-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
html-safe-helper-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
iframed-html-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
input-size-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
invite-panel-test.js DEV: Consistently use response helper (#17627) 2022-07-25 02:31:52 +02:00
load-more-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
pending-post-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
relative-time-picker-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
secret-value-list-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
simple-list-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
site-header-test.js DEV: Add profile tab to the experimental user menu (#17982) 2022-08-19 13:02:11 +03:00
site-setting-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
slow-mode-info-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
software-update-prompt-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
text-field-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
themes-list-item-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
themes-list-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
time-input-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
time-shortcut-picker-test.js FEATURE: show default custom date on time-shortcut-pickers (#17867) 2022-08-18 14:55:54 +04:00
topic-list-item-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
topic-list-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
uppy-image-uploader-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
user-avatar-flair-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
user-info-test.js DEV: add status to the user info component (#17809) 2022-08-05 16:54:54 +04:00
user-selector-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
user-status-message-test.js DEV: Make it possible to hide tooltip on the user status (#17808) 2022-08-05 16:53:28 +04:00
value-list-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
watched-word-uploader-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
wizard-invite-list-test.js FEATURE: revamped wizard (#17477) 2022-07-27 06:53:01 +05:30