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

@ -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,