Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
61e2097
feat(core): give sidebar folders a colour, a fold and validated moves
crynta Nov 18, 2026
f02130d
feat(tabs): create, move and keep sidebar folders natively
crynta Nov 18, 2026
3475185
feat(tabs): take a folder's sleeping tab out when it is closed again
crynta Nov 18, 2026
47e4d01
feat(sidebar): fold, rename, drag and file tabs into folders
crynta Nov 18, 2026
9e502e0
test(tabs): follow Group into Folder through the UI-command branch
crynta Nov 18, 2026
15f2430
fix(sidebar): hide a folded folder's rows and keep spines in front
crynta Nov 18, 2026
8ea0ba5
Merge remote-tracking branch 'origin/main' into feat/tab-folders
crynta Nov 18, 2026
fac4d42
fix(tabs): keep deleted folders whole and honest about what comes back
crynta Nov 18, 2026
8f67d1f
fix(sidebar): group without a sidebar, one create at a time, RTL drags
crynta Nov 18, 2026
ef5c260
fix(tabs): hold only the tabs a deleted folder can bring back
crynta Nov 19, 2026
bca26fe
fix(tabs): keep the front Essential when the session is full
crynta Nov 19, 2026
0735cb8
fix(tabs): send a kept tab that cannot load back to Recently Closed
crynta Nov 19, 2026
39e5875
fix(tabs): move Group into Folder to CmdOrCtrl+Shift+M
crynta Nov 19, 2026
819f89e
fix(sidebar): file a queued folder create in the space it was asked for
crynta Nov 19, 2026
9d422ff
Merge remote-tracking branch 'origin/main' into feat/tab-folders
crynta Nov 19, 2026
b3d81ac
fix(tabs): undo a folder delete before records from an older build
crynta Nov 19, 2026
1b5b361
fix(tabs): bring a deleted folder back where all of it fits
crynta Nov 19, 2026
7b4df25
fix(tabs): keep the record of a tab folder undo could not restore
crynta Nov 19, 2026
e4fec4b
fix(tabs): refuse to move the front folder away when nothing can take…
crynta Nov 19, 2026
617cdaa
fix(keymap): give each key one command when an override meets a new d…
crynta Nov 19, 2026
022ce1c
fix(sidebar): let only the newest fold request settle a folder's fold
crynta Nov 19, 2026
8be693a
fix(tabs): move Group into Folder to CmdOrCtrl+Shift+A
crynta Nov 19, 2026
cddce1d
Merge remote-tracking branch 'origin/main' into feat/tab-folders
crynta Nov 21, 2026
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 crates/zephium-app/src/actor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1301,6 +1301,7 @@ fn tracked_operation_command(command: &Command) -> bool {
| Command::LeaveSplit(_)
| Command::TabAction { .. }
| Command::Space(_)
| Command::Folder(_)
| Command::DropTab { .. }
| Command::DividerRelease { .. }
| Command::Run(_)
Expand Down
42 changes: 42 additions & 0 deletions crates/zephium-app/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,46 @@ pub enum SpaceCommand {
MoveActive(zephium_core::ids::SpaceId),
}

/// Folder mutations from chrome, menus and keys, with ids parsed. The shell
/// checks each against the focused space.
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum FolderCommand {
Create {
name: String,
color: Option<zephium_core::item::FolderColor>,
tabs: Vec<ItemId>,
parent: Option<ItemId>,
before: Option<ItemId>,
},
Rename {
id: ItemId,
name: String,
},
SetColor {
id: ItemId,
color: Option<zephium_core::item::FolderColor>,
},
SetCollapsed {
id: ItemId,
collapsed: bool,
},
Move {
id: ItemId,
parent: Option<ItemId>,
before: Option<ItemId>,
},
/// Takes a tab out of its folder, to just below it.
RemoveFromFolder(ItemId),
Ungroup(ItemId),
CloseTabs(ItemId),
Delete(ItemId),
/// The folder and everything in it, to another of the profile's spaces.
MoveToSpace {
id: ItemId,
space: zephium_core::ids::SpaceId,
},
}

/// What the person chose for a page's request to open another application
/// or a blocked new tab.
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
Expand Down Expand Up @@ -493,6 +533,8 @@ pub enum Command {
},
/// Something done to the focused profile's spaces.
Space(Box<SpaceCommand>),
/// Something done to the focused space's folders.
Folder(Box<FolderCommand>),
SetWindowSize(Size),
/// Whether the OS can currently present the main window. Minimized
/// windows hide native content views so the engine can lower their memory
Expand Down
8 changes: 4 additions & 4 deletions crates/zephium-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ mod work_synthesis;
pub mod work_trace;
pub use api::{
BookmarkCompletion, BrowsingDataCompletion, ExportCompletion, FaviconPageSource, FaviconProbe,
FaviconProber, FaviconProberAttachment, HistoryCompletion, HistoryListCompletion,
ImportCompletion, ImportDestination, ImportDestinationCompletion, NoteCompletion,
NotesAttachment, PageSource, ResourceCompletion, SourceCompletion, SpaceCommand, TabAction,
TabCompletion, TimeCompletion, ZoomCompletion,
FaviconProber, FaviconProberAttachment, FolderCommand, HistoryCompletion,
HistoryListCompletion, ImportCompletion, ImportDestination, ImportDestinationCompletion,
NoteCompletion, NotesAttachment, PageSource, ResourceCompletion, SourceCompletion,
SpaceCommand, TabAction, TabCompletion, TimeCompletion, ZoomCompletion,
};
Loading
Loading