Commit Graph
60 Commits
Author SHA1 Message Date
Misha VyrtsevandUmputun a2b9b39640 Update dependencies (#277)
* update dependencies

* fix eslint warnings

* remove redundant sass-loader
2019-02-17 13:32:51 -06:00
Andrei AlikovandUmputun 653125d525 Hanlde limiter rejection on UI side (#275)
- Adds common function to get error message from the http response
- Adds error message for the voting displayed under the voting buttons
- Adds restoring of voting data after voting request failed

fixed re-writing error message when user tries to vote for the same comment
2019-02-12 09:35:14 -06:00
Vyrtsev Mikhail 86fde18b7d hide edit input if original text and edited are same 2019-01-17 00:06:04 +03:00
Vyrtsev Mikhail 7ba4518587 disable comment editing if it has reply 2019-01-16 23:39:23 +03:00
igoradamenko 88184fbc54 add link to replies rss 2019-01-07 00:38:42 +02:00
igoradamenko 9dc83f5261 fix frontend linting errors 2019-01-05 22:24:37 +02:00
igoradamenko 87b5799a53 add title support for comments and last comments widget 2019-01-05 22:18:08 +02:00
Igor AdamenkoandUmputun 6f1b9037d5 Dark theme (#228)
* add with-theme hoc

* add dark theme styles for components

* add toggle theme button to the dev demo page

* add info about widget themes to README
2018-12-15 17:10:41 -06:00
Jackandigoradamenko ab6bfff32f Add help page about markdown formatting #8 2018-09-29 23:04:33 +03:00
Alexandr KandAleksei Gurianov 419d2ae75e Add focus-visible polyfill, issue #187 (#193)
* add focus-visible polyfill
* remove unnecessary outline: none from styles
* make buttons Pin, Block, Delete visible when focused
* fix outline of user details close button
* close user info by ESC
* user info: don't focus the close button
2018-08-23 20:46:16 +04:00
Alexandr KandAleksei Gurianov c1e2616764 Input fix for Edge issue 169 (#171) 2018-07-19 00:16:37 +04:00
Mihail NovikovandAleksei Gurianov bcd28306e2 migrate from sass to PostCSS (#142)
closes #135
2018-07-09 01:17:04 +04:00
PrettierandAleksey Gurianov 2df3aa01d4 apply prettier formating 2018-07-07 01:17:37 +04:00
Mihail NovikovandAleksei Gurianov b08e351da0 Add a11y linter (#130) 2018-07-06 20:13:24 +04:00
Aleksey Gurianov 9949632cd7 set prettier rules to warn and fix jsx pragma 2018-07-06 19:05:35 +04:00
Alex 0171fc85b5 #edit @method -rename 2018-06-23 22:57:46 +03:00
Alex 48bcadbceb #send @method -rename 2018-06-23 22:56:54 +03:00
vladimir dashukevich 7f7c4df188 Prevent closing comment input field on ESC 2018-06-06 00:17:42 +03:00
igoradamenko f468b7c3ee disable input buttons during sending 2018-05-26 18:26:12 +03:00
igoradamenko fa8e581729 fix preview 2018-05-18 23:30:09 +03:00
igoradamenko a30c2ab07e optimise requests on edit / send 2018-05-18 23:21:45 +03:00
igoradamenko d9d423c055 force clear & set value in input on mount / unmount 2018-05-18 22:35:58 +03:00
igoradamenko 5097395258 add condition for input rerender 2018-05-18 22:23:38 +03:00
igoradamenko e02f0b4113 add timer for editing 2018-05-18 22:09:12 +03:00
igoradamenko ebda2514ec remove useless request on edit 2018-05-18 20:16:41 +03:00
igoradamenko 91f6e8e716 add id to params for api call 2018-05-18 19:38:34 +03:00
igoradamenko 6ed73901e7 oops; remove some useless stuff from defaultValue of input 2018-05-18 19:37:29 +03:00
igoradamenko a40626ef42 replace value attr with defaultValue on textarea 2018-05-18 19:31:42 +03:00
igoradamenko 1815380f3f add editing support to input component 2018-05-18 19:25:57 +03:00
igoradamenko 12f3e1ca5c leave rss links in the main comment form only 2018-05-18 18:22:26 +03:00
igoradamenko 243ee909f8 add links to rss for thread & site 2018-05-18 17:49:57 +03:00
igoradamenko a1053be566 remove red border from input field in ff 2018-05-17 22:17:39 +03:00
igoradamenko 7742ce5a38 lints 2018-05-13 23:23:59 +03:00
Andre Polykanine A.K.A. Menelion Elensúlë e96f571b06 Resolve conflicts 2018-05-13 02:07:38 +03:00
Andre Polykanine A.K.A. Menelion Elensúlë e6aa4111dd Add basic ARIA mark-up 2018-05-13 01:49:13 +03:00
igoradamenko f7fd70ab60 improve preview styles 2018-05-12 22:35:54 +03:00
igoradamenko 1511ff81a3 show available characters warning on input 2018-05-11 21:39:29 +03:00
igoradamenko d64138897d improve error handling in input 2018-05-11 21:39:29 +03:00
igoradamenko b9d4f01a05 try to fix input field blinking in Safari, again.. and again 2018-05-07 21:19:58 +03:00
igoradamenko 7c803e4f0e try to fix input field blinking in Safari, again 2018-05-07 00:43:28 +03:00
igoradamenko 490635fa24 remove buttons default margin 2018-05-07 00:09:28 +03:00
igoradamenko 9f2427763a change input field size directly instead of using component state 2018-05-07 00:00:55 +03:00
igoradamenko 9bdbe6fd95 close input for reply on escape 2018-05-06 23:29:01 +03:00
igoradamenko cfe3ea5cde try to fix blinking of text field in Safari 2018-05-06 23:29:01 +03:00
igoradamenko 797bb1b5ed clear text in input when node mounts 2018-05-03 03:03:15 +03:00
igoradamenko d3a9989533 hide preview on input 2018-05-03 02:53:21 +03:00
igoradamenko afbebd0d5d improve colors and offsets of comment form 2018-05-03 00:39:42 +03:00
igoradamenko 57963912ed fix preview button color 2018-05-02 04:07:06 +03:00
igoradamenko 412fc7a97d add preview support 2018-05-02 02:44:27 +03:00
igoradamenko b9c567c10e redesign 2018-05-02 02:18:38 +03:00