mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-06 03:49:56 +08:00
fix(mobile): change mobile docs display config and prevent opening doc when close menu (#12903)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Improvements** - Updated document explorer to hide quick favorite and document icons, and display more detailed system properties for each document. - Enhanced link behavior in the workbench to prevent unintended clicks from triggering navigation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -15,8 +15,13 @@ import { AllDocsHeader } from '../../views';
|
||||
const AllDocs = () => {
|
||||
const [explorerContextValue] = useState(() =>
|
||||
createDocExplorerContext({
|
||||
quickFavorite: true,
|
||||
displayProperties: ['createdAt', 'updatedAt', 'tags'],
|
||||
quickFavorite: false,
|
||||
showDocIcon: false,
|
||||
displayProperties: [
|
||||
'system:createdAt',
|
||||
'system:updatedAt',
|
||||
'system:tags',
|
||||
],
|
||||
view: 'masonry',
|
||||
showDragHandle: false,
|
||||
groupBy: undefined,
|
||||
|
||||
Reference in New Issue
Block a user