From 276b9f1839424e62da1c546acc07053a2ce98001 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 8 Sep 2014 10:01:15 -0700 Subject: [PATCH 1/3] more wishlist --- WISHLIST.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WISHLIST.rst b/WISHLIST.rst index 68324ad9d..a0713f196 100644 --- a/WISHLIST.rst +++ b/WISHLIST.rst @@ -5,3 +5,5 @@ Broad-sweeping stuff which would be nice to have - homeserver implementation in go - homeserver implementation in node.js - client SDKs + - libpurple library + - irssi plugin? From 32acb7e90304fccf85e2271fb0a6f60b1fadbaf7 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 13 Sep 2014 11:35:36 +0100 Subject: [PATCH 2/3] always scroll to bottom when entering a room --- webclient/room/room-controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 45dfff95c..50d902ae4 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -220,7 +220,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) }; var paginate = function(numItems) { - // console.log("paginate " + numItems); + //console.log("paginate " + numItems + " and first_pagination is " + $scope.state.first_pagination); if ($scope.state.paginating || !$scope.room_id) { return; } @@ -260,7 +260,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) } if ($scope.state.first_pagination) { - scrollToBottom(); + scrollToBottom(true); $scope.state.first_pagination = false; } else { From 49b5dd56b53f0bb6a7ce678eb4b0ecd158df1eb3 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 13 Sep 2014 11:38:45 +0100 Subject: [PATCH 3/3] unbreak wordwrapping by breaking multiline paste for now --- webclient/app.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webclient/app.css b/webclient/app.css index a277bd2a5..064f626f0 100755 --- a/webclient/app.css +++ b/webclient/app.css @@ -529,7 +529,8 @@ a:active { color: #000; } .bubble .message { /* Break lines when encountering CR+LF */ - white-space: pre; + /* FIXME: this breaks wordwrapping. We need to s#CRLF#
#g instead */ +/* white-space: pre; */ } .bubble .messagePending { opacity: 0.3