feat: load blocks from previous session

also remove annoying unsaved changes popup
This commit is contained in:
trafficlunar 2025-10-08 17:31:11 +01:00
parent 7a115e751d
commit 9b0cdfdc9b
5 changed files with 62 additions and 18 deletions

16
pnpm-lock.yaml generated
View file

@ -80,6 +80,9 @@ importers:
nbtify:
specifier: ^2.2.0
version: 2.2.0
pako:
specifier: ^2.1.0
version: 2.1.0
pixi.js:
specifier: ^8.13.2
version: 8.13.2
@ -111,6 +114,9 @@ importers:
'@types/node':
specifier: ^24.6.1
version: 24.6.1
'@types/pako':
specifier: ^2.0.4
version: 2.0.4
'@types/react':
specifier: ^19.1.17
version: 19.1.17
@ -1270,6 +1276,9 @@ packages:
'@types/node@24.6.1':
resolution: {integrity: sha512-ljvjjs3DNXummeIaooB4cLBKg2U6SPI6Hjra/9rRIy7CpM0HpLtG9HptkMKAb4HYWy5S7HUvJEuWgr/y0U8SHw==}
'@types/pako@2.0.4':
resolution: {integrity: sha512-VWDCbrLeVXJM9fihYodcLiIv0ku+AlOa/TQ1SvYOaBuyrSKgEcro95LJyIsJ4vSo6BXIxOKxiJAat04CmST9Fw==}
'@types/react-dom@19.1.11':
resolution: {integrity: sha512-3BKc/yGdNTYQVVw4idqHtSOcFsgGuBbMveKCOgF8wQ5QtrYOc3jDIlzg3jef04zcXFIHLelyGlj0T+BJ8+KN+w==}
peerDependencies:
@ -2090,6 +2099,9 @@ packages:
resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}
engines: {node: '>=10'}
pako@2.1.0:
resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==}
parent-module@1.0.1:
resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}
engines: {node: '>=6'}
@ -3479,6 +3491,8 @@ snapshots:
dependencies:
undici-types: 7.13.0
'@types/pako@2.0.4': {}
'@types/react-dom@19.1.11(@types/react@19.1.17)':
dependencies:
'@types/react': 19.1.17
@ -4347,6 +4361,8 @@ snapshots:
dependencies:
p-limit: 3.1.0
pako@2.1.0: {}
parent-module@1.0.1:
dependencies:
callsites: 3.1.0