-
Notifications
You must be signed in to change notification settings - Fork 1
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
enhance(frontend): チャンネル投稿をユーザーページと前後ノートに表示する #238
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ const pagination = computed(() => tab.value === 'featured' ? { | |
userId: props.user.id, | ||
withRenotes: tab.value === 'all', | ||
withReplies: tab.value === 'all', | ||
withChannelNotes: tab.value === 'all', | ||
withChannelNotes: true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tab.value == null (ノート)のときにもincludeするべきかは少し議論の余地がある気がします。 There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. ノート欄でchannelが見えないのはupstreamの実装で明示的なものなので、見えるようにするのは私は反対です。(upstreamの議論を経由したいです) |
||
withFiles: tab.value === 'files', | ||
includeSensitiveChannel: $i != null, | ||
}, | ||
|
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.
こっちもチャンネル投稿を常に含めるべきかは議論の余地があると思います。(場合によってはupstreamに投げることも考えて。)
例えば対象のノートがチャンネル投稿ならincludeChannelNotesを有効にするとかが考えられるかなと思います。
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.
確認してきました
ノートの前後表示は、ユーザーページの"ノート"に相当するようで、返信は入っていませんでした。(ついでに、チャンネル投稿は"ノート"には表示されませんでした)
う~む…
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.
ちょっと分かります
どちらが良いかというと難しいですね…(とりあえず後で本家にissueはしましょうかね)