-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup of the frontend code #1563
Conversation
Codecov ReportBase: 58.05% // Head: 58.45% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1563 +/- ##
==========================================
+ Coverage 58.05% 58.45% +0.40%
==========================================
Files 131 128 -3
Lines 2911 2879 -32
Branches 736 729 -7
==========================================
- Hits 1690 1683 -7
+ Misses 1090 1070 -20
+ Partials 131 126 -5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
size-limit report 📦
|
7770922
to
9c2c2f1
Compare
frontend/apps/remark42/app/components/comment-form/comment-form.tsx
Outdated
Show resolved
Hide resolved
frontend/apps/remark42/app/components/comment/comment-votes.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paskal I like those changes. I wrote few points which we should fix before merging it.
I just realized that you tried to address #1321. I'd say it's less than ideal way of addressing it, so I'd rather leave |
df8f9f7
to
dc70976
Compare
dc70976
to
3831963
Compare
- replace undocumented `substr` with `substring` - remove unused code - inline a few variables - simplify ifs when possible - improve saveCollapsedComments documentation - cleanup the unused imports - remove unused variables and types
3831963
to
3d12f07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paskal nice job!
substr
withsubstring