Commit Graph

127 Commits

Author SHA1 Message Date
c4992407aa Reuse CommentPost component for PostsUserPage 2015-08-13 13:06:23 +09:30
1679f1e27b Implement edit user modal
EditUserHandler is a bit rough
2015-08-05 11:49:37 +09:30
fff2ffe847 Rename user page components for consistency 2015-08-05 11:48:35 +09:30
e091b037f3 Radically simplify user activity system
The activity system we were using was built around a separate table.
Whenever the user posted something, or deleted a post, we would sync
the table. The advantage of this was that we could aggregate activity
of all different types very efficiently.

It turns out that it came with a huge disadvantage: there was no
efficient way to enforce permissions on activity. If a user posted
something in a private tag, everyone could still see it on their
activity feed. My stopgap solution was to only sync activity for posts
that are viewable by guests, but that was way too limited.

It also turns out that aggregating activity of different types is
really not that useful, especially considering most of it is the user
making posts. So I've gotten rid of that whole overly-complicated
system, and just made the user profile display separate lists of posts
and discussions, retrieved from those respective APIs. The discussions
page is an actual discussion list too, which is pretty cool.

It's still technically possible to aggregate different activity types
(basically just aggregate API responses together), but we can do that
later if there's a need for it.

This is probably my favourite commit of the day :)
2015-08-04 18:44:22 +09:30
854e131ef1 Pull discussion pane further off-screen so shadow is not visible 2015-08-04 17:19:01 +09:30
e6e2cdd3e9 Responsive fixes
- Make composer absolutely positioned on mobile to work around iOS 8/9
bug
- Make search results dropdown appear on mobile

closes flarum/core#137
2015-08-04 11:27:51 +09:30
f37fb9662e Fix mark as read sliding icon 2015-08-04 11:00:51 +09:30
06a246f5cf Tweak some styles 2015-08-04 10:49:41 +09:30
00e5f94bce Change the way composer is aligned
Also ensure that the correct body class is applied on the user page
2015-08-04 10:49:33 +09:30
51c647d134 Overflow discussion list info on mobile/in the pane 2015-08-02 17:25:54 +09:30
f96cac6057 Implement basic settings page 2015-07-29 21:00:09 +09:30
f0b48c08aa Not that prominent 2015-07-28 19:56:43 +09:30
6725fd1e21 Darken composer when it's minimized 2015-07-28 19:50:35 +09:30
0f1fb2de17 Fix mobile unread notifications indicator 2015-07-28 17:41:36 +09:30
242f5b67a6 Fix discussion list item unread style on mobile 2015-07-28 17:38:36 +09:30
79ea5d833a Slightly less padding on blockquotes 2015-07-28 16:42:03 +09:30
609e0416d0 Fix LESS syntax error 2015-07-28 16:09:57 +09:30
d445b49d7a Add vendor prefixes to composer outline 2015-07-28 15:49:49 +09:30
e2a4cf5ccb Add preview button to composer 2015-07-28 13:34:42 +09:30
c789d0aef2 Only make controls slidable on phones. Fixed flarum/core#178 2015-07-28 12:15:32 +09:30
9631e7b759 Ensure that the sidepane positions correctly with custom layout 2015-07-27 16:03:56 +09:30
2422643de6 Fix notifications icon alignment 2015-07-24 13:15:03 +09:30
b01b4b04d3 Fix user page display on mobile 2015-07-23 20:24:05 +09:30
52c9539be3 Appearance tweaks 2015-07-23 16:39:20 +09:30
61e4763c68 Componentize welcome hero close button 2015-07-23 14:47:27 +09:30
9b12548a4b Make title input wider 2015-07-23 14:35:05 +09:30
1e74d57526 Fix notification list appearance 2015-07-23 14:32:21 +09:30
497b65289e Fix sign up modal 2015-07-23 14:30:55 +09:30
a30f591c15 Fix activity page load more button appearance 2015-07-22 16:05:38 +09:30
017c258e46 Live preview of post editing/replying thanks to TextFormatter 👏 2015-07-22 16:05:00 +09:30
ff6d3114d7 Tweak padding on discussion list items
Remove overflow to facilitate new tags appearance
2015-07-22 09:59:29 +09:30
d40c28a370 Tweak display of badges in the discussion hero 2015-07-22 09:58:14 +09:30
d04910b6da Tweak badge appearances 2015-07-20 18:12:48 +09:30
fc3e9c353d Fix notifications appearance on dark header 2015-07-18 10:07:22 +09:30
7e75eb16ff Add them back 2015-07-17 15:05:34 +09:30
12caded0c9 Temporarily remove some files
Git is playing up and won't let me push.
2015-07-17 15:04:55 +09:30
a9ded36b57 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
42f1fa1272 Improve fulltext search API and interface 2015-07-07 20:35:18 +09:30
013d11554d Add discussion list refresh button
Closes flarum/core#139. Haven’t done pull to refresh yet though, but
that can come later.
2015-07-07 15:32:08 +09:30
ef213cd8b2 Allow user avatar hover over empty badge space 2015-07-07 15:31:15 +09:30
e1a65380ef Tweak discussion list styles some more 2015-07-07 15:30:48 +09:30
fcc5aa17ea Tweak discussion list contextual controls 2015-07-07 09:21:43 +09:30
0887834256 Tweak discussion list reply/unread count 2015-07-06 16:34:20 +09:30
1d21670663 New look for discussion reply/unread count
Also decrease the max page width by 100px
2015-07-05 13:52:46 +09:30
4dbe87da77 Bit of padding on the ol' composer textarea 2015-06-26 17:43:48 +09:30
fe82631f95 Tweak user bio editing UI 2015-06-26 13:57:21 +09:30
c1ebc1c626 Make sure discussion sidebar appears above posts 2015-06-26 12:18:32 +09:30
0526e223e4 Always show composer header. closes flarum/core#112 2015-06-26 12:18:13 +09:30
e887d75b8b Show badges in notifications 2015-06-26 12:09:28 +09:30
bf5019ed0f Use mixins for vendor prefixes 2015-06-25 15:38:40 +09:30