Skip to content

Home button #76

@bonbud-macryg

Description

@bonbud-macryg

We should have a quick, "non-destructive" way of getting to the homescreen. If ~sampel/home is the default path for new windows, then getting to the homescreen is as easy as making a new window. But making a new window "destroys" the window layout you currently have, and as a user I would like to preserve my layouts.

The home button is a special tab at the left end of the tab bar. Clicking it replaces the entire dashboard with the homescreen, but the window layout you just left behind is one click away in the workspaces tab.

This assumes that any non-homescreen windows you created were created in a workspace. Logic for enforcing this looks something like:

  • If you open the app and have nothing else open, you land on the homescreen by default with no workspaces.
  • If you navigate to a path, or click a link in the homescreen, or try to split this homescreen window, you're taken to that path in a new workspace which is automatically created for you. (If you try to split the homescreen, maybe this new workspace has two homescreens open.)
  • The home button represents a special workspace that is always open and can only have the homescreen open.

This logic implies that a workspace can be ephemeral, which is an important wrinkle in whichever of two models for workspaces we go with.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions