Commit Graph

19 Commits

Author SHA1 Message Date
a74b40fe47 Massive refactor
- Use contextual namespaces within Flarum\Core
- Clean up and docblock everything
- Refactor Activity/Notification blueprint stuff
- Refactor Formatter stuff
- Refactor Search stuff
- Upgrade to JSON-API 1.0
- Removed “addedPosts” and “removedPosts” relationships from discussion
API. This was used for adding/removing event posts after renaming a
discussion etc. Instead we should make an additional request to get all
new posts

Todo:
- Fix Extenders and extensions
- Get rid of repository interfaces
- Fix other bugs I’ve inevitably introduced
2015-07-04 12:24:48 +09:30
e18d8b35e5 Refactor component API a bit 2015-06-26 19:09:43 +09:30
35c05862a4 Fix unwanted onbeforeunload message 2015-06-26 11:57:52 +09:30
34ca6d4515 Implement onbeforeunload composer confirmation. closes flarum/core#113 2015-06-25 10:34:14 +09:30
e466dcc626 Significantly improve mobile UX
Most of #137 done.

- Use FastClick to make everything feel more responsive
- Use transforms for animations to make them silky smooth
- Style the drawer the same as the header to keep things simple
- Revert to fixed composer, but allow it to be minimised
- Add a separate notifications page for mobile so it’s easy to go back
- Add indicator to the menu button when there are unread notifications
- Close the drawer when navigating away
- Make dropdowns/modals scrollable
- Many other mobile tweaks and bug fixes

Didn’t take much care to keep CSS clean, due to #103
2015-06-24 11:44:53 +09:30
2786dbd157 Simplify composer animation 2015-06-18 12:53:19 +09:30
0aed5f44bf Maintain scroll position when hiding the composer 2015-06-15 12:17:19 +09:30
52ff2f25ba Don't pad the body when the composer is minimized 2015-06-12 16:37:19 +09:30
250e16d970 Make composer sliding animation less jumpy when replying 2015-06-08 09:47:28 +09:30
ea510b5ea0 Fix composer only sliding down some of the way 2015-06-03 18:06:39 +09:30
f8d681d9ab Fix bug where switching composer component would lead to incorrect rendering 2015-06-01 08:49:23 +09:30
1dc036da65 Only do double redraw if there is a component we need to get rid of 2015-05-23 08:35:12 +09:30
c4614788c6 Make the invoker responsible for positioning the composer cursor 2015-05-23 08:34:54 +09:30
935e2d272a Force redraw of composer component when switching in a new one 2015-05-21 13:08:33 +09:30
aa2bc23039 Drastically improve how the composer looks and behaves
- New, cleaner, more prominent look
- Make it statically positioned down the bottom on mobile, so you can
still scroll up to look at posts
- Fix some bugs with animation, jumping between views
2015-05-18 10:40:14 +09:30
6e6f81b6ff Tweak composer anchoring/animation 2015-05-14 22:41:04 +09:30
e8e3bc005d Prevent re-showing the composer when it's already showing 2015-05-14 22:41:04 +09:30
a5b2a3da03 Work around Mithril bug 2015-05-07 15:41:04 +09:30
b68a4711dc Replace Ember app with Mithril app 2015-04-25 22:28:39 +09:30