Commit Graph
72 Commits
Author SHA1 Message Date
Vyrtsev Mikhail 34772fa1b6 deny anonymous image upload 2019-04-20 18:54:21 +03:00
UmputunandGitHub 24606e46bf Merge pull request #307 from Reeywhaar/image-upload-ui
Image upload ui
2019-04-14 22:58:39 -05:00
konstantin krivlenia c7824e603d #299 increase height textarea 2019-04-14 11:19:03 +03:00
konstantin krivlenia abeca3cc23 #299 add list format buttons 2019-04-14 11:18:16 +03:00
konstantin krivlenia b38bbf4f00 #299 add link format button 2019-04-14 11:18:16 +03:00
konstantin krivlenia 8fb147e8b4 #299 add code format button 2019-04-14 11:18:15 +03:00
konstantin krivlenia b13cc1cae7 #299 add quote format button 2019-04-14 11:18:14 +03:00
konstantin krivlenia 2b68c8e8d3 #299 add italic format button 2019-04-14 11:18:14 +03:00
konstantin krivlenia 4c5363835f #299 add header format button 2019-04-14 11:18:13 +03:00
konstantin krivlenia 8e19729718 #299 add bold toolbar for formatting 2019-04-14 11:18:13 +03:00
Vyrtsev Mikhail 1aea8be941 add image upload drag and drop 2019-04-14 00:06:42 +03:00
Misha VyrtsevandAleksei Gurianov 5809419bce Refactor frontend to typescript (#281) 2019-03-24 22:53:55 +04:00
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