Rework sidebar pages

* Move sidebar pages from workspace to space level
* Replace array sorting with lexicographical fractional indexing
* Fixes and updates
This commit is contained in:
Philipinho
2024-04-16 21:55:24 +01:00
parent f1bdce1662
commit df9110268c
35 changed files with 775 additions and 982 deletions

View File

@ -1,4 +1,4 @@
import { atom } from "jotai";
import { TreeNode } from '@/features/page/tree/types';
import { SpaceTreeNode } from "@/features/page/tree/types";
export const treeDataAtom = atom<TreeNode[]>([]);
export const treeDataAtom = atom<SpaceTreeNode[]>([]);