mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
feat: supports sort all page (#2356)
This commit is contained in:
@@ -50,9 +50,9 @@ AffineAllPageList.args = {
|
||||
favorite: false,
|
||||
icon: <PageIcon />,
|
||||
isPublicPage: true,
|
||||
title: 'Example Public Page with long title that will be truncated',
|
||||
title: '1 Example Public Page with long title that will be truncated',
|
||||
createDate: '2021-01-01',
|
||||
updatedDate: '2021-01-01',
|
||||
updatedDate: '2021-01-02',
|
||||
bookmarkPage: () => toast('Bookmark page'),
|
||||
onClickPage: () => toast('Click page'),
|
||||
onDisablePublicSharing: () => toast('Disable public sharing'),
|
||||
@@ -64,8 +64,8 @@ AffineAllPageList.args = {
|
||||
favorite: true,
|
||||
isPublicPage: false,
|
||||
icon: <PageIcon />,
|
||||
title: 'Favorited Page',
|
||||
createDate: '2021-01-01',
|
||||
title: '2 Favorited Page',
|
||||
createDate: '2021-01-02',
|
||||
updatedDate: '2021-01-01',
|
||||
bookmarkPage: () => toast('Bookmark page'),
|
||||
onClickPage: () => toast('Click page'),
|
||||
@@ -90,7 +90,7 @@ AffineTrashPageList.args = {
|
||||
pageId: '1',
|
||||
icon: <PageIcon />,
|
||||
title: 'Example Page',
|
||||
updatedDate: '2021-01-01',
|
||||
updatedDate: '2021-02-01',
|
||||
createDate: '2021-01-01',
|
||||
trashDate: '2021-01-01',
|
||||
onClickPage: () => toast('Click page'),
|
||||
|
||||
Reference in New Issue
Block a user