Toby Zerner
e54944d6c3
Reduce event post font size
2015-09-08 11:13:35 +09:30
Toby Zerner
d39bca192e
Add more breathing room between posts and sidebar
2015-09-08 11:13:28 +09:30
Toby Zerner
efff485d6c
Restyle posts to be more compact, relocate controls
2015-09-08 10:29:00 +09:30
Toby Zerner
6a5427b600
Make unread discussion titles less overwhelming
2015-09-08 10:27:50 +09:30
Toby Zerner
a5d3aa9b36
Correctly style hidden post username
2015-09-04 13:50:43 +09:30
Toby Zerner
b18909f1af
Fix notifications dropdown appearance on mobile
2015-09-04 13:50:33 +09:30
Toby Zerner
9bf6862c6d
Clean up Post CSS
2015-09-04 12:17:30 +09:30
Toby Zerner
70815b024a
Make Dropdown and NotificationsDropdown components more extensible
2015-09-04 12:15:11 +09:30
Toby Zerner
f9d724738c
Add syntax highlighting for code blocks
...
We might consider extracting this into an extension, but TextFormatter
does syntax highlighting for code blocks by default in live previews
anyway.
closes #248
2015-08-31 13:17:16 +09:30
Huy Tran
874c023f8a
Fix text overlap in search result with long content
2015-08-28 15:18:17 -07:00
Toby Zerner
e123ad52a9
Reduce contrast on post stream time gaps
2015-08-26 10:19:24 +09:30
Toby Zerner
f43557f172
Tweak notification excerpt styles
2015-08-21 10:00:09 +09:30
Toby Zerner
52bf8b3c1c
Add notification excerpts to help distinguish posts
2015-08-21 09:54:41 +09:30
Toby Zerner
e8b23e9ec0
Prevent pane shadow overlapping header on Safari
2015-08-17 14:11:18 +09:30
Toby Zerner
ee460e7149
Overflow long discussion titles
2015-08-13 13:07:24 +09:30
Toby Zerner
c4992407aa
Reuse CommentPost component for PostsUserPage
2015-08-13 13:06:23 +09:30
Toby Zerner
1679f1e27b
Implement edit user modal
...
EditUserHandler is a bit rough
2015-08-05 11:49:37 +09:30
Toby Zerner
fff2ffe847
Rename user page components for consistency
2015-08-05 11:48:35 +09:30
Toby Zerner
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
Toby Zerner
854e131ef1
Pull discussion pane further off-screen so shadow is not visible
2015-08-04 17:19:01 +09:30
Toby Zerner
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
Toby Zerner
f37fb9662e
Fix mark as read sliding icon
2015-08-04 11:00:51 +09:30
Toby Zerner
06a246f5cf
Tweak some styles
2015-08-04 10:49:41 +09:30
Toby Zerner
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
Toby Zerner
51c647d134
Overflow discussion list info on mobile/in the pane
2015-08-02 17:25:54 +09:30
Toby Zerner
f96cac6057
Implement basic settings page
2015-07-29 21:00:09 +09:30
Toby Zerner
f0b48c08aa
Not that prominent
2015-07-28 19:56:43 +09:30
Toby Zerner
6725fd1e21
Darken composer when it's minimized
2015-07-28 19:50:35 +09:30
Toby Zerner
0f1fb2de17
Fix mobile unread notifications indicator
2015-07-28 17:41:36 +09:30
Toby Zerner
242f5b67a6
Fix discussion list item unread style on mobile
2015-07-28 17:38:36 +09:30
Toby Zerner
79ea5d833a
Slightly less padding on blockquotes
2015-07-28 16:42:03 +09:30
Toby Zerner
609e0416d0
Fix LESS syntax error
2015-07-28 16:09:57 +09:30
Toby Zerner
d445b49d7a
Add vendor prefixes to composer outline
2015-07-28 15:49:49 +09:30
Toby Zerner
e2a4cf5ccb
Add preview button to composer
2015-07-28 13:34:42 +09:30
Toby Zerner
c789d0aef2
Only make controls slidable on phones. Fixed flarum/core#178
2015-07-28 12:15:32 +09:30
Toby Zerner
9631e7b759
Ensure that the sidepane positions correctly with custom layout
2015-07-27 16:03:56 +09:30
Toby Zerner
2422643de6
Fix notifications icon alignment
2015-07-24 13:15:03 +09:30
Toby Zerner
b01b4b04d3
Fix user page display on mobile
2015-07-23 20:24:05 +09:30
Toby Zerner
52c9539be3
Appearance tweaks
2015-07-23 16:39:20 +09:30
Toby Zerner
61e4763c68
Componentize welcome hero close button
2015-07-23 14:47:27 +09:30
Toby Zerner
9b12548a4b
Make title input wider
2015-07-23 14:35:05 +09:30
Toby Zerner
1e74d57526
Fix notification list appearance
2015-07-23 14:32:21 +09:30
Toby Zerner
497b65289e
Fix sign up modal
2015-07-23 14:30:55 +09:30
Toby Zerner
a30f591c15
Fix activity page load more button appearance
2015-07-22 16:05:38 +09:30
Toby Zerner
017c258e46
Live preview of post editing/replying thanks to TextFormatter 👏
2015-07-22 16:05:00 +09:30
Toby Zerner
ff6d3114d7
Tweak padding on discussion list items
...
Remove overflow to facilitate new tags appearance
2015-07-22 09:59:29 +09:30
Toby Zerner
d40c28a370
Tweak display of badges in the discussion hero
2015-07-22 09:58:14 +09:30
Toby Zerner
d04910b6da
Tweak badge appearances
2015-07-20 18:12:48 +09:30
Toby Zerner
fc3e9c353d
Fix notifications appearance on dark header
2015-07-18 10:07:22 +09:30
Toby Zerner
7e75eb16ff
Add them back
2015-07-17 15:05:34 +09:30
Toby Zerner
12caded0c9
Temporarily remove some files
...
Git is playing up and won't let me push.
2015-07-17 15:04:55 +09:30
Toby Zerner
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
Toby Zerner
42f1fa1272
Improve fulltext search API and interface
2015-07-07 20:35:18 +09:30
Toby Zerner
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
Toby Zerner
ef213cd8b2
Allow user avatar hover over empty badge space
2015-07-07 15:31:15 +09:30
Toby Zerner
e1a65380ef
Tweak discussion list styles some more
2015-07-07 15:30:48 +09:30
Toby Zerner
fcc5aa17ea
Tweak discussion list contextual controls
2015-07-07 09:21:43 +09:30
Toby Zerner
0887834256
Tweak discussion list reply/unread count
2015-07-06 16:34:20 +09:30
Toby Zerner
1d21670663
New look for discussion reply/unread count
...
Also decrease the max page width by 100px
2015-07-05 13:52:46 +09:30
Toby Zerner
4dbe87da77
Bit of padding on the ol' composer textarea
2015-06-26 17:43:48 +09:30
Toby Zerner
fe82631f95
Tweak user bio editing UI
2015-06-26 13:57:21 +09:30
Toby Zerner
c1ebc1c626
Make sure discussion sidebar appears above posts
2015-06-26 12:18:32 +09:30
Toby Zerner
0526e223e4
Always show composer header. closes flarum/core#112
2015-06-26 12:18:13 +09:30
Toby Zerner
e887d75b8b
Show badges in notifications
2015-06-26 12:09:28 +09:30
Toby Zerner
bf5019ed0f
Use mixins for vendor prefixes
2015-06-25 15:38:40 +09:30
Toby Zerner
f2f23138b2
Tweak how discussion sidebar displays on mobile
...
Give all items in an item list a class on their <li>. Super helpful for
styling
2015-06-25 15:38:29 +09:30
Toby Zerner
d81fe3ac36
Animate header between normal and full-width (pinned pane)
2015-06-25 15:05:46 +09:30
Toby Zerner
4046644e13
Fix responsive controls
2015-06-25 15:05:22 +09:30
Toby Zerner
ae8729250b
Give notifications dropdown a responsive max height
2015-06-25 10:32:13 +09:30
Toby Zerner
6d72fd16a3
Tweak notification grid icon appearance
2015-06-25 09:57:46 +09:30
Toby Zerner
7de842c1d8
Nitpicking
2015-06-25 09:48:01 +09:30
Toby Zerner
df3e732d4b
Make relevant posts span full width on mobile
2015-06-25 08:12:12 +09:30
Toby Zerner
aae40472cf
Tweak post controls on mobile
2015-06-24 17:56:52 +09:30
Toby Zerner
e8bb044701
Discussion list refactor, gestures
...
Also make base Component class automatically assign this.element :)
2015-06-24 17:56:39 +09:30
Toby Zerner
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
Toby Zerner
3a8fc1592c
Extend hover area for post control visibility
2015-06-23 10:57:09 +09:30
Toby Zerner
6e5329047c
Add light horizontal rule between posts. closes flarum/core#133
...
Also remove time information from event posts (it’s not useful)
2015-06-23 10:36:36 +09:30
Toby Zerner
0a4af568d1
Tweak avatar/count alignment
2015-06-20 10:28:58 +09:30
Toby Zerner
ec059f496f
Make discussion list more compact
2015-06-19 20:57:36 +09:30
Toby Zerner
c75e4f5a74
Tweak hero appearance
2015-06-19 13:55:20 +09:30
Toby Zerner
46347023cc
Implement time gap indicators
...
Get rid of short human times (1m, 1h, 1d) for now
2015-06-19 10:00:19 +09:30
Toby Zerner
c2da4a946f
Remove unused CSS
2015-06-18 13:01:04 +09:30
Toby Zerner
42fe2a28dd
Increase text contrast
...
I think you will like this change @franzliedke :)
2015-06-11 18:42:05 +09:30
Toby Zerner
0f08a4378c
Style tweaks
2015-06-03 18:11:43 +09:30
Toby Zerner
5d89618bbd
Implement search on front end
2015-06-03 18:10:56 +09:30
Toby Zerner
c7a6f8650e
Make user activity posts more compact
2015-06-01 17:55:13 +09:30
Toby Zerner
8638e9c9ca
Tweak reply placeholder appearance
2015-06-01 17:54:37 +09:30
Toby Zerner
bfc4201338
Add icon to post edit composer
2015-06-01 10:29:11 +09:30
Toby Zerner
56981c1297
Add reply placeholder to bottom of post stream
2015-06-01 10:28:24 +09:30
Toby Zerner
d33bac533d
Tweak composer full screen styles. closes flarum/core#102
2015-06-01 08:48:50 +09:30
Toby Zerner
acb6a8d8c5
Add some missing post content styles
2015-06-01 08:48:10 +09:30
Toby Zerner
a1da95962d
Move theme config to database
2015-05-31 11:18:19 +09:30
Toby Zerner
1603c10ae9
Padding tweak
2015-05-30 14:58:47 +09:30
Toby Zerner
2e82fb4015
Refactor discussion list styles, fix loading indicator height in pane
2015-05-29 18:31:17 +09:30
Toby Zerner
cafa6c7b5d
New and improved post stream.
2015-05-29 18:17:50 +09:30
Toby Zerner
8f0989fb80
Various appearance tweaks
2015-05-27 16:22:02 +09:30
Toby Zerner
796c2590a2
Add unread indicator to scrubber. closes #94
2015-05-27 16:18:21 +09:30
Toby Zerner
dee9bb1c6d
Tweak post-signup welcome appearance
2015-05-26 18:05:20 +09:30
Toby Zerner
85ba97ed5c
Improve appearance/behaviour of login/signup/forgot modals
2015-05-26 16:25:25 +09:30
Toby Zerner
ca343edf00
Bump up discussion list title size again
2015-05-21 13:09:26 +09:30
Toby Zerner
80c0900388
Just being picky
2015-05-20 11:12:48 +09:30
Toby Zerner
0102f31e06
Tweak notifications appearance
2015-05-18 18:56:11 +09:30
Toby Zerner
9135749bb4
Rename JS sub-components so that descriptors are before the noun, not after
...
To be consistent with the naming in PHP world.
e.g. ReplyComposer instead of ComposerReply
2015-05-18 18:50:24 +09:30
Toby Zerner
9f42fbe450
Make sure links never have an underline
2015-05-18 16:46:44 +09:30
Toby Zerner
4233723ff6
Tweak codeblock styles
2015-05-18 16:46:13 +09:30
Toby Zerner
10acb839cf
Correct composer position when pane is pinned but screen is too small to actually show it
2015-05-18 15:17:33 +09:30
Toby Zerner
e605860e89
Fade out post when it is being edited
2015-05-18 14:24:18 +09:30
Toby Zerner
561645b0b4
Tweak discussion list badges positioning
2015-05-18 13:49:39 +09:30
Toby Zerner
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
Toby Zerner
8390baa4c8
Make discussion list titles smaller again
2015-05-18 10:35:42 +09:30
Toby Zerner
281f475d28
More compact discussion list styling
2015-05-18 08:00:33 +09:30
Toby Zerner
15d35fa5db
Fix author tooltip wrapping
2015-05-14 23:10:22 +09:30
Toby Zerner
d96da61b1b
New look for notifications
2015-05-14 22:41:08 +09:30
Toby Zerner
e78951ca39
Add styling for quotes
2015-05-14 22:41:07 +09:30
Toby Zerner
78c6637940
Tweak gap loading indicator appearance
2015-05-14 22:41:07 +09:30
Toby Zerner
f1769c2d54
Tweak post footer/actions appearance
2015-05-14 22:41:07 +09:30
Toby Zerner
3aab626b22
Add pulsate/flash animations for drawing attention to posts
2015-05-14 22:41:07 +09:30
Toby Zerner
7d5921ca5e
New look for highlighted posts
2015-05-14 22:41:07 +09:30
Toby Zerner
0befac4082
Make controls buttons slightly bigger
2015-05-14 22:41:07 +09:30
Toby Zerner
ed3648702c
Formatting
2015-05-14 22:41:06 +09:30
Toby Zerner
781dc2ef0c
New component for post excerpts, which will be shown in search results
...
Perhaps also in user activity stream. They are used in the mentions
extension.
In order to generate the excerpt, each formatter can implement a
“strip” method which basically converts block formatting into inline
formatting.
2015-05-14 22:41:05 +09:30
Toby Zerner
e19190ca68
Make link styles more obvious
2015-05-11 12:11:38 +09:30
Toby Zerner
a89803c957
Tweak user activity item appearance
2015-05-07 10:27:42 +09:30
Toby Zerner
c9f3ac9d66
Hide badges on deleted posts
2015-05-07 08:58:20 +09:30
Toby Zerner
515e61b77f
Tweak discussion list spacing
2015-05-07 06:38:09 +09:30
Toby Zerner
9fe334b4f8
Add semibold weight
2015-05-07 06:37:41 +09:30
Toby Zerner
bde9bf9378
Fix FontAwesome path
2015-05-06 12:12:22 +09:30
Toby Zerner
c6f368f045
Don't obstruct author tooltip
2015-05-06 11:40:35 +09:30
Toby Zerner
7d2cdd20d3
Don't wrap long author tooltips
2015-05-06 11:35:30 +09:30
Toby Zerner
54f731942e
Add user group badges
2015-05-06 11:25:19 +09:30
Toby Zerner
707c60d3ab
Tweak user card UI
2015-05-06 11:24:42 +09:30
Toby Zerner
45033d7d59
Fix up hidden post styles; don't show user card
2015-05-06 08:33:00 +09:30
Toby Zerner
4cb9ed851d
Slightly thicken the post highlight border again
2015-05-03 11:53:37 +09:30
Toby Zerner
5ea864ba89
Make post highlight more subtle
2015-05-02 08:48:35 +09:30
Toby Zerner
8bc9552e83
Tweak composer styles
...
- Make minimised content look nicer, non-interactive
- Fix margins on tablet
2015-05-02 08:48:18 +09:30
Toby Zerner
fbdd730ce3
Make discussion hero extensible
2015-05-02 08:36:04 +09:30
Toby Zerner
80e8630c1c
Don't let discussion details in list wrap
2015-05-02 08:34:09 +09:30
Toby Zerner
e4a880c4f4
Skin colour tweaks
2015-05-02 08:29:43 +09:30
Toby Zerner
31ec6f27ce
Update some styles for the Mithril app
2015-04-25 22:31:37 +09:30
Toby Zerner
b61017efdc
Clean up LESS files
2015-04-25 22:31:30 +09:30
Toby Zerner
d64ca6bce3
Extract .side-nav into a common file
2015-03-30 12:45:48 +10:30
Toby Zerner
40a6d77e74
Big front-end asset/filestructure refactor
...
- Extract shared Ember components into a “flarum-common” ember-cli
addon. This can be used by both the forum + admin Ember apps, keeping
things DRY
- Move LESS styles into their own top-level directory and do a similar
thing (extract common styles)
- Add LESS/JS compilation and versioning to PHP (AssetManager)
- Set up admin entry point
(Theoretical) upgrade instructions:
- Delete everything in [app_root]/public
- Set up tooling in forum/admin Ember apps (npm install/update, bower
install/update) and then build them (ember build)
- php artisan vendor:publish
- Upgrade flarum/flarum repo (slight change in a config file)
- If you need to trigger a LESS/JS recompile, delete the .css/.js files
in [app_root]/public/flarum. I set up LiveReload to do this for me when
I change files in less/ or ember/
Todo:
- Start writing admin app!
- Remove bootstrap/font-awesome from repo and instead depend on their
composer packages? Maybe? (Bower is not an option here)
2015-03-29 22:13:26 +10:30