1
0
mirror of https://github.com/flarum/core.git synced 2025-07-21 08:41:17 +02:00
Commit Graph

293 Commits

Author SHA1 Message Date
Toby Zerner
1193a86536 Another pages loading count fix 2015-07-27 12:28:03 +09:30
Toby Zerner
8724fe9be2 Prevent pages loading count from going negative 2015-07-27 12:23:36 +09:30
Toby Zerner
0a2282f4ba Make sure pages loading count is kept in sync 2015-07-27 12:16:05 +09:30
Toby Zerner
0691e493a5 Start loading the next page of posts immediately 2015-07-27 12:12:07 +09:30
Toby Zerner
ae3f7dee8b Fix user page display on mobile 2015-07-23 20:24:05 +09:30
Toby Zerner
16840fb3ec Appearance tweaks 2015-07-23 16:39:20 +09:30
Toby Zerner
c46c9da8ec Fix translation key 2015-07-23 16:38:51 +09:30
Toby Zerner
10aab5b4a8 Redraw after loading missing posts 2015-07-23 16:38:39 +09:30
Toby Zerner
ebf2228f7e Set default item priorities 2015-07-23 16:38:30 +09:30
Toby Zerner
d309a21304 Componentize welcome hero close button 2015-07-23 14:47:27 +09:30
Toby Zerner
80445f1d70 Anchor scroll to bottom when live previewing reply 2015-07-23 14:32:49 +09:30
Toby Zerner
9dc2616f55 Fix notification list appearance 2015-07-23 14:32:21 +09:30
Toby Zerner
f9c999624f Don't allow includes to be specified
Relations must be set to include by default on the API instead
2015-07-23 14:31:46 +09:30
Toby Zerner
4fa18e248b Fix discussion list not rendering for guests 2015-07-23 14:31:07 +09:30
Toby Zerner
bc4a000078 Fix sign up modal 2015-07-23 14:30:55 +09:30
Toby Zerner
0fa0bbb541 Fix activity page load more button appearance 2015-07-22 16:05:38 +09:30
Toby Zerner
8d89b4a776 Live preview of post editing/replying thanks to TextFormatter 👏 2015-07-22 16:05:00 +09:30
Toby Zerner
f9ef9d791b Implement TextFormatter for posts
Get rid of formatting on user bios, we'll do that with JavaScript
2015-07-22 16:03:48 +09:30
Toby Zerner
5f3b53634c Tweak display of badges in the discussion hero 2015-07-22 09:58:14 +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
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
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
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
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
21c3978e76 PERF: Only show search results when field has focus 2015-07-18 22:58:26 +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
e23eefb2c0 Fix bad translation key 2015-07-18 10:11:42 +09:30
Toby Zerner
0a1191d56c Make front-end localizable 2015-07-17 17:43:28 +09:30
Toby Zerner
2aa9c2e746 Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS)
- Use BEM class names
- Rework variables/theme config
- Fix various bugs, including some on mobile

The CSS is still not ideal – it needs to be cleaned up some more. But
that can be a focus for after beta.
2015-07-17 14:47:49 +09:30
Toby Zerner
0b685b1036 Case-sensitive filename changes 2015-07-15 15:54:34 +09:30
Toby Zerner
1c7653e79e Massive JavaScript cleanup
- Use JSX for templates
- Docblock/comment everything
- Mostly passes ESLint (still some work to do)
- Lots of renaming, refactoring, etc.

CSS hasn't been updated yet.
2015-07-15 14:01:11 +09:30
Toby Zerner
5aca956af7 Clean up discussion model 2015-07-08 10:51:30 +09:30
Toby Zerner
5cfb870202 Make admin open in a new window 2015-07-08 10:51:16 +09:30