Commit Graph

4262 Commits

Author SHA1 Message Date
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
Arpit Jalan abdb9467a8 fix the build :fired: 2015-08-31 21:42:31 +05:30
Arpit Jalan eb96016043 FEATURE: copy invite link for topic invites 2015-08-31 21:15:15 +05:30
Robin Ward ce0a50eae1 FIX: user_custom_preferences did not match other outlet names 2015-08-31 11:06:23 -04:00
Sam f2f5d1bfc7 FEATURE: add header-after-home-logo outlet 2015-08-31 17:29:42 +10:00
Sam 14a15491a4 Merge pull request #3712 from tgxworld/combine_double_lock_icon
UX: Combine closed and archived icon.
2015-08-31 12:14:27 +10:00
Sam 4d67bba44a redo user menu adding small glyphs linking to various functions 2015-08-31 12:02:16 +10:00
Guo Xiang Tan d39cfe9068 UX: Combine closed and archived icon. 2015-08-31 09:21:58 +08:00
Guo Xiang Tan d3fea106fc FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny. 2015-08-31 00:14:57 +08:00
Guo Xiang Tan 50ce95b37d FIX: Post age time not being translated correctly. 2015-08-31 00:11:52 +08:00
Guo Xiang Tan 430fc1421a FIX: Emoji not unescaped in topic link. 2015-08-30 13:29:19 +08:00
Sam 41c32ea512 FEATURE: cache notifications in local storage 2015-08-30 09:50:08 +10:00
Sam fa4b00a144 tighten padding some on menus 2015-08-30 09:26:02 +10:00
Robin Ward aa45429989 UX: Change heuristic for determining slide vs drop down 2015-08-29 11:18:26 -04:00
Robin Ward 4dc5717af4 Remove notifications from keyboard shortcuts 2015-08-29 11:00:07 -04:00
Robin Ward 879f9648d2 FIX: Keyboard shortcuts for menu panels were broken 2015-08-29 10:43:46 -04:00
Jeff Atwood 88a30fafdd remove close button on right menu panel 2015-08-29 04:00:16 -07:00
Jeff Atwood 39c545873c remove a few things from user menu for now 2015-08-28 15:47:35 -07:00
Robin Ward b417f636aa FIX: Smoke test needs a class that was accidentally removed 2015-08-28 16:55:18 -04:00
Robin Ward c1b3811377 FIX: JSHint failures 2015-08-28 16:25:29 -04:00
Robin Ward 3ae5a0a2df UX: Merge notifications and user dropdown 2015-08-28 16:11:40 -04:00
Robin Ward d4b987ff32 Migrate search drop down to menu-panel component. 2015-08-28 15:44:24 -04:00
Arpit Jalan 3bc79f6885 UX: select invite link by default 2015-08-29 00:42:58 +05:30
Arpit Jalan 4ad07b8c09 FEATURE: generate invite token 2015-08-28 18:29:31 +05:30
Régis Hanol 727827dc25 FIX: error when loading admin > flags 2015-08-28 12:31:32 +02:00
Neil Lalonde cc2dc4d550 FEATURE: the notice asking admins to get discussion started will update with live counts of topics and posts 2015-08-27 17:28:40 -04:00
Robin Ward 7de03f837e UX: Auto size the height of the drop down panel 2015-08-27 14:29:54 -04:00
Régis Hanol 96c23d51a2 FIX: don't break the message bus when restoring a backup 2015-08-27 20:02:13 +02:00
Robin Ward 2589a75c46 FIX: hitting = should show the hamburger menu 2015-08-27 13:37:41 -04:00
Robin Ward d7b43ce238 UX: Adjust menu panels when the browser is resized 2015-08-27 13:34:20 -04:00
Robin Ward 74ca1189db FIX: Only show "View Pending" link if the user can approve things 2015-08-27 13:15:37 -04:00
Robin Ward fc296d88dc FIX: Jumping to last was broken 2015-08-27 13:11:57 -04:00
Régis Hanol 42e785ee5a FIX: missed a couple of places where we should use the topic's fancy title 2015-08-27 17:32:04 +02:00
Régis Hanol fa5cb30731 FIX: use fancy title in search results 2015-08-27 17:04:02 +02:00
Régis Hanol fd3dd3bdeb Merge pull request #3691 from tgxworld/toggle_edits
FIX: Dirty edit can toggle to another edit.
2015-08-27 14:26:51 +02:00
kerryliu 5bd1d52de2 FIX: emoji unescape 2015-08-26 21:37:57 -07:00
Sam 5865bd2abb FEATURE: bulk select on search results 2015-08-27 11:44:13 +10:00
Sam e8d0aa9777 FIX: since stuff is unbound in the list we must issue a refresh on all bulk actions
Otherwise when you recategorize stuff will look as though its in the wrong category
2015-08-27 11:43:32 +10:00
Robin Ward 8fbc8dbae0 UX: Fix menu position with custom header 2015-08-26 17:21:20 -04:00
Robin Ward a659fe3cc3 Update calculations when opened 2015-08-26 17:00:11 -04:00
Robin Ward 8f1b6eb561 Move hamburger into header 2015-08-26 17:00:10 -04:00
Robin Ward 5457684975 Split hamburger-menu out into menu-panel 2015-08-26 16:29:10 -04:00
Régis Hanol 05adcda1fc FIX: pop a descriptive error when pinning a topic without a date 2015-08-26 22:23:08 +02:00
Robin Ward 3998f729da UX: Make hamburger shadow more subtle, don't use active when in full 2015-08-26 14:50:15 -04:00
Robin Ward e66f111348 UX: Use dropdown for hamburger on wide screens, full height on smaller 2015-08-26 14:43:08 -04:00
Robin Ward 9760369e4c Clean up clicking outside the hamburger, add test 2015-08-26 14:43:08 -04:00
Robin Ward e98c354c2d We don't need to remove swipe events since we disabled it 2015-08-26 14:43:08 -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
Guo Xiang Tan a376bc0901 FIX: Allow emoji to be bounded by non-word characters in preview. 2015-08-26 17:06:01 +08:00