Commit Graph
63 Commits
Author SHA1 Message Date
igoradamenko c69d7cfa95 add todo list for web app 2018-02-13 01:26:06 +02:00
igoradamenko 77e8cc8d45 subscribe comments in root component state to store updates 2018-02-13 01:15:09 +02:00
igoradamenko 7844971304 add sub/pub to store 2018-02-13 01:15:09 +02:00
igoradamenko 37c2e8b3fd add getConfig to api 2018-02-13 01:15:09 +02:00
igoradamenko 94244f9751 decrease opacity of comments of banned users 2018-02-13 01:15:09 +02:00
igoradamenko 115917b0d2 remove old comment deleting handler 2018-02-13 01:15:09 +02:00
igoradamenko 0cbce460cb show pinned comments on the top of threads 2018-02-13 01:15:09 +02:00
igoradamenko 5a52b87cd6 add max width to test container 2018-02-13 01:15:09 +02:00
igoradamenko cf295c18fe add getPinnedComments method to store 2018-02-13 01:15:09 +02:00
igoradamenko 4e3b931e38 reset input height after sending comment 2018-02-13 01:15:09 +02:00
igoradamenko e4e580c55a separate dev & production settings in webpack config 2018-02-13 01:15:09 +02:00
Umputun 7419686aaf allow /web/ without extra redirect 2018-02-12 14:52:18 -06:00
igoradamenko e9ffc75bfa remove useless NODE_ENV key from dockerfile build-frontend part 2018-02-12 22:17:57 +02:00
igoradamenko 80352a86f0 add build-frontend part to dockerfile 2018-02-12 22:08:19 +02:00
igoradamenko 787dfc705a fix logic of block/unblock buttons appearing 2018-02-05 01:01:07 +02:00
igoradamenko 2f9146f462 add handlers for block, unblock and remove in comment component 2018-02-05 00:27:47 +02:00
igoradamenko 35837ed6c9 add remove, blockUser and unblockUser to api 2018-02-05 00:27:47 +02:00
igoradamenko 8ff6e8e589 add support for pin to comment component 2018-02-05 00:27:47 +02:00
igoradamenko d287a18969 add pin / unpin to api 2018-02-05 00:27:47 +02:00
igoradamenko c0ed35f2b1 remove link from username in comment component 2018-02-03 01:01:53 +02:00
igoradamenko 46c52c6e46 change default sort to -score 2018-02-03 01:01:38 +02:00
igoradamenko c2a3fd4293 add store update on vote 2018-02-03 00:53:52 +02:00
igoradamenko bdb54925ea move logic about replacement and pasting comment to store instead of root component 2018-02-03 00:53:26 +02:00
igoradamenko 150f6c0089 add sending possibility on cmd/ctrl+enter 2018-02-03 00:32:51 +02:00
igoradamenko 9468acd477 add support for posting comments & replies 2018-02-02 23:49:10 +02:00
igoradamenko 87683bd91c add pass onreply callback through thread component to children 2018-02-02 23:48:11 +02:00
igoradamenko b027dd48c7 add getComment support to api 2018-02-02 23:47:41 +02:00
igoradamenko c4365d09fe add input for replying to comment component 2018-02-02 23:47:28 +02:00
igoradamenko 5248041b00 input: add autofocus and reset value after sending 2018-02-02 23:46:12 +02:00
igoradamenko 00a17ad15f api.user → api.getUser 2018-02-02 21:15:21 +02:00
igoradamenko 3012c27f90 add preloader 2018-02-02 21:10:13 +02:00
igoradamenko 45dc4a49e5 add user get request to api 2018-02-02 20:52:44 +02:00
igoradamenko cb293c78fc add store singleton 2018-02-02 20:52:27 +02:00
igoradamenko 7bf29b99dc change accent color 2018-02-02 19:32:32 +02:00
igoradamenko a4a9b0a0f7 add sending comment to server on submit input 2018-01-29 00:43:07 +02:00
igoradamenko 73861df6b1 add send api endpoint for posting comments 2018-01-29 00:43:07 +02:00
igoradamenko 24e51e35a6 add body to post requests in fetcher 2018-01-29 00:43:07 +02:00
igoradamenko a0632c89f8 add send button to input 2018-01-28 23:41:37 +02:00
igoradamenko 8ebdb94d3a add some format for time string 2018-01-28 23:23:55 +02:00
igoradamenko 43172c6e57 remove border around demo container 2018-01-28 23:12:18 +02:00
igoradamenko d80ad716c9 add font for threads 2018-01-28 23:12:18 +02:00
igoradamenko 99523f8925 move styles from root block to its elements 2018-01-28 23:12:18 +02:00
igoradamenko 1808cafea6 add spaces around score 2018-01-28 23:12:18 +02:00
igoradamenko 4f1ab160d4 add input component with auto-resize on input 2018-01-28 23:09:02 +02:00
igoradamenko 59c9d59ad0 show error in console if root node isn't found 2018-01-23 20:15:35 +02:00
igoradamenko 1f4e1b160f rewrite draft using preact 2018-01-23 20:15:35 +02:00
igoradamenko 26e2445913 move common files to folder /common/ 2018-01-23 20:15:35 +02:00
igoradamenko fa821cb5e1 start to rewrite draft using preact 2018-01-23 20:15:35 +02:00
igoradamenko 446b80b5c9 prepare webpack config to preact 2018-01-23 20:15:35 +02:00
igoradamenko 6912a622c7 add draft for voting ui 2018-01-23 20:15:35 +02:00