Commit Graph

46 Commits

Author SHA1 Message Date
85a95e9aa1 FEATURE: add first_post_id to TopicListItemSerializer (#31254)
Will be used in this feature:
https://github.com/discourse/discourse-topic-cards/pull/36
2025-02-10 21:53:05 +05:30
aa222ef7b8 FEATURE: add first post likes data serializer (#31216)
This PR adds two attributes (`op_can_like` & `op_liked`) to
`TopicListItemSerializer`.

We've also added `serialize_topic_op_likes_data` theme modifier so that
these two attributes are only added when a theme or component needs this
data.
2025-02-06 20:50:30 +05:30
d4bfd441ba FEATURE: display PM participant group names in the topics list. (#21677)
After this change, we can view all participant group names on the topic list page.

Co-authored-by: Régis Hanol <regis@hanol.fr>
2023-05-31 19:32:06 +05:30
5a003715d3 DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
fbcc35b417 DEV: Remove PostAction/UserAction bookmark refs (#16681)
We have not used anything related to bookmarks for PostAction
or UserAction records since 2020, bookmarks are their own thing
now. Deleting all this is just cleaning up old cruft.
2022-05-10 10:42:18 +10:00
dbc630f45b PERF: Fix N+1 queries on private messages route. 2020-09-11 15:20:27 +08:00
81c216e04c FIX: composer problem on the categories page (#9508) 2020-04-22 09:24:54 -07:00
6c16d5762c No need for return in last statement of method 2019-11-14 14:32:22 -05:00
59ee89f0b7 UX: Adds +n indicator in PM topic list (#8353)
Shows the number of additional PM recipients in list when there are more than 5.
2019-11-14 14:14:23 -05:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
eab64710ff FIX: Shared draft performance fix + missing avatars 2018-03-28 16:11:43 -04:00
4b5977aa6a Revert "PERF: Don't join on shared drafts unless you have to"
This reverts commit efedd9745fd9c34ac982941cca79f8ab8e517328.
2018-03-28 15:35:13 -04:00
efedd9745f PERF: Don't join on shared drafts unless you have to 2018-03-28 13:57:39 -04:00
b9abd7dc9e FEATURE: Shared Drafts
This feature can be enabled by choosing a destination for the
`shared drafts category` site setting.

* Staff members can create shared drafts, choosing a destination
category for the topic when it is published.

* Shared Drafts can be viewed in their category, or above the
topic list for the destination category where it will end up.

* When the shared draft is ready, it can be published to the
appropriate category by clicking a button on the topic view.

* When published, Drafts change their timestamps to the current
time, and any edits to the original post are removed.
2018-03-20 17:15:26 -04:00
84ce1acfef FEATURE: Allow staffs to tag PMs 2018-02-21 20:11:46 +05:30
9fbe1436b6 UX: Replace heuristic solution root domain extraction for topic featured link. 2017-11-29 21:52:41 +08:00
52763f5115 FEATURE: Allow posting a link with topics 2016-12-05 17:20:54 +01:00
e221414935 PERF: Remove N+1 queries on user messages page. 2016-06-29 09:30:54 +08:00
f13470b96b Use db schema for tags instead of plugin store and custom fields 2016-05-26 14:29:48 -04:00
e5918c7d00 FEATURE: Merge tagging plugin into core 2016-04-27 11:58:53 -04:00
Sam
6785675150 clean up support for filter=liked and filter=bookmarked 2015-01-07 18:50:28 +11:00
Sam
ea87f5fd8a FEATURE: support for filter=bookmarked and filter=liked in topic list 2015-01-07 18:20:10 +11:00
Sam
efc717c14a FEATURE: remove star concept from Discourse 2015-01-07 13:43:27 +11:00
Sam
d036d461dc FEATURE: only expand globally pinned topics on front page 2015-01-06 07:44:52 +11:00
Sam
222964b27b add perf note 2015-01-05 17:54:38 +11:00
Sam
0396fd66f6 FEATURE: sorting by op likes shows the op likes count 2015-01-05 17:39:49 +11:00
Sam
921dd75dd9 FIX: anonymous had <a> items for pin/unpin
FEATURE: display category in search results
FEATURE: display topic state (locked/pinned/etc) in search results

UI cleanup for search results, clearing floats and so on.
2014-09-03 12:13:26 +10:00
9125453628 FEATURE: add the first 3 participants in a private message 2014-05-12 09:32:49 +02:00
Sam
4f6cef01e4 fix build 2014-02-10 16:07:09 +11:00
4981525047 REFACTOR: Fixes poor class hierarchy for listing topics
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00
4ce81e1b01 Rename "Best Of" to "Summary" 2013-11-18 12:48:26 -05:00
541620c115 Routes and support for sub-categories 2013-10-23 15:22:49 -04:00
01180e78cc Use two lines per topic list item on mobile 2013-09-19 14:36:38 -07:00
f151b30044 Show excerpts on Categories page 2013-05-29 11:46:01 -04:00
5f7f87437c Fix for topic excerpt being from the wrong post 2013-05-18 13:35:21 -04:00
Sam
d68e3f7369 optimisations (cut down on category queries, cut down on expensive current_user query) 2013-05-13 11:07:22 +10:00
Sam
b25a5a20bb option to strip links from excerpts 2013-04-30 13:25:55 +10:00
442be64d5e Show an excerpt of a pinned topic's body in the topic list 2013-04-29 16:37:19 -04:00
33f349a1e6 Show all Hot rankings at once with a toggle button 2013-04-03 15:25:18 -04:00
ee76f1926d Debugging Tool for Hot Topics 2013-04-02 18:00:53 -04:00
tms
172173eccc Make topic lists show last activity more intuitively 2013-03-25 22:13:23 -04:00
ad082cea70 Big commit:
- Support for a popup that shows similar topics
- Cleaned up a lot of Javascript
- Cleaned up use of Promises
2013-03-15 14:35:33 -04:00
f8d8272406 Cleaned up TopicUserSpec, introduces clearing of pinned topics 2013-03-07 12:19:25 -05:00
cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
836c3a7379 Support for Fancy topic titles 2013-02-19 16:14:04 -05:00
21b5628528 Initial release of Discourse 2013-02-05 14:16:51 -05:00