refactor: Pay the debt of some TODO comments - #30338
Conversation
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #30338 +/- ##
===========================================
+ Coverage 49.57% 49.58% +0.01%
===========================================
Files 3317 3321 +4
Lines 81492 81528 +36
Branches 16735 16745 +10
===========================================
+ Hits 40399 40428 +29
+ Misses 36397 36392 -5
- Partials 4696 4708 +12
Flags with carried forward coverage won't be shown. Click here to find out more. |
c09a0b5 to
0b1f659
Compare
0b1f659 to
e7046cc
Compare
| > | ||
| <Scrollable vertical>{wrapper(text)}</Scrollable> | ||
| <Button icon='copy' secondary square small flexShrink={0} onClick={onClick} title={t('Copy')} /> | ||
| <Button icon='copy' secondary square small flexShrink={0} onClick={handleClick} title={t('Copy')} /> |
There was a problem hiding this comment.
why not:
| <Button icon='copy' secondary square small flexShrink={0} onClick={handleClick} title={t('Copy')} /> | |
| <Button icon='copy' secondary square small flexShrink={0} onClick={() => copy()} title={t('Copy')} /> |
| const { connected, retryTime, status, reconnect } = useConnectionStatus(); | ||
| const reconnectCountdown = useReconnectCountdown(retryTime, status); | ||
| const t = useTranslation(); | ||
| const { t } = useTranslation(); |
There was a problem hiding this comment.
I think its not going to work here, in this file
There was a problem hiding this comment.
I think there's a verification on the provider and just translations with the proper pattern works with react-i18next
* 'develop' of github.com:RocketChat/Rocket.Chat: (143 commits) fix: Marketplace apps installed as private showing as installed (#31514) test: fix messaging flaky test (#31512) fix: change the push sound sent when the push is from video conference (#30910) fix: ensure sessionId on Sessions documents (#31487) chore: handle rocket.cat creation and deletion (#31170) chore(agenda): Changes in Agenda API (#31427) refactor: Pay the debt of some TODO comments (#30338) feat: Room header keyboard navigability (#31516) fix: Cron job for clearing OEmbed cache isn't working (#31336) refactor(client): Handling of custom statuses (#31500) fix: Prevent `Fallback forward departments` feature to go on loop when configured as circular chain (#31328) feat: Add `push.test` endpoint (#31289) chore: split UserProvider into two: User and Authentication (#31513) fix: Can't remove channel's password to join (#31507) chore: convert CAS integration code to typescript (#31492) feat: Composer keyboard navigability (#31510) fix: Render warning in Logs - (MessageType.render is deprecated. Use MessageType.message instead) (#31426) feat: Convert emoji shortname to unicode on notification emails. (#31225) chore: Normalize `ButtonGroup` (#31499) chore: improve type definitions for login service configurations (#31491) ...
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments