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.
The prototype
Section titled “The prototype”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,pullsandterminal. 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
partsin 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+6keep 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
unusedmeans; 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 insrc/client/app/core/parts.ts.
Left for later:
- Plan macros in VS Code’s preview follow the project layer only.
Two layers
Section titled “Two layers”Turning a part off means two different things, so there are two layers:
| Layer | Stored in | Means |
|---|---|---|
| The project uses | .genbeya.yml | The 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 show | Personal preferences, per repository, with a default for all repositories | I 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:
| Part | Contains | Needs |
|---|---|---|
| Wiki | The Wiki view | — |
| Tasks | The Tasks view and the board | — |
| Planning | Planning fields, dependencies, plan macros (Planning) | Tasks |
| Time log | Logging effort on tasks | Planning |
| Code | The Code view | — |
| Changes, History | The version control views | — |
| Terminal | The terminal | — |
| Pull requests | The 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.
What turning a part off does
Section titled “What turning a part off does”- Sidebar, palette and shortcuts: the view disappears from the sidebar and the
Ctrl+Kpalette.Ctrl+1…Ctrl+6keep 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.mdsection 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.
Defaults
Section titled “Defaults”- 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.
Loading only what is shown
Section titled “Loading only what is shown”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.
Open questions
Section titled “Open questions”- 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.