Commit Graph
119 Commits
Author SHA1 Message Date
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
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
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 709f75d90d show username link if there is no link on title in last comments widget 2019-01-06 21:54:28 +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
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
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 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
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
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
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
Aleksey Gurianov fea398483e Revert "Add: user-info in iframe Issue #98"
This reverts commit bae2b8dcaa.
2018-07-06 03:08:53 +04:00
Efremov AlexeyandAleksei Gurianov bae2b8dcaa Add: user-info in iframe Issue #98
Signed-off-by: Efremov Alexey <lexich121@gmail.com>
2018-07-06 01:30:37 +04:00
Alex 0b36b79d16 #remove @method -rename 2018-06-23 23:13:45 +03:00
Alex 73d875f477 #unverify @method -rename 2018-06-23 23:12:31 +03:00
Alex 72f1f774f5 #verify @method -rename 2018-06-23 23:11:34 +03:00
Alex 400905c8ff #unpin @method -rename 2018-06-23 23:09:52 +03:00
Alex 7b7934e93c #pin @method -rename 2018-06-23 23:08:41 +03:00
Alex 7e27cf5060 #vote @method -rename 2018-06-23 22:53:22 +03:00
konstantin krivlenia 07f82bf6a5 add eslint check 2018-06-23 01:38:03 +03:00
igoradamenko 5dcd7aea4e add possibility to get last 10 user comments 2018-06-18 23:28:29 +03:00
igoradamenko 4cf40b2f65 add verification check to comment block
closes #60
2018-06-11 15:17:11 +03:00
igoradamenko 5bd91f9b4a move collapse button to the top right corner; change design of collapsed comment
closes #37 and #53
2018-06-03 18:13:55 +03:00
igoradamenko 0d95254fef hide replying and editing forms when comment is deleted 2018-05-26 19:47:22 +03:00
igoradamenko 4a39daa552 fix condition for comment.orig in comment component 2018-05-26 18:41:21 +03:00
igoradamenko 78b9a109f4 replace html entities in comment.orig 2018-05-26 18:35:32 +03:00
igoradamenko e5ffbb1b96 revert "remove requesting updated comment after voting" due to UI freezing 2018-05-26 17:15:01 +03:00
igoradamenko d7a22620df revert handling scores using store instead of comment state due to UI freezes 2018-05-26 17:04:36 +03:00
igoradamenko a56d2cfed8 handle scores using store instead of comment state 2018-05-26 16:49:53 +03:00
igoradamenko a4fce6b082 remove requesting updated comment after voting 2018-05-26 16:26:44 +03:00
igoradamenko 770d60ead6 chain voting promises 2018-05-26 16:07:31 +03:00
igoradamenko 783ae26f78 force close editing form when replying is opening; and vice versa 2018-05-18 22:35:27 +03:00
igoradamenko 402f502932 change critical comment score to low in UI 2018-05-18 22:09:12 +03:00
igoradamenko e02f0b4113 add timer for editing 2018-05-18 22:09:12 +03:00
igoradamenko 2a1c416bb8 use value from config for critical comment score 2018-05-18 22:09:12 +03:00
igoradamenko 246736d44d fix on edit error 2018-05-18 20:23:24 +03:00