enhance(client): Add link to copy RSS feed in user profile menu (#9419)

* add link to RSS feed

* update changelog and locale file

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
Sam Smucny 2022-12-26 22:14:42 -05:00 committed by GitHub
parent 3d9f58b188
commit 5ebcdb4f31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -34,6 +34,7 @@ You should also include the user name that made the change.
- Server: delete outdated notes of antenna regularly to improve db performance @syuilo
- Client: use tabler-icons instead of fontawesome to better design @syuilo
- Client: Add new gabber kick sounds (thanks for noizenecio)
- Client: Add link to user RSS feed in profile menu @ssmucny
- Client: Compress non-animated PNG files @saschanaz
- Client: Youtube window player @sim1222
- Client: enhance dashboard of control panel @syuilo

View file

@ -49,6 +49,7 @@ deleteAndEdit: "削除して編集"
deleteAndEditConfirm: "このートを削除してもう一度編集しますかこのートへのリアクション、Renote、返信も全て削除されます。"
addToList: "リストに追加"
sendMessage: "メッセージを送信"
copyRSS: "RSSをコピー"
copyUsername: "ユーザー名をコピー"
searchUser: "ユーザーを検索"
reply: "返信"

View file

@ -158,6 +158,12 @@ export function getUserMenu(user, router: Router = mainRouter) {
action: () => {
copyToClipboard(`@${user.username}@${user.host || host}`);
},
}, {
icon: 'ti ti-rss',
text: i18n.ts.copyRSS,
action: () => {
copyToClipboard(`${user.host || host}/@${user.username}.atom`);
}
}, {
icon: 'ti ti-info-circle',
text: i18n.ts.info,