Jarek Radosz
fe588cc7f8
DEV: Fix function prototype deprecations ( #8681 )
...
* DEV: Fix the function prototype observers deprecation
DEPRECATION: Function prototype extensions have been deprecated, please migrate from function(){}.observes('foo') to observer('foo', function() {}). [deprecation id: function-prototype-extensions.observes] See https://deprecations.emberjs.com/v3.x/#toc_function-prototype-extensions-observes for more details.
* DEV: Fix the function prototype event listeners deprecation
DEPRECATION: Function prototype extensions have been deprecated, please migrate from function(){}.on('foo') to on('foo', function() {}). [deprecation id: function-prototype-extensions.on] See https://deprecations.emberjs.com/v3.x/#toc_function-prototype-extensions-on for more details.
* DEV: Simplify `default as` imports
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2020-01-16 18:56:53 +01:00
Mark VanLandingham
6275c05c0d
DEV: Move computed to discourseComputed ( #8312 )
2019-11-07 15:38:28 -06:00
Mark VanLandingham
02a886ce13
DEV: Import Ember.on from @ember/object/evented ( #8268 )
...
* DEV: Import `Ember.on` from @ember/object/evented
* Dont import "on" outsie of the js or admin app
* Fixed error when resolving merge conflicts
2019-10-30 17:05:27 -05:00
Mark VanLandingham
2ae21e9c35
DEV: Import every instance of Ember.computed function ( #8267 )
...
* DEV: Import every instance of Ember.computed function
* export default for Ember.computed
2019-10-30 15:28:29 -05:00
Robin Ward
8d34f4bbd9
Revert "Revert Ember.run refactors"
...
This reverts commit fcb1ca52f9 .
2019-10-30 09:48:24 -04:00
Robin Ward
fcb1ca52f9
Revert Ember.run refactors
...
This reverts commit 5ca60fcb6b .
2019-10-29 17:10:47 -04:00
Robin Ward
e5525d03b8
FIX: Yet more linting fixes
2019-10-29 16:14:46 -04:00
Robin Ward
5ca60fcb6b
REFACTOR: Use imports for Ember.run
2019-10-29 15:31:56 -04:00
Robin Ward
a8a76198b1
REFACTOR: Remove Ember.Component global variable
...
Use imports instead.
2019-10-23 12:30:52 -04:00
Mark VanLandingham
054fbd7846
FEATURE: Remember scroll position in private message lists ( #8212 )
...
* FEATURE: remember position in private message lists
* Unified saving scroll position between topic lists
* added discovery-topics-list template
* ran prettier
* removed dynamic scroll key
* JS cleanup
2019-10-18 13:16:52 -05:00
Jarek Radosz
7de3e7b322
DEV: Fix the Function.prototype.on deprecation ( #8205 )
...
https://deprecations.emberjs.com/v3.x/#toc_function-prototype-extensions-on
2019-10-18 01:49:41 +02:00
Joffrey JAFFEUX
bfea922167
DEV: global s/this.get\("(\w+)"\)/this.$1 ( #7592 )
2019-05-27 10:15:39 +02:00
Joffrey JAFFEUX
6952510fc4
FIX: restores skipHeader computed property
2019-04-26 23:43:49 +02:00
Maja Komel
4b455e741e
DEV: Ember 3.8.0
...
Co-Authored-By: majakomel <maja.komel@gmail.com>
2019-04-26 12:16:21 +02:00
Joffrey JAFFEUX
f9648de897
DEV: upgrades from Ember 2.13 to Ember 3.5.1 ( #6808 )
...
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files
2018-06-15 17:03:24 +02:00
Robin Ward
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
Robin Ward
4d8619f62c
Move topic list extensibility to topic-list component
2017-10-12 12:03:22 -04:00
Robin Ward
8a8d3a3a7e
Allow currentUser to be passed into raw templates automatically
2017-10-11 12:21:24 -04:00
Arpit Jalan
9c7b891afd
FEATURE: batch select topics
2016-11-18 02:32:47 +05:30
Rafael dos Santos Silva
bd77f5cb72
FIX: Last Visit line shouldn't appear on /top
2016-11-08 19:56:13 -02:00
Robin Ward
55be81faa6
Don't use .@each dependant keys
2016-10-25 15:39:09 -04:00
Sam
601a96333a
FIX: last visited line not rendering correctly
...
- stop changing cached models
2016-10-05 15:37:47 +11:00
Régis Hanol
08c4de388e
make eslint happy
2016-10-04 12:14:24 +02:00
Rafael dos Santos Silva
5476dee52d
FIX: Last visit must keep working when changing categories
2016-09-29 17:40:28 -03:00
Guo Xiang Tan
119225e496
Make eslint happy.
2016-09-27 15:12:47 +08:00
Rafael dos Santos Silva
16aad189fb
UX: Add text to new messages line
2016-09-27 14:52:03 +08:00
Sam
c51fec7fda
FIX: improve last visited detection
...
- clear line detection cache on category change
- don't show last visited unless latest / descending
- improve perf of last visited detection algorithm
2016-08-21 17:06:00 +10:00
Sam
9b1e81cd6d
Only display in discovery, correct double highlighting
2016-08-19 12:43:48 +10:00
Sam
11f9a463ac
FEATURE: highlight last visited topic in topic list
2016-08-19 11:58:39 +10:00
Robin Ward
243c5a74ce
FIX: Topic entrance wasn't showing on mobile. Tidied up some stuff.
2016-03-15 12:16:02 -04:00
Robin Ward
849c99f83d
Remove Discourse.Mobile constants
2016-02-18 12:19:00 -05:00
Robin Ward
b0541500b4
FIX: eslint deprecations
2015-08-13 15:14:08 -04:00
Robin Ward
d491d817a6
UX: Alwasy skip headers on topic lists on mobile.
...
Fixes topic lists filtered by tag on mobile.
2015-01-28 15:20:26 -05:00
Sam
e089f699c1
upgrade pg to version 0.18, may fix encoding issue
2015-01-06 06:16:22 +11:00
Sam
fce74e64a1
correct missing new/unread badges
2015-01-05 19:31:29 +11:00
Sam
9c250444ff
regression, navigating to category leaves phantom columns
2015-01-05 18:18:50 +11:00
Sam
0396fd66f6
FEATURE: sorting by op likes shows the op likes count
2015-01-05 17:39:49 +11:00
Sam
ea2f892f4b
FEATURE: show likes column if sorting by likes
2015-01-05 17:09:17 +11:00
Sam
69771562d7
clean up rendering and correct issues with topic list to raw commit
2015-01-05 16:37:25 +11:00