Commit Graph
465 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
Misha VyrtsevandUmputun f4a616e2de add widgets to demo page (#263)
* add widgets to demo page

* fix border color in dark mode

* demo page adjusting

* fix indentation
2019-01-25 16:43:57 -06: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 00bf148630 restore comments controls in last comments 2019-01-17 04:14:06 +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 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
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 f2a8678715 add tabindex: 0 on buttons only if they have handlers 2019-01-07 00:38:43 +02:00
igoradamenko 88184fbc54 add link to replies rss 2019-01-07 00:38:42 +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 566d5820ad fix passing title to the iframe 2019-01-06 21:22: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 52578221a9 pass page title to the iframe 2019-01-06 20:55:40 +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 b7f1b2a609 set theme of comments inside user-info to light 2018-12-16 21:23:08 +02:00
igoradamenko 59ed9bb9a4 make user-info always white 2018-12-16 21:07:06 +02:00
igoradamenko de762331f0 change color of hr tag in dark theme 2018-12-16 20:53:15 +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 9ea21305f5 improve copy helper for copying text styles 2018-11-24 23:23:34 +02:00
igoradamenko 11d8338989 fix username during comment copying 2018-11-20 23:52:00 +02:00
Vyrtsev Mikhail 8e48605b75 oh no 2018-11-14 21:20:41 +03:00
Vyrtsev Mikhail 6b11cd85d9 comments page remark href fix 2018-11-14 18:31:06 +03:00
Vyrtsev Mikhail 4bac8f4d2c comments page in style of https://remark42.com/demo/ 2018-11-14 18:28:44 +03:00
Vyrtsev Mikhail 87d011fe32 after @igoradamenko review 2018-11-14 17:56:48 +03:00
Vyrtsev Mikhail ae9332c0e5 fix unnecessary property 2018-11-14 09:52:51 +03:00
Vyrtsev Mikhail 5ac3255d17 third party cookies blocked fallback 2018-11-14 07:08:48 +03: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
igoradamenko 344a4fa6a8 revert all temp frontend changes 2018-11-12 22:53:38 +02:00
igoradamenko aff685252f temp turn off linting & testing frontend 2018-11-12 22:41:51 +02:00
igoradamenko d5b1914b7e temp turn off linting for settings file 2018-11-12 22:33:54 +02:00
igoradamenko 586b2d3df3 first steps to removing iframe 2018-11-12 22:18:31 +02:00
igoradamenko 69167d0c95 first steps to removing iframe 2018-11-12 22:06:22 +02:00
igoradamenko 94687a9488 Revert: try to add storage access request during login, again 2018-11-12 21:28:14 +02:00