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>
This commit is contained in:
		
							parent
							
								
									f76b3edbdd
								
							
						
					
					
						commit
						2606167f0d
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -28,6 +28,7 @@
 | 
			
		|||
- ドライブファイルのメニューで画像をクロップできるように
 | 
			
		||||
- 画像を動画と同様に簡単に隠せるように
 | 
			
		||||
- オリジナル画像を保持せずにアップロードする場合webpでアップロードされるように(Safari以外)
 | 
			
		||||
- 見たことのあるRenoteを省略して表示をオンのときに自分のnoteのrenoteを省略するように
 | 
			
		||||
 | 
			
		||||
### Server
 | 
			
		||||
- JSON.parse の回数を削減することで、ストリーミングのパフォーマンスを向上しました
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue