mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
fix #13512 fix #13255 fix #9743 #### PR Dependency Tree * **PR #14393** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced Kanban view grouping support for additional property types: checkboxes, select fields, multi-select fields, members, and created-by information. * Improved drag-and-drop visual feedback with more precise drop indicators in Kanban views. * **Bug Fixes** * Refined grouping logic to ensure only compatible properties appear in group-by options. * Enhanced column visibility and ordering consistency when managing Kanban views. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
14 lines
418 B
TypeScript
14 lines
418 B
TypeScript
import { createViewConvert } from '../core/view/convert.js';
|
|
import { kanbanViewModel } from './kanban/index.js';
|
|
import { tableViewModel } from './table/index.js';
|
|
|
|
export const viewConverts = [
|
|
createViewConvert(tableViewModel, kanbanViewModel, data => ({
|
|
filter: data.filter,
|
|
})),
|
|
createViewConvert(kanbanViewModel, tableViewModel, data => ({
|
|
filter: data.filter,
|
|
groupBy: data.groupBy,
|
|
})),
|
|
];
|