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/acceptance
Osama Sayegh 4fdb275683
DEV: Add bookmarks tab to the new user menu (#17814)
Some of the changes in this commit are extracted from https://github.com/discourse/discourse/pull/17379.

The bookmarks tab in the new user menu is different from the other tabs in that it can display a mixture of notifications and bookmarks. When there are unread bookmark reminder notifications, the tab displays all of these notifications at the top and fills the remaining space in the menu with the rest of the bookmarks. The bubble/badge count on the bookmarks tab indicates how many unread bookmark reminder notifications there are.

On the technical aspect, since this commit introduces a new `bookmark-item` component, we've done some refactoring so that all 3 "item" components (`notification-item`, `reviewable-item` and the new `bookmark-item`) inherit from a base component and get identical HTML structure so they all look consistent.

Internal tickets: t70584 and t65045.
2022-08-08 17:24:04 +03:00
..
about-test.js FEATURE: Add plugin API to register About stat group (#17442) 2022-07-15 13:16:00 +10:00
account-created-test.js UX: better account-created page (#17452) 2022-07-14 20:43:00 +05:30
admin-badges-award-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
admin-badges-show-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
admin-emails-test.js FIX: Correctly display /admin/emails errors (#17321) 2022-07-04 16:03:53 +02:00
admin-install-theme-modal-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
admin-search-log-term-test.js DEV: updates chart.js to 3.5.1 (#14107) 2021-08-23 13:49:49 +02:00
admin-search-logs-test.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
admin-silence-user-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
admin-site-settings-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
admin-site-text-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
admin-suspend-user-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
admin-user-badges-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
admin-user-emails-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
admin-user-index-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
admin-users-list-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
admin-watched-words-test.js FIX: Allow to add the same watched word with a different case (#17799) 2022-08-05 12:18:17 +02:00
auth-complete-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
badges-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
bookmarks-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
categories-test.js FEATURE: add categories page style to order topics by created date (#17500) 2022-07-25 09:41:43 -04:00
category-banner-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
category-chooser-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
category-edit-security-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
category-edit-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
category-new-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
click-track-test.js DEV: Revisit skipped tests (#15769) 2022-02-02 12:09:03 -05:00
composer-actions-test.js DEV: We already restore sinon after each test (#17529) 2022-07-16 22:57:33 +02:00
composer-draft-saving-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
composer-edit-conflict-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
composer-editor-mentions-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
composer-hyperlink-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
composer-image-preview-test.js FEATURE: add image delete button in preview. (#17624) 2022-08-04 16:33:23 -04:00
composer-onebox-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
composer-tags-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
composer-test.js DEV: We already restore sinon after each test (#17529) 2022-07-16 22:57:33 +02:00
composer-topic-links-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
composer-uncategorized-test.js DEV: Refactor Site creation in tests (#15707) 2022-02-03 10:02:47 +00:00
composer-uploads-uppy-test.js FIX: Ensure uploads work when the user's browser rewrites ellipsis (#17671) 2022-07-26 21:43:39 +01:00
create-account-external-test.js DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
create-account-user-fields-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
create-invite-modal-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
custom-html-set-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
custom-html-template-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
dashboard-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
dismiss-notification-modal-test.js DEV: Add bookmarks tab to the new user menu (#17814) 2022-08-08 17:24:04 +03:00
do-not-disturb-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
edit-notification-click-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
email-notice-test.js UX: Differentiate 'emails disabled' notice for 'yes' and 'non-staff' (#16096) 2022-03-03 15:49:20 +00:00
emoji-picker-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
emoji-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
encoded-category-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
enforce-second-factor-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
fast-edit-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
flag-post-test.js DEV: Make settled() work in the legacy env (#16122) 2022-03-07 20:00:09 +01:00
forgot-password-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
group-index-test.js FIX: Make group members bulk operations consistent (#17561) 2022-07-20 16:54:21 +03:00
group-manage-categories-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-manage-email-settings-test.js FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
group-manage-interaction-test.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
group-manage-logs-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-manage-membership-test.js FEATURE: Experimental support for group membership via google auth (#14835) 2021-12-09 12:30:27 +00:00
group-manage-profile-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-manage-tags-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
group-requests-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
group-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
groups-index-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
groups-new-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
hamburger-menu-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
hashtags-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
image-aspect-ratio-test.js FIX: Ensure images do not change height when loading is complete (#16368) 2022-04-05 13:43:17 +01:00
invite-accept-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
invite-show-user-fields-test.js DEV: Deprecate assert.not() (#15595) 2022-02-09 18:49:05 +01:00
jump-to-test.js DEV: Remove flaky acceptance test (#17045) 2022-06-09 09:56:05 +08:00
keyboard-shortcuts-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
last-visited-topic-focus-test.js A11Y: Focus last viewed topic in topic lists (take 3) (#16257) 2022-03-23 13:03:56 +03:00
lightbox-test.js DEV: Avoid triggering 404 errors in tests (#17404) 2022-07-10 11:09:13 +02:00
login-redirect-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
login-required-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
login-with-email-and-hide-email-address-taken-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
login-with-email-and-no-social-logins-test.js UX: add link for email login below username, remove button (#12118) 2021-02-24 16:30:08 -05:00
login-with-email-disabled-test.js UX: add link for email login below username, remove button (#12118) 2021-02-24 16:30:08 -05:00
login-with-email-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
mobile-discovery-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
mobile-pan-test.js DEV: Fix random typos (#16066) 2022-02-28 10:20:58 +08:00
mobile-sign-in-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
mobile-topic-bulk-actions-test.js UX: add bulk-select to mobile topic lists (#15386) 2022-07-26 15:36:35 -04:00
mobile-users-test.js FEATURE: Add user custom fields to user directory (#13238) 2021-06-07 12:34:01 -05:00
modal-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
new-message-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
new-topic-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
notifications-filter-test.js DEV: Clean up QUnit tests (#13328) 2021-06-08 17:54:12 +02:00
notifications-test.js DEV: Remove yet another jQ use in tests (#17628) 2022-07-25 02:32:04 +02:00
opengraph-tag-updater-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
page-publishing-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
password-reset-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
pending-posts-test.js DEV: Fix pending posts page, make tests work in legacy env (#15132) 2021-11-30 13:01:39 +01:00
personal-message-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
plugin-keyboard-shortcut-test.js DEV: Remove unnecessary visit() calls (#17536) 2022-07-17 20:15:44 +02:00
plugin-outlet-connector-class-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
plugin-outlet-decorator-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
plugin-outlet-multi-template-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
plugin-outlet-single-template-test.js DEV: Switch from htmlbars-inline-precompile to ember-cli-htmlbars (#17424) 2022-07-11 15:25:40 +01:00
post-admin-menu-test.js DEV: Sort imports alphabetically (#11382) 2020-12-01 15:31:26 -03:00
post-controls-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
post-history-test.js DEV: Revisit skipped tests (#15769) 2022-02-02 12:09:03 -05:00
preferences-test.js DEV: Don't await for updateCurrentUser (#17534) 2022-07-17 00:21:12 +02:00
raw-plugin-outlet-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
redirect-to-top-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
reports-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
review-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
search-full-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
search-mobile-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
search-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
second-factor-auth-test.js DEV: Consistently use response helper (#17627) 2022-07-25 02:31:52 +02:00
share-topic-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
shared-drafts-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
sidebar-categories-section-test.js DEV: Replace topic-tracking-state:main with service:topic-tracking-state (#17802) 2022-08-05 08:48:55 +08:00
sidebar-community-section-test.js DEV: Replace topic-tracking-state:main with service:topic-tracking-state (#17802) 2022-08-05 08:48:55 +08:00
sidebar-messages-section-test.js DEV: Convert pm-topic-tracking-state to Ember Service (#17688) 2022-07-27 13:00:43 +01:00
sidebar-mobile-test.js Add support for toggling between mobile and desktop view on sidebar (#17794) 2022-08-04 14:26:35 +08:00
sidebar-plugin-api-test.js DEV: Support old hamburger menu custom footer links in Sidebar (#17796) 2022-08-04 15:05:14 +08:00
sidebar-tags-section-test.js DEV: Replace topic-tracking-state:main with service:topic-tracking-state (#17802) 2022-08-05 08:48:55 +08:00
sidebar-test.js Add support for toggling between mobile and desktop view on sidebar (#17794) 2022-08-04 14:26:35 +08:00
sign-in-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
static-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
tag-groups-test.js DEV: select-kit third major update with focus on accessibility (#13303) 2021-08-23 10:44:19 +02:00
tags-intersection-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
tags-test.js FIX: Ensure category-tag filter routes are functioning (#17420) 2022-07-11 10:54:51 +01:00
topic-admin-menu-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
topic-anonymous-test.js DEV: Clean up QUnit tests (#13328) 2021-06-08 17:54:12 +02:00
topic-bulk-actions-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
topic-discovery-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
topic-discovery-tracked-test.js DEV: Replace topic-tracking-state:main with service:topic-tracking-state (#17802) 2022-08-05 08:48:55 +08:00
topic-edit-timer-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
topic-entrance-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
topic-footer-button-api-mobile-test.js DEV: adds a new topic footer dropdown api (#14747) 2021-11-12 10:21:34 +01:00
topic-footer-button-api-test.js DEV: Avoid using globals (#14909) 2021-11-13 13:10:13 +01:00
topic-footer-dropdown-api-test.js DEV: adds a new topic footer dropdown api (#14747) 2021-11-12 10:21:34 +01:00
topic-list-plugin-api-test.js DEV: Fix "overridden" typos (#16399) 2022-04-06 23:17:20 +02:00
topic-list-tracker-test.js DEV: Fix state leak in QUnit acceptance tests (#17507) 2022-07-15 16:51:15 +10:00
topic-move-posts-test.js DEV: Reduce jQuery usage in acceptance tests (#17406) 2022-07-10 10:52:02 +02:00
topic-notifications-button-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
topic-quote-button-test.js FIX: Allow users to quote in closed topics (#17645) 2022-07-26 15:45:34 -04:00
topic-set-slow-mode-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
topic-slow-mode-test.js DEV: use the only source for time shortcut options on all date pickers (#16366) 2022-04-21 15:49:11 +04:00
topic-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
topic-timeline-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
unknown-test.js DEV: Silence one more test (#17375) 2022-07-08 09:15:09 +08:00
user-activity-all-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
user-activity-drafts-test.js FEATURE: improve blank page syndrome on the user activity pages (#14311) 2021-09-16 21:35:34 +04:00
user-activity-likes-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
user-activity-read-test.js FIX: This was causing a flaky test in Ember CLI 2022-01-26 14:53:25 -05:00
user-activity-replies-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
user-activity-topic-test.js UX: cleaner messages for empty state on the user activity topics page (#16267) 2022-03-25 00:20:55 +04:00
user-anonymous-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
user-bookmarks-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
user-card-test.js FEATURE: user status (#16875) 2022-05-27 13:15:14 +04:00
user-drafts-stream-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
user-menu-test.js DEV: Add bookmarks tab to the new user menu (#17814) 2022-08-08 17:24:04 +03:00
user-preferences-interface-test.js DEV: Remove most of jQuery usage from tests (#17474) 2022-07-13 19:29:19 +02:00
user-preferences-notifications-test.js DEV: improve timezone API on the client (#16660) 2022-05-13 13:21:56 +04:00
user-preferences-profile-test.js FEATURE: save local date to calendar (#14486) 2021-10-06 14:11:52 +11:00
user-preferences-sidebar-test.js DEV: Introduce SiteSetting to enable/disable Sidebar. (#17662) 2022-07-27 13:42:26 +08:00
user-private-messages-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
user-profile-summary-test.js FEATURE: show user status on the user profile page (#17712) 2022-07-28 21:12:48 +04:00
user-status-test.js FEATURE: auto remove user status after predefined period (#17236) 2022-07-05 19:12:22 +04:00
user-test.js FEATURE: show user status on the user profile page (#17712) 2022-07-28 21:12:48 +04:00
users-test.js DEV: Use key names in triggerKeyEvent (#17535) 2022-07-17 20:15:28 +02:00
wizard-test.js DEV: add test for wizard last step and some minor optimizations (#17752) 2022-08-02 14:13:25 +05:30