Skip to content

Optional parts

Not every project wants a wiki, a task board or planning, and not every person wants to see all of them. Each part of the app can be turned off, and the interface leaves it out.

Decided: every user can turn parts of the app on and off, and this comes before new features such as Planning and Pull requests, so they are built switchable from the start. Being removable keeps a feature behind a clean boundary instead of leaking into the rest of the app.

What the first version answers, to try out before deciding for good:

  • The key is unused: [wiki, planning] in .genbeya.yml: listing what is off, so a missing key means everything is on and nothing changes for existing projects.
  • The parts are wiki, tasks, planning, timelog, code, changes, history, pulls and terminal. Planning needs tasks and the time log needs planning; turning one off takes those along, and turning one on brings back what it needs.
  • The user layer is parts in the personal preferences: a choice per part (shown or hidden) for every repository, and choices for single repositories, which win. Settings → App → Show switches between This repository and Every repository.
  • Decided: the wiki, the tasks and the other views never hide themselves, even without their folder: only planning, the time log and pull requests are automatic.
  • Automatic parts: planning, the time log and pull requests show once the project uses them (a planning field or a time log; a time log; a pull request file) until the user chooses. Existing users keep seeing everything they saw; the time log is off until someone logs time, as the planning design asks. New pull request stays in the palette meanwhile.
  • Hidden parts leave the sidebar, the palette (views, commands, pages, tasks, files), full-text search results and the tour. Ctrl+1 … Ctrl+6 keep their numbers. A repository opens in the first view that shows.
  • References into a hidden part open a read-only preview of the page, task or file: hidden is out of the way, not locked.
  • Loading only what is shown: tasks and pull requests turned off (by the user or the project) aren’t read; the snapshot carries the task IDs from the file names, so references still reach the tasks. On 3,000 tasks a snapshot took 260 ms instead of 900 ms.
  • Agent files leave an unused wiki or task board out, and say what unused means; with nothing unused, they are byte for byte what they were.
  • VS Code hides the wiki and task views of a project that doesn’t use them.
  • Where it lives: the parts and their needs are in src/contracts/model.ts, the client’s view of them in src/client/app/core/parts.ts.

Left for later:

  • Plan macros in VS Code’s preview follow the project layer only.

Turning a part off means two different things, so there are two layers:

LayerStored inMeans
The project uses.genbeya.ymlThe project works without this part. Nobody sees it, and the agent instructions, onboarding and search leave it out. Team policies, such as whether effort is logged, belong here too.
I showPersonal preferences, per repository, with a default for all repositoriesI don’t want to see this part. It is hidden for me only; files and other people are not affected.

A part shows when the project uses it and I show it. The project layer saves a team that doesn’t plan in tasks from turning the board off in every clone, and keeps coding agents from being told to plan in tasks/ when nobody does. The user layer is what each person tidies for themselves.

A possible shape in .genbeya.yml, listing what the project does not use, so that a missing key means everything is on:

unused: [wiki, planning]

Parts are the areas of the app and a few features within them, not every button:

PartContainsNeeds
WikiThe Wiki view—
TasksThe Tasks view and the board—
PlanningPlanning fields, dependencies, plan macros (Planning)Tasks
Time logLogging effort on tasksPlanning
CodeThe Code view—
Changes, HistoryThe version control views—
TerminalThe terminal—
Pull requestsThe pull request view (Pull requests)—

A part that another needs can’t be turned off alone; the settings say what else goes with it. Pull requests reuse the diff viewer of Changes, but as a building block, so hiding Changes doesn’t hide them.

A settings page of forty switches would be bloat of its own, so the list stays this short.

  • Sidebar, palette and shortcuts: the view disappears from the sidebar and the Ctrl+K palette. Ctrl+1 … Ctrl+6 keep their views and skip hidden ones, so muscle memory survives.
  • Search leaves hidden parts out.
  • References into a hidden part still resolve and show their title: [[A page]] in a task stays a link and opens a read-only preview, not a broken link.
  • Files are never touched. Turning the wiki off doesn’t delete docs/, and turning it on again shows everything as before.
  • Agent instructions (project layer only): the generated AGENTS.md section and skill leave out what the project doesn’t use.
  • VS Code: VS Code already lets everyone hide views, so the extension only follows the project layer.
  • Existing users see everything they see today.
  • A part can switch itself on when the project clearly uses it, and stay out of the way when it doesn’t: Tasks when the task folder exists, Planning when planning fields are configured, Pull requests when pull request files exist. New users then see what their project actually has.

Hiding is a matter of the client, but what nobody shows needn’t be read: snapshots leave out tasks and pull requests that are turned off (GENBEYA-41Load only the parts of the app that are shownReview), which matters for large repositories over SSH. The wiki stays, since its tree comes from file names alone.

  • Is listing unused parts (unused:) clearer than listing used ones? The prototype lists unused ones.
  • Do the personal switches apply per repository by default, or for all repositories unless a repository overrides them? The prototype applies them to every repository unless the repository has a choice of its own.
  • Is a hidden part reachable through a reference or a shared link, read-only, or not at all? The prototype keeps it reachable.