Misha Vyrtsev and Aleksei Gurianov
5809419bce
Refactor frontend to typescript ( #281 )
2019-03-24 22:53:55 +04:00
Andrei Alikov and Umputun
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 Vyrtsev and Umputun
a2b9b39640
Update dependencies ( #277 )
...
* update dependencies
* fix eslint warnings
* remove redundant sass-loader
2019-02-17 13:32:51 -06:00
Andrei Alikov and Umputun
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
Umputun and GitHub
6aae306be6
Merge pull request #250 from Reeywhaar/#248-frontend
...
Disable comment editing if it has reply
2019-01-17 11:27:37 -06:00
Umputun and GitHub
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 Kharshats and GitHub
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 Vyrtsev and Igor 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 Vyrtsev and Aleksei 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 Adamenko and Umputun
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 Loparev and Umputun
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 Vyrtsev and Umputun
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 K and Aleksei 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
Jack and Aleksei Gurianov
5c9d0d6119
Fix incorrect edit comment countdown timer calculation #74
2018-07-25 17:41:13 +04:00
Jack & Burger and Aleksei Gurianov
905d41af7e
Option to disable comments manually ( #154 )
2018-07-13 11:41:12 +04:00
Efremov Alexey and Aleksei Gurianov
1539c1f043
add user-info in iframe ( #131 )
...
closes #98
2018-07-09 18:32:14 +04:00
Jack & Burger and Aleksei 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 Novikov and Aleksei Gurianov
bcd28306e2
migrate from sass to PostCSS ( #142 )
...
closes #135
2018-07-09 01:17:04 +04:00
Sviataslau Shchaurouski and Aleksei 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
DmitryTsepelev and Aleksei Gurianov
ea47e1d19c
Fix right margin for verified user icon
2018-07-07 13:10:16 +04:00
Prettier and Aleksey Gurianov
2df3aa01d4
apply prettier formating
2018-07-07 01:17:37 +04:00
Mihail Novikov and Aleksei 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
Mihail Novikov and Aleksei Gurianov
6c41ce263c
Fix comment_info block for small screens
2018-07-06 01:56:04 +04:00
Efremov Alexey and Aleksei 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