chore: collapse renote of my note (#11166)
* chore(frontend): 自分のnoteのrenoteも省略するように
Co-authored-by: madorama <madorama999@gmail.com>
* docs(changelog): add 見たことのあるRenoteを省略して表示をオンのときに自分のnoteのrenoteを省略するように
---------
Co-authored-by: madorama <madorama999@gmail.com>
Cherry-picks: 2606167f0d
This commit is contained in:
parent
064e6e28b0
commit
67c80c364f
|
@ -19,6 +19,7 @@
|
|||
### Client
|
||||
- deck UIのカラムのメニューからアンテナとリストの編集画面を開けるように
|
||||
- 画像を動画と同様に簡単に隠せるように
|
||||
- 見たことのあるRenoteを省略して表示をオンのときに自分のnoteのrenoteを省略するように
|
||||
- フォローやお気に入り登録をしていないチャンネルを開く時は概要ページを開くように
|
||||
- 引用対象を「もっと見る」で展開した場合、「閉じる」で畳めるように
|
||||
- Renote時に公開範囲のデフォルト設定が適用されるように
|
||||
|
|
|
@ -222,7 +222,7 @@ const translation = ref<any>(null);
|
|||
const translating = ref(false);
|
||||
const showTicker = (defaultStore.state.instanceTicker === 'always') || (defaultStore.state.instanceTicker === 'remote' && appearNote.user.instance);
|
||||
const canRenote = computed(() => ['public', 'home'].includes(appearNote.visibility) || appearNote.userId === $i.id);
|
||||
let renoteCollapsed = $ref(defaultStore.state.collapseRenotes && isRenote && (($i && ($i.id === note.userId)) || (appearNote.myReaction != null)));
|
||||
let renoteCollapsed = $ref(defaultStore.state.collapseRenotes && isRenote && (($i && ($i.id === note.userId || $i.id === appearNote.userId)) || (appearNote.myReaction != null)));
|
||||
|
||||
const keymap = {
|
||||
'r': () => reply(true),
|
||||
|
|
Loading…
Reference in New Issue