chore: update page group naming (#2628)

This commit is contained in:
Whitewater
2023-05-31 09:41:25 -07:00
committed by Himself65
parent fb9d200dd3
commit 9379a0fb49
3 changed files with 24 additions and 10 deletions
@@ -102,7 +102,7 @@ AffineAllPageList.args = {
favorite: true,
isPublicPage: false,
icon: <PageIcon />,
title: '2 Favorited Page',
title: '2 Favorited Page 2021',
createDate: new Date('2021-01-02'),
updatedDate: new Date('2021-01-01'),
bookmarkPage: () => toast('Bookmark page'),
@@ -111,6 +111,20 @@ AffineAllPageList.args = {
onOpenPageInNewTab: () => toast('Open page in new tab'),
removeToTrash: () => toast('Remove to trash'),
},
{
pageId: '3',
favorite: false,
isPublicPage: false,
icon: <PageIcon />,
title: 'page created in 2023-04-01',
createDate: new Date('2023-04-01'),
updatedDate: new Date('2023-04-01'),
bookmarkPage: () => toast('Bookmark page'),
onClickPage: () => toast('Click page'),
onDisablePublicSharing: () => toast('Disable public sharing'),
onOpenPageInNewTab: () => toast('Open page in new tab'),
removeToTrash: () => toast('Remove to trash'),
},
],
};