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
Jarek Radosz 1dcdcb5c31
FIX: Cast all numerical values in reports (#8087)
* FIX: Cast all numerical values in reports

The backend can return some numerical values in report as strings. That results in unexpected order of values when sorting report tables.

* Create `toNumber()` helper

The `typeof` and `parseFloat` seem to be the fastest path: https://jsperf.com/number-vs-typeof-vs-parsefloat#results
2019-09-12 15:17:34 +02:00
..
adapters FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
components FEATURE: Quick access panels in user menu (#8073) 2019-09-09 11:03:57 -04:00
controllers FIX: Switch to full screen external login for Safari 2019-09-11 00:18:37 -04:00
helpers FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
initializers FIX: notifications not updating correctly from background tab 2019-08-30 15:51:20 +10:00
lib FIX: Cast all numerical values in reports (#8087) 2019-09-12 15:17:34 +02:00
mixins SECURITY: Don't send CSRF token in query string 2019-08-21 13:16:38 +01:00
models UX/PERF: Update readers count when a post from another user is read. Don't fetch the post data again just to update the count. (#8078) 2019-09-09 11:29:15 +10:00
pre-initializers FIX: Better detection of Apple browsers (#7961) 2019-08-02 12:43:25 -03:00
raw-views DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
routes FIX: Topics with muted tag didn't show up when filtering by category and tag 2019-09-06 20:38:03 +02:00
services FIX: Allow accessing nested objects within theme settings 2019-08-30 12:27:02 +01:00
templates Adding above-user-profile plugin outlet 2019-09-11 22:22:00 -04:00
widgets UX: Use medium format for displaying time in post notices. (#8074) 2019-09-11 13:00:53 +03:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00