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
Martin Brennan 49a70a37f1
FIX: Remove last_unread_post excerpt logic for bookmarks (#17979)
The logic to determine what post excerpt to show for
a topic-level bookmark based on the last unread post
was complex and slow, so we decided to remove it and
always just use the first post excerpt.

This commit also fixes an issue where a couple of
instances of for_topic were missed when doing the
Bookmarkable refactors, so:

1. Clicking the topic bookmark link was not taking
   the user to the last unread post
2. When replying to a topic where there was a topic
   level bookmark with the auto delete preference
   of "on owner reply", we were not removing the
   bookmark from the UI correctly.

A test has been added for the former, the latter would
be quite time-consuming to test and not really worth
it considering it's quite an edge case UI bug.
2022-08-19 09:35:25 +10:00
..
acceptance UX: show blank page placeholder instead of the blue panel that says "No Activity" (#16293) 2022-08-18 17:24:52 +04:00
fixtures UX: Make category section link icons consistent with Sidebar's interface (#17922) 2022-08-17 09:40:43 +08:00
helpers DEV: Await for all async MessageBus callbacks (#17966) 2022-08-17 12:44:48 +02:00
integration FEATURE: show default custom date on time-shortcut-pickers (#17867) 2022-08-18 14:55:54 +04:00
unit FIX: Remove last_unread_post excerpt logic for bookmarks (#17979) 2022-08-19 09:35:25 +10:00
active-plugins.js.erb DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
core-tests.js DEV: Support for running theme test with Ember CLI (third attempt) 2022-01-13 16:02:07 -05:00
index.html DEV: Upgrade to Ember 3.28 2022-07-19 10:00:59 +01:00
plugin-tests.js.erb DEV: Transpile all plugin js by default (#17175) 2022-06-21 22:07:10 +02:00
setup-tests.js DEV: Abort qunit tests when clicking in the toolbar (#17989) 2022-08-18 23:32:38 +01:00
test-boot-ember-cli.js DEV: Fix random test ordering (#17905) 2022-08-15 02:04:44 +02:00