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
konstantin krivlenia and Umputun
ea4e95c710
fix markup for subscribe block for long description
2020-03-07 03:58:34 -06:00
konstantin krivlenia
be6aa8314b
#5 use css custom properties instead of color constant
2020-03-05 12:34:40 +03:00
b22cd5f76a
Add localization ( #602 )
...
* #10 add localization
* #10 revert locale from dev page
* #10 add more examples
* #10 localize auth panel
* #10 localize some comment message
* #10 localize some comment form message
* #10 translate vote messages
* #10 translate comment message
* #10 use messages value for translate reference
* #10 fix compile issue
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 translate comment message
* #10 translate comment form
* #10 translate comment form
* #10 translate root component
* #10 translate user info
* #10 translate settings
* #10 translate settings
* #10 translate toolbar
* #10 translate errors messages
* #10 sort dict
* #10 fix after rebase
* #10 localize anonymousLoginForm
* #10 localize emailLoginForm
* #10 update size-limit
* #10 localize subscribe by rss
* #10 localize subscribe by email
* #10 add de locale
* #10 increase limit size
* #10 auto generate loadLocale
* #10 add some documentation
* #10 fix error messages
* fix typo
* don't bundle en locale
* fix message id
* change size limits
* Update extract message pattern
Co-Authored-By: Pavel Mineev <pavel@mineev.me >
Co-authored-by: Pavel Mineev <pavel@mineev.me >
2020-03-04 14:56:00 -06:00
konstantin krivlenia and Umputun
5039e8d277
optimize last comment widget
2020-02-22 12:55:25 -06:00
konstantin krivlenia and Umputun
ffb41abfd4
optimize bundle sizes
2020-02-22 00:48:22 -06:00
Konstantin Krivlenia and GitHub
11327cee5b
Introduce stylelint ( #600 )
...
* introduce stylelint config
* run stylelint check on ci
2020-02-16 11:25:59 -06:00
Pavel Mineev and Umputun
75ff933add
Small restyling of comment elements
...
* quote with left border and without background
* style for old code insetions (structure pre > code)
* unified elemets margins
* 1px separator height
2020-02-09 13:49:58 -06:00