Paul Mineev and Umputun
fe4db30e6d
show subscription buttons in simple view, add ability to hide rss button
2022-06-06 10:00:24 -05:00
Paul Mineev and Umputun
a290d906ee
fix copy for latest safari
2022-04-13 12:15:31 -05:00
Paul Mineev and Umputun
001b994e73
replace ts-jest and babel-jest to swc/jest
2022-04-13 03:40:19 -05:00
Paul Mineev and Umputun
145b4c474c
use default system font
2022-04-10 15:34:54 -05:00
Pavel Mineev and Umputun
dd06500573
bump frontend deps
2022-01-18 01:38:30 -06:00
Yuriy Synyaiev and Umputun
a1050472c4
feat: add cursor pointer for buttons
2021-11-29 03:00:57 -06:00
Ksinia and Umputun
832f4fd858
Fix typos in frontend code
2021-11-09 02:05:41 -06:00
Pavel Mineev and Umputun
3a20bfcbb2
profile popup
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
d8058c6576
use named imports
2021-05-06 15:55:46 -05:00
Pavel Mineev and Umputun
123cd53c09
fix linter
2021-05-06 15:39:57 -05:00
Pavel Mineev and Umputun
58d8fe0f1c
fix linter errors
2021-05-06 15:39:57 -05:00
Pavel Mineev and Umputun
9f98b46351
replace classnames to faster and smaller package
2021-05-06 15:11:36 -05:00
Pavel Mineev and Umputun
3ad7ba2c09
make form available after failed commit sending
2021-05-06 15:08:03 -05:00
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
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
1052898589
Change fragments to empty tag
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
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
d5ef0db394
Update production deps
2020-04-12 14:07:16 -05:00
Pavel Mineev and Umputun
01befe0c29
Fix linter errors
2020-04-08 11:47:00 -05: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
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
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 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
d22e364d1b
Autosubmit token by paste and a bit more ( #583 )
...
* Use lib for typing tests instead copied types
* add jwt utils
* Add autosending
* fix
* tests
* remove atob and fix tests
2020-01-28 00:38:02 -06:00
Konstantin Krivlenia and Umputun
17be003652
#378 Emoji suggestions ( #546 )
...
* #378 add emoji suggestion
* #378 use lazy load for nodeEmoji
* #378 apply remark styles only for light theme
* #378 add dark theme
* #378 fix test
* #378 use permanent class names
* #378 flip if else for readability
2020-01-13 18:26:32 -06:00
Pavel Mineev and Umputun
7d9e8ce076
UI for email subscription ( #537 )
...
* Add api methods for subscription
* Small changes
* little changes in remark.tsx
* disallow pass className to Button and Input
* Subscribe block
* add RSS and Email subscription drobdowns
* add hook useTheme
* unify dropdown import/export
* Change API
* rename subscribe methods
* add unsubscribe method
* Add email subscription to settings and user
* Refactor and add new steps
* render by single component
* add final step
* add unsubscribe step it user is subscribed
* Add tests
* Update subscription logic
* test without mocking redux methods but with mocking store
* update user in store after subscribe and unsubscribe
* little changes in subscription flow
* fix drobdown size
* Fix RSS subscription link for site
* fix link
* add test for RSS subscription
* Fix showing email subscription
* it don't show to unauth users
* it don't show to anonymous users
* it tested
* isUserAnonymous is a bit rewrited
* isUserAnonymous is tested
* Make Email button visible for anon users
* React X supporst Fragments thats why .babelrc changed
* disabled button is more visible
* fix hovering on disabled buttons
* create mocks for tests
* move email dropdown to __subscribe-by-email
2020-01-08 13:55:50 -06:00