Commit Graph

1144 Commits

Author SHA1 Message Date
Toby Zerner
526b2c48df Group assets by client in extension stub 2015-07-22 10:12:11 +09:30
Toby Zerner
9a41526310 Always use default includes when preloading discussion list
Making them explicit causes problems when extensions want to include
something by default (e.g. tags)
2015-07-22 10:11:23 +09:30
Toby Zerner
da1252eb5e Improve forum route registration API 2015-07-22 10:04:22 +09:30
Toby Zerner
3521bbebc7 Centre title button on mobile 2015-07-22 10:00:30 +09:30
Toby Zerner
afb24a6ba2 Apply modal width on the correct class 2015-07-22 10:00:20 +09:30
Toby Zerner
e21cb63b11 Add Button--text class to create buttons that look like muted text
e.g. post actions
2015-07-22 10:00:02 +09:30
Toby Zerner
b698000739 Tweak padding on discussion list items
Remove overflow to facilitate new tags appearance
2015-07-22 09:59:29 +09:30
Toby Zerner
5f3b53634c Tweak display of badges in the discussion hero 2015-07-22 09:58:14 +09:30
Toby Zerner
222a08222f Don't run gambits if there's no search query 2015-07-22 09:57:52 +09:30
Toby Zerner
970030b77e Random cleanup 2015-07-22 09:57:25 +09:30
Toby Zerner
77dbbae170 Update modal responsive control classes 2015-07-22 09:56:01 +09:30
Toby Zerner
c60e37d88c Use stable sort for item lists 2015-07-22 09:55:36 +09:30
Toby Zerner
3e4b30695e Fix PostStream endless loading due to broken scroll anchor 2015-07-22 09:55:20 +09:30
Toby Zerner
f59e14db3e Preload data just before boot, not when the store is initialised 2015-07-22 09:54:49 +09:30
Toby Zerner
8455aa7907 Persist modal across routes
Don't hide it unless it's already been shown, otherwise bootstrap JS
won't be initialized correctly
2015-07-22 09:54:00 +09:30
Toby Zerner
22a27620b4 Fix search routing
Blurring the input causes a redraw, which hides the results and
invalidates the current index. So the routing wasn't working.

Drawer is now hidden on IndexPage construction.
2015-07-22 09:52:58 +09:30
Toby Zerner
23895b2b36 Hide the drawer/modal when constructing all pages
Might be better to do this on config... also extract it into a parent
"Page" component
2015-07-22 09:51:41 +09:30
Toby Zerner
b5ba21c9a6 PERF: fix subtrees never being retained if "mark all as read" was clicked
I didn't realise, performance was terrible for people who have ever
clicked the "mark all as read" button!
2015-07-22 09:50:55 +09:30
Toby Zerner
bda1a66abb Fix discussion composer title field not focusing editor on 'enter' 2015-07-22 09:49:25 +09:30
Toby Zerner
474a7db6a5 Merge branch 'evented-api' 2015-07-21 10:40:38 +09:30
Toby Zerner
5c09dcd523 Fix new notifications on old subjects not appearing 2015-07-20 18:20:34 +09:30
Toby Zerner
2dd0f88305 Cleanup unused import 2015-07-20 18:14:03 +09:30
Toby Zerner
2f3569bed5 Don't override username if already set 2015-07-20 18:13:56 +09:30
Toby Zerner
ae18e30063 Only render posts with the discussion relationship 2015-07-20 18:13:40 +09:30
Toby Zerner
03029c84dc Make "on" switches always green instead of theme-based 2015-07-20 18:13:15 +09:30
Toby Zerner
61443dd81d Migrate old style 2015-07-20 18:13:01 +09:30
Toby Zerner
ff6fdc9031 Tweak badge appearances 2015-07-20 18:12:48 +09:30
Toby Zerner
eec37dece1 Separate icon from notification grid labels 2015-07-20 18:12:30 +09:30
Toby Zerner
ebf7c78969 Update event post API
- Use more appropriate component class name
- Allow username to be moved in translation
2015-07-20 18:12:08 +09:30
Toby Zerner
3a955187ce Change discussion list sorting labels 2015-07-20 18:11:04 +09:30
Toby Zerner
0ce0160af8 Rename method 2015-07-20 18:10:32 +09:30
Toby Zerner
327c268742 Render discussion hero badges properly 2015-07-20 18:10:21 +09:30
Toby Zerner
c54d071641 Fix incorrect variable name 2015-07-20 18:10:11 +09:30
Toby Zerner
da9da8705d Fix incorrect member visibility on event 2015-07-20 18:10:04 +09:30
Toby Zerner
93c6bf026e Get rid of extension convenience method
We might reintroduce this later, but for now I want to keep the
extensions API as light as possible and get input before we add stuff
2015-07-20 18:09:37 +09:30
Toby Zerner
a10da1f92a Update extension generator 2015-07-20 18:08:50 +09:30
Toby Zerner
09540295ad Rework extension bootstrapping
System JS modules don't execute when they're registered, so we need to
import them explicitly. While we're at it, we may as well make the
locale bootstrapper a module too.
2015-07-20 18:08:28 +09:30
Toby Zerner
74593d82ac Change order of bootstrapping
See commit on flarum/flarum for explanation
2015-07-20 18:01:08 +09:30
Toby Zerner
77d0bfccd7 Rework public API based on events 2015-07-18 22:59:47 +09:30
Toby Zerner
3c619c19ef Reset dropdown menu line spacing
Was causing issues in the avatar editor dropdown
2015-07-18 22:58:51 +09:30
Toby Zerner
21c3978e76 PERF: Only show search results when field has focus 2015-07-18 22:58:26 +09:30
Toby Zerner
178474adf9 Slightly darken buttons when clicked 2015-07-18 13:06:53 +09:30
Toby Zerner
6a532c29fe Add some comments 2015-07-18 10:56:01 +09:30
Toby Zerner
9db026de95 Don't apply background color if there is none 2015-07-18 10:55:56 +09:30
Toby Zerner
b7264e8a71 Get rid of Codeception for now
There's nothing in there that's of value.
2015-07-18 10:55:30 +09:30
Toby Zerner
e23eefb2c0 Fix bad translation key 2015-07-18 10:11:42 +09:30
Toby Zerner
f304daff43 Fix notifications appearance on dark header 2015-07-18 10:07:22 +09:30
Toby Zerner
3722349c41 Make sure responsive controls appear where they're supposed to 2015-07-17 17:53:03 +09:30
Toby Zerner
4b919304d1 Fix HTML entity 2015-07-17 17:52:45 +09:30
Toby Zerner
95fdece370 Remove duplicates; replace missing commas 2015-07-17 17:47:53 +09:30