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

7
pnpm-lock.yaml generated
View File

@ -98,6 +98,9 @@ importers:
'@tiptap/suggestion':
specifier: ^2.2.4
version: 2.2.4(@tiptap/core@2.2.4)(@tiptap/pm@2.2.4)
fractional-indexing-jittered:
specifier: ^0.9.1
version: 0.9.1
y-indexeddb:
specifier: ^9.0.12
version: 9.0.12(yjs@13.6.14)
@ -7605,6 +7608,10 @@ packages:
engines: {node: '>= 0.6'}
dev: false
/fractional-indexing-jittered@0.9.1:
resolution: {integrity: sha512-qyzDZ7JXWf/yZT2rQDpQwFBbIaZS2o+zb0s740vqreXQ6bFQPd8tAy4D1gGN0CUeIcnNHjuvb0EaLnqHhGV/PA==}
dev: false
/fs-constants@1.0.0:
resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
dev: true