Compare commits

...

15 Commits

Author SHA1 Message Date
Souma af41d14028
Merge 83762b3226 into 69d66b89f2 2025-09-22 14:00:41 +02:00
Souma 83762b3226
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-09-07 22:54:08 +09:00
syuilo a9c6a5444c Merge branch 'develop' into pr/16417 2025-09-06 17:56:44 +09:00
Souma 3c4a03a789
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-09-06 17:38:21 +09:00
Souma 900792a43e
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-09-06 12:05:49 +09:00
Souma da86f303f3
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-09-05 20:48:28 +09:00
Souma b4acfd0c55
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-09-03 21:23:39 +09:00
Souma 899726a61e
refactor(frontend): Don't surround the banners with links
It may conflict with the follow buttons.
2025-08-23 21:21:47 +09:00
Souma 94043ea4d3
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-08-23 21:18:04 +09:00
Souma 8dca808f88
style(frontend): Fix the linter error
Remove the duplicated space.
2025-08-18 16:35:19 +09:00
Souma df290d7e38
Merge branch 'develop' into feat-frontend-expand-profile-links 2025-08-18 16:30:02 +09:00
Souma 55f71a6fbf
docs(changelog): Add a description about this change
Users can notice what's changed by this PR.
2025-08-16 15:11:03 +09:00
Souma 2c2fb885cb
feat(frontend): Add links to notes, followers and following
For easy transition to the shown information.
2025-08-16 15:11:02 +09:00
Souma 34eb626337
chore(frontend): Change the link of notes count
Move to the notes tab for better userbility.
2025-08-16 15:11:02 +09:00
Souma cc9cd28796
feat(frontend): Add a link to profile to banner and avatar
Increase the area of links to click easily.
2025-08-16 15:11:00 +09:00
4 changed files with 21 additions and 15 deletions

View File

@ -26,6 +26,8 @@
- Enhance: クリップ/リスト/アンテナ/ロール追加系メニュー項目において、表示件数を拡張
- Enhance: 「キャッシュを削除」ボタンでブラウザの内部キャッシュの削除も行えるように
- Enhance: CtrlキーCommandキーを押下しながらリンクをクリックすると新しいタブで開くように
- Enhance: プロフィールへのリンクをユーザーポップアップのアバターに追加
- Enhance: ユーザーのノート、フォロー、フォロワーページへのリンクをユーザーポップアップに追加
- Fix: プッシュ通知を有効にできない問題を修正
- Fix: RSSティッカーウィジェットが正しく動作しない問題を修正
- Fix: プロファイルを復元後アカウントの切り替えができない問題を修正

View File

@ -6,7 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div class="_panel" :class="$style.root">
<div :class="$style.banner" :style="user.bannerUrl ? { backgroundImage: `url(${prefer.s.disableShowingAnimatedImages ? getStaticImageUrl(user.bannerUrl) : user.bannerUrl})` } : ''"></div>
<MkAvatar :class="$style.avatar" :user="user" indicator/>
<MkA :to="userPage(user)">
<MkAvatar :class="$style.avatar" :user="user" indicator/>
</MkA>
<div :class="$style.title">
<MkA :class="$style.name" :to="userPage(user)"><MkUserName :user="user" :nowrap="false"/></MkA>
<p :class="$style.username"><MkAcct :user="user"/></p>
@ -19,15 +21,15 @@ SPDX-License-Identifier: AGPL-3.0-only
<span v-else style="opacity: 0.7;">{{ i18n.ts.noAccountDescription }}</span>
</div>
<div :class="$style.status">
<div :class="$style.statusItem">
<MkA :class="$style.statusItem" :to="userPage(user, 'notes')">
<p :class="$style.statusItemLabel">{{ i18n.ts.notes }}</p><span :class="$style.statusItemValue">{{ number(user.notesCount) }}</span>
</div>
<div v-if="isFollowingVisibleForMe(user)" :class="$style.statusItem">
</MkA>
<MkA v-if="isFollowingVisibleForMe(user)" :class="$style.statusItem" :to="userPage(user, 'following')">
<p :class="$style.statusItemLabel">{{ i18n.ts.following }}</p><span :class="$style.statusItemValue">{{ number(user.followingCount) }}</span>
</div>
<div v-if="isFollowersVisibleForMe(user)" :class="$style.statusItem">
</MkA>
<MkA v-if="isFollowersVisibleForMe(user)" :class="$style.statusItem" :to="userPage(user, 'followers')">
<p :class="$style.statusItemLabel">{{ i18n.ts.followers }}</p><span :class="$style.statusItemValue">{{ number(user.followersCount) }}</span>
</div>
</MkA>
</div>
<MkFollowButton v-if="user.id != $i?.id" :class="$style.follow" :user="user" mini/>
</div>

View File

@ -22,7 +22,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<path d="M64,32C81.661,32 96,46.339 96,64C95.891,72.184 104,72 104,72C104,72 74.096,80 64,80C52.755,80 24,72 24,72C24,72 31.854,72.018 32,64C32,46.339 46.339,32 64,32Z" style="fill: var(--MI_THEME-popup);"/>
</g>
</svg>
<MkAvatar :class="$style.avatar" :user="user" indicator/>
<MkA :to="userPage(user)">
<MkAvatar :class="$style.avatar" :user="user" indicator/>
</MkA>
<div :class="$style.title">
<MkA :class="$style.name" :to="userPage(user)"><MkUserName :user="user" :nowrap="false"/></MkA>
<div :class="$style.username"><MkAcct :user="user"/></div>
@ -32,18 +34,18 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-else style="opacity: 0.7;">{{ i18n.ts.noAccountDescription }}</div>
</div>
<div :class="$style.status">
<div :class="$style.statusItem">
<MkA :class="$style.statusItem" :to="userPage(user, 'notes')">
<div :class="$style.statusItemLabel">{{ i18n.ts.notes }}</div>
<div>{{ number(user.notesCount) }}</div>
</div>
<div v-if="isFollowingVisibleForMe(user)" :class="$style.statusItem">
</MkA>
<MkA v-if="isFollowingVisibleForMe(user)" :class="$style.statusItem" :to="userPage(user, 'following')">
<div :class="$style.statusItemLabel">{{ i18n.ts.following }}</div>
<div>{{ number(user.followingCount) }}</div>
</div>
<div v-if="isFollowersVisibleForMe(user)" :class="$style.statusItem">
</MkA>
<MkA v-if="isFollowersVisibleForMe(user)" :class="$style.statusItem" :to="userPage(user, 'followers')">
<div :class="$style.statusItemLabel">{{ i18n.ts.followers }}</div>
<div>{{ number(user.followersCount) }}</div>
</div>
</MkA>
</div>
<button class="_button" :class="$style.menu" @click="showMenu"><i class="ti ti-dots"></i></button>
<MkFollowButton v-if="$i && user.id != $i.id" v-model:user="user" :class="$style.follow" mini/>

View File

@ -113,7 +113,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</dl>
</div>
<div class="status">
<MkA :to="userPage(user)">
<MkA :to="userPage(user, 'notes')">
<b>{{ number(user.notesCount) }}</b>
<span>{{ i18n.ts.notes }}</span>
</MkA>