Commit Graph
174 Commits
Author SHA1 Message Date
Vyrtsev Mikhail 34772fa1b6 deny anonymous image upload 2019-04-20 18:54:21 +03:00
Vyrtsev Mikhail 1dd97d42a1 hide unexpected error message from ui, still can be seen in console 2019-04-20 18:54:20 +03:00
Vyrtsev Mikhail 1aea8be941 add image upload drag and drop 2019-04-14 00:06:42 +03:00
Vyrtsev Mikhail 69d5a5e4a9 add admin indicator for pinned comment 2019-04-12 01:44:20 +03:00
Vyrtsev Mikhail dae3300125 fix comment admin indicator 2019-04-11 01:17:29 +03:00
Vyrtsev Mikhail 3246b66214 support new voting api in ui 2019-04-10 02:49:45 +03:00
Vyrtsev Mikhail 24ea8805bb implement ui support for anonymous login https://github.com/umputun/remark/issues/279 2019-03-25 01:25:47 +03:00
Misha VyrtsevandAleksei Gurianov 5809419bce Refactor frontend to typescript (#281) 2019-03-24 22:53:55 +04:00
Andrei AlikovandUmputun d62825642d Add "contradiction index" metric (#278)
* show the value of `controversy` in the hover on scores
* add a new sorting mode "controversial" to "sort by" dropdown
2019-02-17 17:48:49 -06: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
Andrei Alikov 3e72ec379a Fix block users select behavior
We need to have onBlur and onChange events listeners for the select for the "block user" as it advised by es-lint. But if we simply add onBlur event listener it will cause infinite loop of blur -> confirm pop-up -> cancel -> blur -> confirm pop-up... So we have to debounce the events to process them only one time.
2019-02-06 18:50:15 +09:00
Vyrtsev Mikhail 7a394b8e90 support positive score only mode 2019-01-26 23:47:20 +03:00
UmputunandGitHub 6aae306be6 Merge pull request #250 from Reeywhaar/#248-frontend
Disable comment editing if it has reply
2019-01-17 11:27:37 -06:00
UmputunandGitHub f7851bc5f0 Merge pull request #254 from Reeywhaar/252-fix
Fix wrong label on voting buttons
2019-01-17 11:27:19 -06:00
Vyrtsev Mikhail ddd2c25498 exclude pin/unpin from last comments comment controls 2019-01-17 04:24:17 +03:00
Vyrtsev Mikhail e42110a3ba fix wrong label on voting buttons 2019-01-17 04:07:13 +03:00
Valery KharshatsandGitHub 5a034f4b52 Prioritize disabled arrows style over general
It disables hover color change for not logged in users.
2019-01-16 16:21:05 -05:00
Vyrtsev Mikhail 7ba4518587 disable comment editing if it has reply 2019-01-16 23:39:23 +03:00
Misha VyrtsevandIgor Adamenko 57ffa5d491 Show post title in user comments sidebar (#244)
* show post title in user comments sidebar #241

* trim title with ellipsis

* show post title in user comments sidebar #241: post-review

* adjust to make user comments post title the same as last comments widget style

* remove user comments post title margin

* revert to f35ecc75b0
2019-01-09 16:20:55 +02:00
igoradamenko 1f964c664c change colors of hovers of comment votes buttons 2019-01-07 00:38:45 +02:00
igoradamenko cb7b170b99 change color of username in last comments widget 2019-01-06 23:26:26 +02:00
igoradamenko 709f75d90d show username link if there is no link on title in last comments widget 2019-01-06 21:54:28 +02:00
igoradamenko 0da1a8c237 fix alignment of the comment text in last comment widget 2019-01-06 21:10:54 +02:00
igoradamenko 80b7800b6a remove link from username in comment_view_preview 2019-01-06 21:01:46 +02:00
igoradamenko d8c20da881 show comment's post title in last comments widget only if it exists 2019-01-06 11:42:01 +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
Misha VyrtsevandAleksei Gurianov d48f758253 Disable voting on read-only posts (#234) 2019-01-02 19:40:58 +04:00
igoradamenko d69da482a4 fix admin's username color 2018-12-21 01:26:36 +02:00
igoradamenko ced78f3332 remove left margin of comment__time in user comment 2018-12-16 21:32:50 +02:00
igoradamenko 99940567c7 fix score color in light & dark themes 2018-12-16 20:52: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
Pavel LoparevandUmputun 7b3e9bd659 Reset opacity for useless comment by mouse hover event (#227) 2018-12-08 22:48:04 -06:00
igoradamenko 7b2e684316 stylish copied text 2018-11-24 23:24:33 +02:00
igoradamenko 11d8338989 fix username during comment copying 2018-11-20 23:52:00 +02:00
igoradamenko 431d294cb6 default cursor for inactive comment control 2018-11-13 01:02:56 +02:00
igoradamenko 77bbfd4899 add copy button for admin 2018-11-13 00:56:02 +02:00
Misha VyrtsevandUmputun beab481d99 frontend: delete own comment button added (#214)
* frontend: delete own comment button added

* fix behaviour while in admin mode
2018-11-01 14:10:36 -05: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
JackandAleksei Gurianov 5c9d0d6119 Fix incorrect edit comment countdown timer calculation #74 2018-07-25 17:41:13 +04:00
Jack & BurgerandAleksei Gurianov 905d41af7e Option to disable comments manually (#154) 2018-07-13 11:41:12 +04:00
Efremov AlexeyandAleksei Gurianov 1539c1f043 add user-info in iframe (#131)
closes #98
2018-07-09 18:32:14 +04:00
Jack & BurgerandAleksei Gurianov 4cea9d5855 Add ability to ban users for limited time and to view in the 'Show blocked' (#140)
closes #88
2018-07-09 16:58:08 +04:00
Mihail NovikovandAleksei Gurianov bcd28306e2 migrate from sass to PostCSS (#142)
closes #135
2018-07-09 01:17:04 +04:00
Sviataslau ShchaurouskiandAleksei Gurianov 20f08683b5 112: mobile version breaks title with author name (#126)
* 112: refactors comment component a bit - replaces few onDo/onUndo methods with their toggle equivalent

* 112: refactors comment component a bit - replaces few onDo/onUndo methods with their toggle equivalent part 2

* revert it later

* Revert "revert it later"

This reverts commit f8bee04

* Adds engine section in package.json and sourcemaps generation in webpack

* Extracts Avatar as component

* Fixes typo, linting and bug

* Removes dev changes

* Fixes linter errors

* Fixes PR comments
2018-07-08 15:42:19 +04:00
DmitryTsepelevandAleksei Gurianov ea47e1d19c Fix right margin for verified user icon 2018-07-07 13:10:16 +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