Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to

### Added

- ✨(frontend) show the user's workspaces (personal + shared/team drives) in the sidebar
- ✨(backend) allow converting a file while it is being analyzed
- ✨(frontend) add file type, contact and modification date topbar filters
- ✨(frontend) add location, file type, contact and date search filters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,18 @@ const TreeProviderInitializer = ({
};

items.push(favoritesNode);

// The user's workspaces (root items) as top-level sidebar entries: the
// personal main workspace ("Espace de stockage") plus every shared/team
// drive they can access. Each node is lazily expandable through the tree's
// onLoadChildren handler, like any other item.
const workspaces = await getDriver().getItems({ type: ItemType.FOLDER });
items.push(
...(itemsToTreeItems(
workspaces.children,
) as TreeViewDataType<TreeItem>[]),
);

treeContext?.treeData.resetTree(items);
setTreeIsInitialized(true);
};
Expand Down