mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	make it harder to fumble opening a collapsed replied-to note
clicking on the username of the collapsed replied-to note, opens the note instead of navigating to the user's profile clicking the avatar still goes to the profile
This commit is contained in:
		
							parent
							
								
									d6297f2035
								
							
						
					
					
						commit
						5ae409b032
					
				
					 2 changed files with 2 additions and 6 deletions
				
			
		| 
						 | 
					@ -14,9 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
	<div v-if="appearNote.reply && inReplyToCollapsed" :class="$style.collapsedInReplyTo">
 | 
						<div v-if="appearNote.reply && inReplyToCollapsed" :class="$style.collapsedInReplyTo">
 | 
				
			||||||
		<MkAvatar :class="$style.collapsedInReplyToAvatar" :user="appearNote.reply.user" link preview/>
 | 
							<MkAvatar :class="$style.collapsedInReplyToAvatar" :user="appearNote.reply.user" link preview/>
 | 
				
			||||||
		<MkA v-user-preview="appearNote.reply.userId" :class="$style.name" :to="userPage(appearNote.reply.user)">
 | 
							<MkAcct :user="appearNote.reply.user" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>:
 | 
				
			||||||
			<MkAcct :user="appearNote.reply.user"/>
 | 
					 | 
				
			||||||
		</MkA>:
 | 
					 | 
				
			||||||
		<Mfm :text="getNoteSummary(appearNote.reply)" :plain="true" :nowrap="true" :author="appearNote.reply.user" :nyaize="'respect'" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>
 | 
							<Mfm :text="getNoteSummary(appearNote.reply)" :plain="true" :nowrap="true" :author="appearNote.reply.user" :nyaize="'respect'" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
	<MkNoteSub v-if="appearNote.reply" v-show="!renoteCollapsed && !inReplyToCollapsed" :note="appearNote.reply" :class="$style.replyTo"/>
 | 
						<MkNoteSub v-if="appearNote.reply" v-show="!renoteCollapsed && !inReplyToCollapsed" :note="appearNote.reply" :class="$style.replyTo"/>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,9 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
 | 
				
			||||||
	<div v-if="appearNote.reply && inReplyToCollapsed && !renoteCollapsed" :class="$style.collapsedInReplyTo">
 | 
						<div v-if="appearNote.reply && inReplyToCollapsed && !renoteCollapsed" :class="$style.collapsedInReplyTo">
 | 
				
			||||||
		<div :class="$style.collapsedInReplyToLine"></div>
 | 
							<div :class="$style.collapsedInReplyToLine"></div>
 | 
				
			||||||
		<MkAvatar :class="$style.collapsedInReplyToAvatar" :user="appearNote.reply.user" link preview/>
 | 
							<MkAvatar :class="$style.collapsedInReplyToAvatar" :user="appearNote.reply.user" link preview/>
 | 
				
			||||||
		<MkA v-user-preview="appearNote.reply.userId" :class="$style.name" :to="userPage(appearNote.reply.user)">
 | 
							<MkAcct :user="appearNote.reply.user" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>:
 | 
				
			||||||
			<MkAcct :user="appearNote.reply.user"/>
 | 
					 | 
				
			||||||
		</MkA>:
 | 
					 | 
				
			||||||
		<Mfm :text="getNoteSummary(appearNote.reply)" :plain="true" :nowrap="true" :author="appearNote.reply.user" :nyaize="'respect'" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>
 | 
							<Mfm :text="getNoteSummary(appearNote.reply)" :plain="true" :nowrap="true" :author="appearNote.reply.user" :nyaize="'respect'" :class="$style.collapsedInReplyToText" @click="inReplyToCollapsed = false"/>
 | 
				
			||||||
	</div>
 | 
						</div>
 | 
				
			||||||
	<div v-if="pinned" :class="$style.tip"><i class="ti ti-pin"></i> {{ i18n.ts.pinnedNote }}</div>
 | 
						<div v-if="pinned" :class="$style.tip"><i class="ti ti-pin"></i> {{ i18n.ts.pinnedNote }}</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue