Commit Graph

613 Commits

Author SHA1 Message Date
Robin Ward 531ab65ccf Add counts to new / unread in hamburger 2015-09-03 16:16:49 -04:00
Robin Ward ecf21cabe1 Move Keyboard item to bottom. Add d-link to hamburger 2015-09-03 15:14:04 -04:00
Robin Ward 0e1d6272b9 FIX: highest_post_number was not being updated from gaps 2015-09-03 13:37:55 -04:00
Robin Ward 7516643f11 Middle clicking the avatar should go to profile 2015-09-03 11:53:42 -04:00
Robin Ward 12e0225c51 FIX: Better metaKey support for menu panels 2015-09-03 11:47:18 -04:00
Régis Hanol be6e6dc129 UX: tidy up the category settings tab 2015-09-03 00:22:25 +02:00
Robin Ward 0cd393f310 Experiment with variable heights for slide-in menus 2015-09-02 16:46:25 -04:00
Robin Ward d1717cdb12 FIX: Safer JS code 2015-09-02 15:33:44 -04:00
Robin Ward f11bdd13fc FIX: Menu panels scrolled weird in iOS 2015-09-02 15:12:49 -04:00
Robin Ward e624b7198d Try to estimate the amount of notifications to return based on height 2015-09-02 14:30:18 -04:00
Robin Ward b3a930f2ed DRY up header height calculation 2015-09-02 14:30:18 -04:00
Neil Lalonde 1fbc142b0c UX: add screen reader support to notifications. (title attribute is ignored by screen readers) 2015-09-02 12:29:30 -04:00
Sam 262f561a87 FEATURE: relax username rules to allow - and . and leading _
This relaxes our very strict username rules to allow for some long asked for requests

- leading _ is now allowed
- . is allowed except for trailing char and confusing extensions like .gif .json
- dash (-) is now permitted
2015-09-02 12:13:44 +10:00
Robin Ward d18b02d53b OH NO I DIDN'T 2015-09-01 16:19:47 -04:00
Robin Ward 88e44542f5 FIX: Don't show scrollbar in notifications with logout button 2015-09-01 16:18:12 -04:00
Robin Ward c36fdccab2 Add d-link component to simplify menu markup 2015-09-01 16:14:34 -04:00
Robin Ward bf2c18fddb Migrate KeyValueStore to ES6 modules 2015-09-01 14:45:24 -04:00
Robin Ward 11b73e1fb7 Avoid calling Discourse.logout and use an action instead 2015-09-01 14:41:31 -04:00
Sam a7eabade19 User import no longer needed 2015-09-01 21:48:05 +10:00
Sam bbf3d772c4 use Discourse.logout, it works with SSO 2015-09-01 21:36:56 +10:00
cpradio 68659e834a FIX: Fix the logout functionality in core 2015-08-31 18:39:19 -04:00
Robin Ward 6425650931 UX: Make search panel wider 2015-08-31 16:27:36 -04:00
Robin Ward a4029675bd FIX: broken spec 2015-08-31 15:41:35 -04:00
Robin Ward e2b7b2f2cf FIX: Don't outline buttons when menu is in slide out 2015-08-31 15:30:51 -04:00
Robin Ward 989c915a02 FIX: Custom header sizes and scrolling with menu panels 2015-08-31 15:04:33 -04:00
Robin Ward ca017facf2 FIX: When navigating to pages close panels 2015-08-31 14:43:11 -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
Guo Xiang Tan d39cfe9068 UX: Combine closed and archived icon. 2015-08-31 09:21:58 +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
Robin Ward aa45429989 UX: Change heuristic for determining slide vs drop down 2015-08-29 11:18:26 -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
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
Robin Ward d7b43ce238 UX: Adjust menu panels when the browser is resized 2015-08-27 13:34:20 -04:00
Sam 5865bd2abb FEATURE: bulk select on search results 2015-08-27 11:44:13 +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 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
Sam 600ab5ad51 improve hamburger rendering
fix test cases
2015-08-26 13:44:48 +10:00
Sam 6c08bd4265 UX: improve hamburger in desktop
- dock underneath header
- click anywhere to get it to go away
2015-08-26 13:10:50 +10:00
Sam 540fe953e0 UX: remove swipe support from slideout 2015-08-26 10:36:49 +10:00
Robin Ward c5460b7d3f FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00