From 7bc5f4e863b14febf26bb447b5267216d9d8ce42 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Wed, 29 Jul 2015 11:30:54 -0400 Subject: reset number of posts to fetch on channel switch and fresh page load --- web/react/utils/constants.jsx | 1 + 1 file changed, 1 insertion(+) (limited to 'web/react/utils/constants.jsx') diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 77ce19530..4fbcc0341 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -55,6 +55,7 @@ module.exports = { DEFAULT_CHANNEL: 'town-square', OFFTOPIC_CHANNEL: 'off-topic', POST_CHUNK_SIZE: 60, + MAX_POST_CHUNKS: 3, RESERVED_TEAM_NAMES: [ "www", "web", -- cgit v1.2.3-1-g7c22 From e2d77c28f1226c32457891d6b6814082468548e5 Mon Sep 17 00:00:00 2001 From: hmhealey Date: Thu, 30 Jul 2015 15:21:35 -0400 Subject: Removed ^replying in preparation for 0.6.0 --- web/react/utils/constants.jsx | 1 - 1 file changed, 1 deletion(-) (limited to 'web/react/utils/constants.jsx') diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 77ce19530..b0882ff73 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -18,7 +18,6 @@ module.exports = { RECIEVED_POST_SELECTED: null, RECIEVED_MENTION_DATA: null, RECIEVED_ADD_MENTION: null, - RECEIVED_ACTIVE_THREAD_CHANGED: null, RECIEVED_PROFILES: null, RECIEVED_ME: null, -- cgit v1.2.3-1-g7c22 From a541f09380ab2adbe4d0ba7c80ff72015767bd81 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Wed, 29 Jul 2015 10:09:11 -0400 Subject: image thumbnails now scale appropriately so there is no whitespace, also generalized some thumbnail loading code --- web/react/utils/constants.jsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/react/utils/constants.jsx') diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx index 77ce19530..3509c9514 100644 --- a/web/react/utils/constants.jsx +++ b/web/react/utils/constants.jsx @@ -52,6 +52,8 @@ module.exports = { MAX_DISPLAY_FILES: 5, MAX_UPLOAD_FILES: 5, MAX_FILE_SIZE: 50000000, // 50 MB + THUMBNAIL_WIDTH: 128, + THUMBNAIL_HEIGHT: 100, DEFAULT_CHANNEL: 'town-square', OFFTOPIC_CHANNEL: 'off-topic', POST_CHUNK_SIZE: 60, -- cgit v1.2.3-1-g7c22