Pavel Mineev and Umputun
e7950fcb22
Fix saving comment to LS
...
* save comment after image upload
* do not affect error messages by save to LS mechanism
* check if data in LS in empty
2021-03-22 03:42:03 -05:00
Pavel Mineev and Umputun
4325a3c249
Fix dropdown opening
...
* change iframe height on content change
* change iframe size on dropdown open
2021-03-13 12:41:25 -06:00
Pavel Mineev and Umputun
345ee88333
add testing-library/jest-dom, fix waitfor
2021-03-04 12:02:46 -06:00
Pavel Mineev and Umputun
f922a51a28
new-auth: add tests
...
* use testing-libruaby for new tests
* tests for auth module
* add svg stub
* add global stub for `useIntl`
* add global stub for `common/settings`
2021-03-04 12:02:46 -06:00
Pavel Mineev and Umputun
63218ac51c
new-auth
2021-03-04 12:02:46 -06:00
Pavel Mineev and Umputun
ec62b1a572
refac textarea autosize
2021-02-24 12:27:32 -06:00
Pavel Mineev and Umputun
e1e8da4b2a
use parens for arrow funcs always
2021-01-29 03:17:10 -06:00
Pavel Mineev and Umputun
758c6bb1b2
fix font in user comments
2021-01-15 12:39:20 -06:00
Yury Antonov and Umputun
8b53c68cc3
add missing Fragment import
2021-01-15 12:12:19 -06:00
Pavel Mineev and Umputun
bb5907d21f
Replacing REMARK_URL, fix remark_config stub, add minify html/css in templates
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
27e0fa0701
change styles for list-comments
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
1052898589
Change fragments to empty tag
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
b72f4d57ea
Fix paths to static
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
6474821271
Fix styles order
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
b53d4a455b
Fix escaping for shortcuts in messages
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
3bd1bb1c89
fix build
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
a144dd00e3
Remove any from codebase
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
5825a55b69
Update frontend
...
* change root dit and change way to import modules
* update deps to latest versions
* use latest tools for building bundles
* rewrite webpack config
* use nomodule technique for loading modern bundle
* inject polyfills by babel usebuiltins
* update eslint rules
* rename all style files to CSS
* use postcss preset env for building styles
* proper typescript typing
* put all html files to templates folder
* etc
2021-01-12 13:39:26 -06:00
Ksinia and Umputun
5b4e492c1b
Save logged in user email in local storage
2020-11-18 10:59:44 -06:00
aa048a0db9
Apply suggestions from code review
...
Co-authored-by: Pavel Mineev <pavel@mineev.me >
2020-11-10 09:45:48 -06:00
Ksinia and Umputun
d87135a80a
Fix test for Replies link
2020-11-10 09:45:48 -06:00
Ksinia and Umputun
e6aa4736ea
Fix RSS links
2020-11-10 09:45:48 -06:00
Pavel Mineev and Umputun
f4aa7332d5
Add tests and change props/state getting to fix TS error
2020-11-09 15:43:03 -06:00
Pavel Mineev and Umputun
4da83d9231
#212 : Fix max length counter in Safari
2020-11-09 15:43:03 -06:00
Pavel Mineev and Umputun
5c23206d00
Hide email subscription by param from frontend
2020-08-20 18:15:50 -05:00
Pavel Pustovalov and Umputun
71e0e98e05
Update prettier
2020-08-20 02:53:33 -05:00
konstantin krivlenia
07a9f84c49
allow non latin letter for user name
2020-05-22 00:33:54 +03:00
Serge Adamovich and Umputun
5afa74eec1
#594 Open hidden thread and jump to linked comment
2020-05-04 02:20:44 -05:00
Serge Adamovich and Umputun
d111cbd3e1
#594 Scroll to parent of hidden comments
2020-05-04 02:20:44 -05:00
Serge Adamovich
84e68b9bc8
Check messages in tests
2020-04-20 11:22:14 +03:00
Serge Adamovich
7115329060
Add tests
2020-04-19 20:41:46 +03:00
Serge Adamovich
2f966d09ca
Fix work with message in onDrop method
2020-04-19 20:12:44 +03:00
Serge Adamovich
5fc67f1c12
Add message of image upload try by anonymous user
2020-04-18 17:24:54 +03:00
Pavel Mineev and Umputun
c291dd491d
update preact
2020-04-12 15:31:17 -05:00
Pavel Mineev and Umputun
d5ef0db394
Update production deps
2020-04-12 14:07:16 -05:00
lalentine and Umputun
82cbb5a836
Adds background transition to .comment class
2020-04-12 13:17:58 -05:00
lalentine and Umputun
49dd5bdf21
Resolves #559
...
Adds .comment_highlighting class after scrolling to comment.
2020-04-11 23:03:47 -05:00
Pavel Mineev and Umputun
01befe0c29
Fix linter errors
2020-04-08 11:47:00 -05:00
konstantin krivlenia
879e5c8383
fix default en message form symbol limit
2020-04-07 10:48:00 +03:00
lufte
467496f34c
Add translations for "new page" and english improvements
2020-04-06 23:39:40 -03:00
Pavel Mineev and Umputun
78a5bf15b5
Fix back button in email subscription form
2020-04-06 10:14:50 -05:00
Pavel Mineev and Umputun
7de82e0fef
Fix clear localstorage after comment sending
...
* add functions for saving json to localstorage and tests
* remove comment form localstorage after posting
2020-04-02 16:25:37 -05:00
Pavel Mineev and Umputun
fe4b46f924
fix id and generate langs
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
0725013481
Hide error message after login
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
779839aeb4
Add error on image upload by anonymous user
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
c9485fab3f
Use named function for AuthPanel wrapped component
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
93fd445bd4
On-demand auth
...
* auth block was moved to comment form
* if comments on page read only auth form shows in old place
* comment value in form will be saved between refreshes (it is side effect form saving comment value between unauth and auth states)
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
827bc7dc40
Fix sorting
2020-03-08 00:14:03 -06:00
Pavel Mineev and GitHub
85c71716f9
Small refactoring ( #609 )
...
* Move visibility param from redux store to local state
* use func for parsing location.search
* Remove bad wrapper
* we already have wrapper with NODE_ID on page and we shouldn't another one with the same id on page
* move common part of markup to level up
* Tinny refac of setSorting
* add dummy types for pollyfils
also, a bit rewrited way to resolve imports
* Move sort flag to local store
Because we don't need to share this param between diffrent parts of interface
* Add action creators
* move action to action creators
* Remove unused functions
* Merge in conditions in one
* One way for export API methods
* add default tags
* Rewrited changing read only mode
* removed unused function
* set sort changes
* always send sort from store
* rollback if sort don't work
* constanst
* add typing
* shorten export
* remove double define of host
2020-03-07 12:25:18 -06:00
Pavel Mineev and Umputun
30f3ffe517
Reduce size of last-comments widget
...
* use one api method insted full api file
* remove debug for preact
* use smaller constans file
* move unique constants
2020-03-07 03:59:03 -06:00