feat: integrate sonner for toast notifications and update project metadata

This commit is contained in:
Noste
2025-11-24 23:42:36 +01:00
parent a7388b8962
commit f33452dcb1
15 changed files with 1152 additions and 200 deletions
+4 -1
View File
@@ -67,7 +67,10 @@ export const objectsApi = {
// Filter mock objects by prefix
if (!_prefix) {
return mockObjectsFlat.filter(obj => !obj.key.includes('/'));
return mockObjectsFlat.filter(obj => {
// Include root-level files (no slash) and root-level folders (single slash at end)
return !obj.key.includes('/') || (obj.key.endsWith('/') && !obj.key.slice(0, -1).includes('/'));
});
}
// Get all objects with this prefix, but only direct children