-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(frontend): リノートの判定が甘いのを修正 #14396
fix(frontend): リノートの判定が甘いのを修正 #14396
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #14396 +/- ##
===========================================
+ Coverage 39.91% 41.65% +1.73%
===========================================
Files 1545 1550 +5
Lines 190531 196560 +6029
Branches 2701 2692 -9
===========================================
+ Hits 76054 81874 +5820
- Misses 113916 114123 +207
- Partials 561 563 +2 ☔ View full report in Codecov by Sentry. |
👀 |
こぬふりくと解消 |
packages/misskey-js/src/note.ts
Outdated
@@ -0,0 +1,12 @@ | |||
import type { Note, Renote } from './entities.js'; | |||
|
|||
export function isRenote(note: Note): note is Renote { |
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.
isPureRenoteの方が良さそう
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.
FYI: #14396 (comment)
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.
型の名前もPureRenoteにしておく?
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.
する
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.
done
🙏🏿 |
* fix(frontend): リノートの判定が甘いのを修正 * fix * Update Changelog * fix * use type assertion * fix + add comments * lint * misskey-jsに移動 * PureRenote -> Renote * isRenote -> isPureRenote
What
Why
Fix https://misskey.io/notes/9wueduyg27vy0437
一部の自ノートで削除ボタンが出ないのを修正
Additional info (optional)
Checklist