175 Commits

Author SHA1 Message Date
Robin Ward
1ae625ec2e FIX: Archetype class wasn't being applied on refresh 2016-08-02 15:26:07 -04:00
Robin Ward
b8125b3512 REFACTOR: Remove Discourse.Ajax 2016-07-11 12:57:05 -04:00
Robin Ward
a546395397 REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
Robin Ward
1eb64151f6 User interface for watching first post 2016-07-07 11:21:50 -04:00
Arpit Jalan
1e289d1443 FEATURE: support adding tags when creating new topic via link 2016-06-04 11:15:49 +05:30
Robin Ward
eccfa1317a
FIX: Safer offset checking 2016-06-03 17:57:52 -04:00
Robin Ward
0f0bff3786
FIX: Timeline issues on sites with large headers 2016-06-03 17:19:06 -04:00
Robin Ward
0b8a3ff5da
FIX: Better handling of position when near the top or bottom 2016-05-31 10:51:56 -04:00
Robin Ward
a3907e1fbb
UX: Allow the timeline to scroll mid post 2016-05-31 10:51:55 -04:00
Robin Ward
f8e6d05b8d
FIX: Small timeline docking tweaks 2016-05-31 10:51:55 -04:00
Robin Ward
1e3e4a95fd
FIX: Timeline has to dock at the top too for long titles + banners 2016-05-31 10:51:53 -04:00
Robin Ward
1584033d7a
UX: Don't display the timeline on thinner browser widths 2016-05-31 10:51:53 -04:00
Robin Ward
fa2bffd618
FIX: Dock the timeline if you scroll down too much 2016-05-31 10:51:41 -04:00
Robin Ward
187d7d6f96
Remove more views and deprecations. 2016-04-28 16:17:18 -04:00
Robin Ward
04ec679d82
Fixes some deprecations:
- LoadMore as a Mixin for discovery, groups
- Removed Views for discovery, groups
2016-04-28 15:25:45 -04:00
Robin Ward
d7b568f98e REFACTOR: Remove view from badges-show 2016-03-25 12:11:39 -04:00
Robin Ward
d129c61a4a FIX: Badge loading more was stuck 2016-03-25 12:11:39 -04:00
Robin Ward
54445f21c1 FIX: .js files can't use ES6 syntax 2016-03-18 12:53:48 -04:00
Robin Ward
5d4ee2ca1d FEATURE: Warn a user when they have few likes remaining 2016-03-18 11:30:29 -04:00
Sam
dd6ebde824 FIX: Always ensure notifications are treated as read once clicked
UX: improve messaging so notifications list is far more stable
PERF: improve performance of notifcation lookup queries

- Add feature "SetTransientHeader" that allows shipping info to server
   in the next Ajax request
- remove local storage hack used for notifications
- amend lookupStale to return hydrated objects, move logic into store
- stop magically clearing various notifications (likes, invitee accepted, group_summary, granted badge)
2016-02-15 19:29:47 +11:00
Sam
a8b5192efd FEATURE: User page refactor
Re-organise user page so it is easier to find interesting info
split it into tabs

- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
2015-12-20 16:45:49 +11:00
Sam
c3f08145b8 FIX: Chrome scrolling page up when you expand likes 2015-12-17 16:56:18 +11:00
Arpit Jalan
99c1aa2e85 optimize OpenComposer Mixin 2015-11-24 23:39:19 +05:30
Arpit Jalan
362c515f33 FEATURE: compose a new pre-filled message via URL 2015-11-24 18:55:45 +05:30
Sam
5c899c765b Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
This reverts commit c21457d6a7a369fb52dfd3cd01b3882055c85d62.
2015-11-21 12:27:06 +11:00
Robin Ward
c21457d6a7 Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
This reverts commit c0b277d273536f6aab1df67d908ed5e306868b2a.
2015-11-20 10:00:12 -05:00
Sam
c0b277d273 REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821

Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
f5b34d5f53 FEATURE: Admin interface for editing email templates 2015-11-19 16:39:34 -05:00
Robin Ward
f85d848649 Remove a bunch of old deprecated code 2015-11-10 13:09:05 -05:00
Régis Hanol
ef2f77339a FIX: use '#main' height to check whether screen is full or not 2015-11-04 19:41:12 +01:00
Arpit Jalan
4a880a758f FEATURE: new Dismiss posts/topics modal 2015-10-20 16:07:02 +05:30
Robin Ward
6b48647fc7 FIX: Double load sometimes on topic lists 2015-09-23 11:48:58 -04:00
Sam
ec4a1bb2c4 FIX: page tracking was not properly tracking transitions
PERF: move closure to self contained method so env is released earlier.
2015-09-17 11:06:33 +10:00
Robin Ward
975edceff4 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
Régis Hanol
48c3fa423a FIX: auto-focus input field on Safari was closing the modal 2015-09-14 12:39:46 +02:00
Robin Ward
3ceadbd5b8 FIX: Allow qunit tests to run in browser by stubbing new functionality 2015-09-09 16:20:36 -04:00
Régis Hanol
4f890a439c FIX: automatically load pages of topics list until it fills up the entire screen 2015-09-09 17:41:34 +02:00
Robin Ward
8e776d0fd7 Move TopicTrackingState to injected object 2015-09-04 13:00:24 -04:00
Sam
a54e8f3c5e FEATURE: live refresh notifications as they happen 2015-09-04 13:20:33 +10:00
Sam
8bc7423045 UX: On first load of notifications don't use cached data 2015-09-04 10:43:26 +10:00
Robin Ward
6fb69d4434 Notifications cache should use localStorage wrapper 2015-09-01 14:45:24 -04:00
Robin Ward
ddf0db0338 Refactor notifications localStorage cache into adapter pattern.
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.

It also returns a `refresh()` method to freshen up the stale data.

To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Régis Hanol
3409f25c53 remove console.log (@eviltrout get out of my head) 2015-08-26 19:57:48 +02:00
Régis Hanol
31f0300b06 FIX: category class in body + memory leak 2015-08-26 19:56:51 +02:00
Robin Ward
abd9b26642 Convert Badges / User Badges to ES6. 2015-08-19 12:09:10 -04:00
Arpit Jalan
e526fb0d1c FIX: fix new-topic composer issue 2015-08-15 12:18:37 +05:30
Robin Ward
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Régis Hanol
a8d20c623f FIX: eyeline was broken in dev 2015-08-13 12:42:57 +02:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00