Commit Graph

47 Commits

Author SHA1 Message Date
Toby Zerner
5c8cd436b2 Don't allow index pane to be pinned on small screens 2015-03-04 12:30:18 +10:30
Toby Zerner
85c82f0935 Lay out index sidebar horizontally on tablets 2015-03-04 12:29:39 +10:30
Toby Zerner
0759433ac0 Show permalink as a link on touch devices 2015-03-04 12:27:43 +10:30
Toby Zerner
2326c72e43 Fix index pane/back-button regressions 2015-03-04 10:17:36 +10:30
Toby Zerner
51af1d6e08 Fix scrubber on mobile 2015-03-04 09:50:36 +10:30
Toby Zerner
494f0e8cbd Fix post meta popup on mobile 2015-03-04 09:50:23 +10:30
Toby Zerner
cfc5266cb4 Improve mobile dropdown styling 2015-03-04 09:49:59 +10:30
Toby Zerner
5eb554376f Make drawer invisible when it's not showing 2015-03-04 09:49:43 +10:30
Toby Zerner
82a2f95056 Fix composer on mobile, scroll to new reply 2015-03-04 09:49:26 +10:30
Toby Zerner
ac2116deea Make mobile header smaller 2015-03-04 09:48:56 +10:30
Toby Zerner
c55dbe68cb Fix another couple of regressions 2015-03-03 21:42:38 +10:30
Toby Zerner
8e105a5e6c Fix regression with post styles 2015-03-03 20:54:37 +10:30
Toby Zerner
c543d2e30c Import Open Sans 2015-03-03 20:54:26 +10:30
Toby Zerner
b088bfe56d For some reason this didn't go in with the previous commit 2015-03-03 20:31:07 +10:30
Toby Zerner
1d6616a419 Responsive design baby!
Mobile responsive design with a very native feel, all in pure CSS (no
templating differences between versions — even though some things are
in very different positions.)

I’ve been working on this whole thing in my head for a while now,
planning out how certain components will be laid out on the mobile
version, and how to reason about them in the templates so that a
substantially different layout can still be achieved by only using CSS.
Today I finally wrote the CSS and it’s come together pretty damn
perfectly.

Still to come:
- Swiping left or right on discussions to reveal controls
- Tablet version
2015-03-03 20:30:52 +10:30
Toby Zerner
2884662723 Prepare welcome hero for demo 2015-02-26 13:30:13 +10:30
Toby Zerner
c2c731f6a6 Render deleted users better 2015-02-26 12:47:50 +10:30
Toby Zerner
7ab0c3bc17 Tweak discussion controls dropdown split 2015-02-26 09:44:31 +10:30
Toby Zerner
2c46888db5 Upgrade to L5 + huge refactor + more. closes #2
New stuff:
- Signup + email confirmation.
- Updated authentication strategy with remember cookies. closes #5
- New search system with some example gambits! This is cool - check out
the source. Fulltext drivers will be implemented as decorators
overriding the EloquentPostRepository’s findByContent method.
- Lay down the foundation for bootstrapping the Ember app.
- Update Web layer’s asset manager to properly publish CSS/JS files.
- Console commands to run installation migrations and seeds.

Refactoring:
- New structure: move models, repositories, commands, and events into
their own namespaces, rather than grouping by entity.
- All events are classes.
- Use L5 middleware and command bus implementations.
- Clearer use of repositories and the Active Record pattern.
Repositories are used only for retrieval of ActiveRecord objects, and
then save/delete operations are called directly on those ActiveRecords.
This way, we don’t over-abstract at the cost of Eloquent magic, but
testing is still easy.
- Refactor of Web layer so that it uses the Actions routing
architecture.
- “Actor” concept instead of depending on Laravel’s Auth.
- General cleanup!
2015-02-24 20:33:18 +10:30
Toby Zerner
c1dfa9c124 Fix modal appearance 2015-02-16 14:12:48 +10:30
Toby Zerner
cf726f16db Add a little spin transition on the search 'x' :) 2015-02-16 13:30:11 +10:30
Toby Zerner
ed55ebf7da Better LESS configuration/theme customisability 2015-02-16 12:40:57 +10:30
Toby Zerner
80cc910175 Add styles for post footer/actions
Will be used by extensions
2015-02-13 22:03:34 +10:30
Toby Zerner
011ae3603e Implement "renamed" posts
Record when the discussion was renamed, from what, and by whom.
Information is stored in the `content` field as a serialised JSON
object because proper polymorphism will be too difficult with Ember
Data and especially when extensions try to add new post types.
2015-02-13 10:23:38 +10:30
Toby Zerner
36787bcf45 Implement hard deletion and rename soft delete to hide 2015-02-12 14:35:24 +10:30
Toby Zerner
c28307903b Upgrade to Ember 1.11-beta.1
HTMLBars goodness! Since there was some breakage and a lot of fiddling
around to get some things working, I took this opportunity to do a big
cleanup of the whole Ember app. I accidentally worked on some new
features too :3

