1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 08:11:27 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
Toby Zerner
2f6fd26363 Update discussion details upon reply 2015-02-03 18:41:03 +10:30
Toby Zerner
aa665cfd79 Better handling of AJAX errors 2015-02-03 18:40:34 +10:30
Toby Zerner
815fa2b025 Fix login CSS 2015-02-03 17:03:04 +10:30
Toby Zerner
4bc8a4bec6 Add alert messages 2015-02-03 17:02:46 +10:30
Toby Zerner
ed0c9992c7 Some tweaks 2015-02-03 17:00:41 +10:30
Toby Zerner
967efe8005 Clean up/refactor composer, add escape hotkey 2015-02-03 16:59:53 +10:30
Toby Zerner
4edfaf0146 Tighten up loading indicator 2015-02-02 16:58:49 +10:30
Toby Zerner
b8fe32f0a6 Remove remember me for now 2015-02-02 16:58:34 +10:30
Toby Zerner
d559bfd0cf Make human-time live update 2015-02-02 16:58:23 +10:30
Toby Zerner
8630e8b42b 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
4edd1819b9 Clean up post stream 2015-02-02 16:55:22 +10:30
Toby Zerner
f4d13d2463 Tweaks to composer and discussion styles 2015-01-30 13:35:54 +10:30
Toby Zerner
44af0a242e Improve "jump to last" scrolling behaviour 2015-01-30 13:05:42 +10:30
Toby Zerner
320ebf1341 Work on composer, early implementation of replying 2015-01-30 12:22:19 +10:30
Toby Zerner
5cd87db5cf Add ember-simple-auth, setup login
- Allow dropdown-buttons to render a partial
2015-01-30 12:21:18 +10:30
Toby Zerner
befb3d1929 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
3649de2ccb Get rid of old properties 2015-01-30 12:15:38 +10:30
Toby Zerner
c1c6a27dc5 Fix bug when loading a single post at the start
When loading a single post at the start of a discussion, start=0 and
end=0. But end would be set to start+limit, which was incorrect.
2015-01-30 12:15:01 +10:30
Toby Zerner
37fa92e868 Stop loading spinner from appearing at the top 2015-01-30 12:13:44 +10:30
Toby Zerner
04937646fb Make welcome-hero close into an action 2015-01-30 12:13:06 +10:30
Toby Zerner
9de06497a9 Only load posts once when entering a discussion 2015-01-30 12:12:30 +10:30
Toby Zerner
61b0dfaa81 JsonApiAdapter fix to make index "load more" work 2015-01-30 12:05:57 +10:30
Toby Zerner
575940698e Change forum title for demo 2015-01-26 12:06:54 +10:30
Toby Zerner
43574f82e9 Fix bug when dragging the scrubber 2015-01-26 11:58:49 +10:30
Toby Zerner
3fba2bd5d8 Convert to int before checking start 2015-01-26 11:45:21 +10:30
Toby Zerner
526b7c588e Allow custom icon HTML in dropdown-button
Also rename title to label
2015-01-23 15:22:58 +10:30
Toby Zerner
912e6477bb Working on tests for index 2015-01-23 12:48:33 +10:30
Toby Zerner
a9b19f62e0 More flexible API URL (necessary for testing) 2015-01-23 12:48:21 +10:30
Toby Zerner
cd0b6300d8 Clean up load more 2015-01-23 12:47:19 +10:30
Allineer
e9c4098f3a Delete .editorconfig 2015-01-22 01:24:08 +03:00
Toby Zerner
3599c515b5 Start ember testing 2015-01-21 15:18:15 +10:30
Toby Zerner
9bad350de0 Fix JSHint errors 2015-01-21 14:29:00 +10:30
Toby Zerner
aa346b3884 Upgrade ember-cli to 0.1.7 2015-01-21 14:28:28 +10:30
Toby Zerner
4e9a6931e4 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
2ba5dbfa75 Change the way we fetch multiple posts by ID
JSON-API specifies that multiple resources should be fetched with a
comma-separated list of IDs, i.e. discussions/1,2,3,4. But this is
problematic because if we do a findQuery with only one ID, then a
single object will come back from the API where the serializer is
expecting an array containing a single object.

Instead, I’ve just implemented an ids “filter” on the discussions index
API route (which is the default way that the adapter finds multiple
IDs.)
2015-01-16 17:26:17 +10:30
Toby Zerner
1f54876705 Change the way post count metadata is stored
We care about the number of “comment” posts, not the number of posts in
total.
2015-01-16 17:26:17 +10:30
Toby Zerner
c4b449ad3c Clean up composer components 2015-01-07 17:25:41 +10:30
Toby Zerner
fedfc24f6b Update liquid-fire 2015-01-07 17:25:40 +10:30
Toby Zerner
d6c9a92408 Update to ember-data b14, comment out bug for now 2015-01-07 17:25:40 +10:30
Toby Zerner
c31c2256c1 Rename/fix post stream 2015-01-07 17:25:40 +10:30
Toby Zerner
c783148784 Rework discussion/post components 2015-01-07 17:25:40 +10:30
Toby Zerner
764d2f4318 Use layoutName instead of templateName 2015-01-07 17:25:40 +10:30
Toby Zerner
4d01a615a4 Big component restructure/overhaul 2015-01-03 21:51:47 +10:30
Toby Zerner
5107a06e06 Clean up routes 2015-01-03 12:26:22 +10:30
Toby Zerner
161f37e210 Working on interface components. 2015-01-03 12:26:14 +10:30
Toby Zerner
0031c5ae38 Update ember.js (fix view helper regression) 2015-01-02 17:17:19 +10:30
Toby Zerner
36d7414491 Working on responsive dropdown menu components. 2015-01-02 11:46:40 +10:30
Toby Zerner
2f9c1bdb38 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
a4973995fa 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
dab9a6d7bc Fix up LESS compilation. 2014-12-24 09:36:47 +10:30