enhance(client): user activity page

This commit is contained in:
syuilo 2023-01-02 10:18:47 +09:00
parent 1df23a839a
commit 7a95339296
17 changed files with 564 additions and 339 deletions

View file

@ -33,10 +33,16 @@ let chartSrc = $ref('per-user-notes');
function showMenu(ev: MouseEvent) {
os.popupMenu([{
text: i18n.ts.notes,
active: true,
active: chartSrc === 'per-user-notes',
action: () => {
chartSrc = 'per-user-notes';
},
}, {
text: i18n.ts.numberOfProfileView,
active: chartSrc === 'per-user-pv',
action: () => {
chartSrc = 'per-user-pv';
},
}, /*, {
text: i18n.ts.following,
action: () => {