discourse/app
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
..
assets FIX: Remove last_unread_post excerpt logic for bookmarks (#17979) 2022-08-19 09:35:25 +10:00
controllers FEATURE: Count views on published pages (#17878) 2022-08-19 00:11:19 +08:00
helpers UX: Improve safe-mode usability (#17929) 2022-08-15 15:15:15 +01:00
jobs FIX: Don't raise on deleted topic in UpdateHotlinkedRaw (#17901) 2022-08-13 22:40:26 +02:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models DEV: Filter topics by tag for categories (#17953) 2022-08-17 11:51:02 -05:00
serializers FIX: Remove last_unread_post excerpt logic for bookmarks (#17979) 2022-08-19 09:35:25 +10:00
services FIX: Remove last_unread_post excerpt logic for bookmarks (#17979) 2022-08-19 09:35:25 +10:00
views FEATURE: Add safe-mode toggle to `/u/admin-login` (#17930) 2022-08-15 15:30:07 +01:00