mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 18:16:15 +08:00
4b6c4ed546
fix AF-1454
1. move inline tags editor to components
2. add progress component
3. adjust doc properties styles for desktop
4. subscribe bs database links and display in doc info
5. move update/create dates to doc info
6. a trivial e2e test
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/eed266c1-fdac-4f0e-baa9-4aa00d14a2e8.mp4">10月23日.mp4</video>
37 lines
717 B
TypeScript
37 lines
717 B
TypeScript
import type { DocCustomPropertyInfo } from '../db';
|
|
|
|
/**
|
|
* default built-in custom property, user can update and delete them
|
|
*
|
|
* 'id' and 'type' is request, 'index' is a manually maintained incremental key.
|
|
*/
|
|
export const BUILT_IN_CUSTOM_PROPERTY_TYPE = [
|
|
{
|
|
id: 'tags',
|
|
type: 'tags',
|
|
index: 'a0000001',
|
|
},
|
|
{
|
|
id: 'docPrimaryMode',
|
|
type: 'docPrimaryMode',
|
|
show: 'always-hide',
|
|
index: 'a0000002',
|
|
},
|
|
{
|
|
id: 'journal',
|
|
type: 'journal',
|
|
show: 'always-hide',
|
|
index: 'a0000003',
|
|
},
|
|
{
|
|
id: 'createdAt',
|
|
type: 'createdAt',
|
|
index: 'a0000004',
|
|
},
|
|
{
|
|
id: 'updatedAt',
|
|
type: 'updatedAt',
|
|
index: 'a0000005',
|
|
},
|
|
] as DocCustomPropertyInfo[];
|