Note that the app is still broken right now, pending on
https://github.com/emberjs/ember.js/issues/10401

Cleanup:
- Restructuring of components
- Consolidation of some stuff into mixins, cleanup of some APIs that
will be public
- Change all instances of .property() / .observes() / .on() to
Ember.computed() / Ember.observer() / Ember.on() respectively (I think
it is more readable)
- More comments
- Start conforming to a code style (2 spaces for indentation)

New features:
- Post hiding/restoring
- Mark individual discussions as read by clicking
- Clicking on a read discussion jumps to the end
- Mark all discussions as read
- Progressively mark the discussion as read as the page is scrolled
- Unordered list post formatting
- Post permalink popup

Demo once that Ember regression is fixed!
2015-02-10 18:05:40 +10:30
Toby Zerner
3ed893b1b8 Improve LESS variable skinning (unfinished) 2015-02-08 16:00:09 +10:30
Toby Zerner
d45f2fd1ac Signup + modal refactoring 2015-02-08 15:59:39 +10:30
Toby Zerner
28d213d868 Implement discussion composition and creation 2015-02-06 14:07:15 +10:30
Toby Zerner
9c6e6f9ea0 Fix up z-indexes 2015-02-06 10:34:41 +10:30
Toby Zerner
9ddc622929 Refactor index pane
So that it only loads when needed, and caches results so things are
nice and snappy
2015-02-06 10:32:45 +10:30
Toby Zerner
bc3aa449e7 Make discussion count jump to last when read 2015-02-03 19:06:50 +10:30
Toby Zerner
03320976c3 Tweak composer styles
Make it appear above the sidepane
2015-02-03 18:41:39 +10:30
Toby Zerner
8c15420f95 Fix login CSS 2015-02-03 17:03:04 +10:30
Toby Zerner
0552cae1ab Add alert messages 2015-02-03 17:02:46 +10:30
Toby Zerner
6544052da6 Clean up/refactor composer, add escape hotkey 2015-02-03 16:59:53 +10:30
Toby Zerner
74d8b0e377 Tighten up loading indicator 2015-02-02 16:58:49 +10:30
Toby Zerner
12b0418eb7 Improve post composer + replying
- Make it modular so that different entry points can show different
things and respond differently (reply, new discussion, edit post)
- Resizable
- Fullscreen
- Confirm on close
2015-02-02 16:57:59 +10:30
Toby Zerner
f7575cd694 Tweaks to composer and discussion styles 2015-01-30 13:35:54 +10:30
Toby Zerner
12622e6c28 Work on composer, early implementation of replying 2015-01-30 12:22:19 +10:30
Toby Zerner
c2feae406d Add ember-simple-auth, setup login
- Allow dropdown-buttons to render a partial
2015-01-30 12:21:18 +10:30
Toby Zerner
9886fb1f7a Tweak some styles
- Rename btn-blend to btn-naked
- Tweak input focus style
- Other stuff
2015-01-30 12:17:55 +10:30
Toby Zerner
74e80ea2df Implement redesign, refactor everything
- Write CSS for everything, update templates.
- Refactor discussion view. Stream is split into two components
(content and scrubber) which have their own responsibilities.
- Extract pane functionality into a mixin.
- Implement global “back button” system. You give a “paneable” target
to the application controller, the back button will modulate its
pane-related properties as necessary, and call an action when the
button is clicked.
- Extract welcome-hero into its own component.
- Lots of other general improvements/refactoring. The code is quite
well-commented so take a look!
2015-01-16 17:26:18 +10:30
Toby Zerner
690174297d Rejigging templates for redesign.
- Componentize more stuff, heading in the direction of Ember 2.0
- Start CSS from scratch
- Everything is broken atm!
2015-01-01 20:08:38 +10:30
Indrashish
ea00d1b2bb Fixed partially showing discussions pane
Referencing the discussions pane which slides out from the sidebar.

Fixed styles for pinned state of dicussions pane

Fixed padding in discussions pane
2014-12-24 23:31:01 +05:30
Toby Zerner
24617b7e1e Fix up LESS compilation. 2014-12-24 09:36:47 +10:30
Toby Zerner
74db323f83 Hello world! 2014-12-20 16:56:46 +10:30