feat: stream list view and tasks (#279)

* first attempt at stream sidebar, tasks, and events

* fix folder from root

* cleanup folders and events, and condense changes

* cleanup and add toggle for sidebar

* cleanup

* fix nits
This commit was merged in pull request #279.
This commit is contained in:
Arjun Patel
2026-06-12 12:26:49 -07:00
committed by GitHub
parent a358774106
commit 095b9876f9
37 changed files with 2384 additions and 791 deletions
@@ -1,21 +1,12 @@
import { Particle } from '@/api/types';
import { parseParticlePath, type ParticlePath } from '@/lib/particle-path';
import { ComposeOverlay } from '@/features/compose/compose-overlay';
import { type ParticlePath } from '@/lib/particle-path';
import { ContainerView } from '@/features/particles/container-view';
interface FolderViewProps {
folderParticle: Particle;
folderParticle: Particle & { type: 'folder' };
path: ParticlePath;
}
export function FolderView({ path, folderParticle }: FolderViewProps) {
const { networkId } = parseParticlePath(path);
return (
<div className="flex h-full items-center justify-center">
<p className="text-muted-foreground text-sm">
Folder view {folderParticle.id}
</p>
<ComposeOverlay networkId={networkId} />
</div>
);
return <ContainerView path={path} folderParticle={folderParticle} />;
}