Martin Brennan
d7f744490a
FEATURE: Decorate topic-level bookmark button with reminder time ( #9426 )
...
* Show the correct bookmark with clock icon when topic-level bookmark reminder time is set and show the time of the reminder in the title on hover.
* Add a new bookmark lib and reminder time formatting function to show time with today/tomorrow shorthand for readability. E.g. tomorrow at 8:00am instead of Apr 16 2020 at 8:00am. This only applies to today + tomorrow, future dates are still treated the same.
2020-04-16 09:20:44 +10:00
Martin Brennan
2d122f0393
FIX: Toggle bookmark for topic was not working after cancelling the modal ( #9418 )
...
* When bookmarking the topic, if the user cancelled the bookmark modal the bookmark topic button no longer worked because we did not reset the "bookmarked" property
* Prefill the custom reminder time to 8:00am
2020-04-14 15:17:24 +10:00
Martin Brennan
452d0c868f
FIX: Ensure first post is loaded before trying to bookmark topic ( #9382 )
...
Load first post if not loaded when trying to bookmark topic
* if the first post was not loaded we could not bookmark it because
now we call the toggleBookmarkReminder function on an actual post
to open the modal window
* add a firstPost function to the topic model to get the first post
from the stream if it is loaded and if not do a GET request to load
it
* use the firstPost promise when bookmarking topic
2020-04-09 09:42:03 +10:00
Robin Ward
e1f8014acd
FEATURE: Support for publishing topics as pages ( #9364 )
...
If the feature is enabled, staff members can construct a URL and publish a
topic for others to browse without the regular Discourse chrome.
This is useful if you want to use Discourse like a CMS and publish
topics as articles, which can then be embedded into other systems.
2020-04-08 12:52:36 -04:00
Martin Brennan
42c2678d8f
FIX: Show topic level bookmark with reminder modal ( #9336 )
...
* When using the topic-level bookmark button or shortcut, we now show the bookmark with reminder modal for consistency.
* When hovering on a bookmark reminder notification where the bookmark has a name, show the name of the bookmark on hover.
2020-04-07 15:43:00 +10:00
Jarek Radosz
67b34600d5
DEV: Use type instead of method in ajax calls ( #8974 )
...
Even though `type` is an alias for `method`, we have custom logic in `/discourse/lib/ajax` that checks only `type`, and ~200 other ajax calls in the codebase already use `type` param.
2020-03-26 21:00:10 +01:00
Vinoth Kannan
dc1836573d
UX: display avatar flair in categories route topic list items ( #9197 )
2020-03-24 01:13:25 +05:30
Robin Ward
032205e202
Rename many .js.es6 files to .js
2020-03-12 13:29:55 -04:00
Robin Ward
a519fd5bcf
FIX: Highlighting was not being applied after some rendering.
...
Also includes a bunch of ES6 stuff.
2015-02-12 15:37:02 -05:00
Régis Hanol
7b8c7ff3ef
FIX: sub-categories with the same name had the same background image
2015-02-12 18:21:07 +01:00
Robin Ward
c3874b6ec9
Remove deprecated error callback to Discourse.ajax
2015-02-05 10:44:33 -05:00
Sam
1b1ea8e718
FEATURE: 'b' as a keyboard shortcut for bookmarking a topic
2015-01-30 15:11:24 +11:00
Régis Hanol
c681b353f2
FEATURE: bookmark topic button
2015-01-12 12:10:15 +01:00
Sam
efc717c14a
FEATURE: remove star concept from Discourse
2015-01-07 13:43:27 +11:00
Robin Ward
5667478b4d
A common, extensible interface for sending topic columns across the wire
...
This allows plugins to specify topic columns to serialize and save in
the database via the composer when creating topics and editing their
first posts.
2015-01-06 14:53:12 -05:00
Sam
d0d2a15180
Support likes column via site extension
2015-01-05 17:03:48 +11:00
Sam
69771562d7
clean up rendering and correct issues with topic list to raw commit
2015-01-05 16:37:25 +11:00
Sam
fa9bbd554e
PERF: unify topic lists, remove star from lists, move to raw rendering
2015-01-05 13:04:15 +11:00
Robin Ward
5beac44731
If transmitting an empty array, mark it as such
2015-01-02 16:12:06 -05:00
Robin Ward
7182767349
Refactor topic title/category saving to support easier changing of
...
attributes via plugins.
2015-01-02 14:25:41 -05:00
Sam
508efe3029
FIX: PM title not editable
2014-11-21 11:08:20 +11:00
Sam
bd78fca121
Merge pull request #2908 from cpradio/pr-dismiss-posts-topics-on-category
...
FEATURE: Show dismiss posts/topics buttons on category filtered lists
2014-10-31 11:34:53 +11:00
Sam
e3b88d3688
Revert "REVERT commits for raw handlebars rendering. We need to create a"
...
This reverts commit a4363e033d .
2014-10-29 13:05:19 +11:00
Robin Ward
a4363e033d
REVERT commits for raw handlebars rendering. We need to create a
...
separate branch and discuss issues of this approach.
2014-10-28 10:56:04 -04:00
Sam
f5379cee89
PERF: move activity-column to handlebars
2014-10-28 17:20:56 +11:00
cpradio
c6e54741bb
Apply comments from eviltrout, using this.get('category.id'), and use snake case for category_id
2014-10-24 17:01:28 -04:00
cpradio
439f393d89
Show dismiss posts/topics buttons on category filtered lists
2014-10-23 17:41:39 -04:00
Régis Hanol
98b6b9821a
FEATURE: log topic/post deletions from staff members
2014-10-01 17:40:13 +02:00
Robin Ward
c16b8364ab
FIX: Support ember app routing to topics with only slugs
2014-09-17 11:18:59 -04:00
Sam
c412d74369
HACK: suppress "1 reply" when directly below for quotes posts
2014-08-26 12:00:16 +10:00
Robin Ward
db4abe76db
CLEANUP: Remove dead resetRead code path
2014-08-18 14:35:33 -04:00
Robin Ward
eb5a3da10d
UX: Include tooltip text when hovering over posts column
2014-08-15 11:49:30 -04:00
Robin Ward
6f3db0e386
UX: Squash activity columns together. Show a cold map on the difference
...
between the last post and original post dates. Fix some missing classes
in the mobile templates and topic map.
2014-08-14 16:06:27 -04:00
Robin Ward
914bbd2a7b
FIX: Only show like heat map when there are 10 posts
2014-08-12 17:35:44 -04:00
Robin Ward
de73e9fb56
UX: Remove likes column, use heat map on posts count
2014-08-12 14:03:52 -04:00
Sam
ef5b18779e
FEATURE: merge new and old unread counts on categories page
...
UI: restyle UI to match counts
2014-08-05 10:44:01 +10:00
riking
19b757b058
FEATURE: Hide deleted posts by default for staff
2014-07-17 10:40:15 -07:00
Robin Ward
fb8dda7f42
FIX: We should use category_id instead of category_name to perform
...
operations, now that the subcategory names are not unique.
2014-07-16 15:40:35 -04:00
Régis Hanol
86b989f2ba
BUILD: make jshint happy
2014-06-18 20:07:14 +02:00
Régis Hanol
5238a95efb
add make/remove banner topic actions
2014-06-18 20:05:18 +02:00
Robin Ward
6048c9e100
Let's switch back to using post numbers rather than last for links to
...
the last post. We'll keep support for the old format, but start linking
directly to the last post.
2014-06-06 10:14:43 -04:00
Sam
084ec87850
FEATURE: admins can invite users to groups via the web UI
2014-05-09 18:22:36 +10:00
riking
63ce01893b
Add class to page based on topic category
2014-04-30 22:24:02 -07:00
Sam
b9d4edd91a
FEATURE: display unpinned state, allow unpinning by clicking on pin
2014-04-10 10:59:02 +10:00
riking
1540a3d5e5
Allow changing ownwership of posts by admins
2014-04-08 01:47:42 -07:00
riking
86774fa5c1
Simplify return statements
2014-03-18 18:23:15 -07:00
Neil Lalonde
3175c85fa6
FIX: pin/unpin button in topic admin menu needs to ignore whether the admin user cleared the pin
2014-03-12 14:47:15 -04:00
Robin Ward
f5e6bcc585
Create a cold age helper, make sure the first age column is strictly
...
`created_at`, add cold to the second column.
2014-03-10 15:02:39 -04:00
verg
7f440532a7
Jump to First Post instead of Reloading Topic
2014-03-03 19:09:42 -05:00
Robin Ward
f9cd354a2c
FEATURE: Button to reset new
2014-03-03 15:47:01 -05:00