The logo at the start of the titlebar is now a button (aria-haspopup, keyboard reachable, tooltip) and a second trigger of the same menu: same component and model, only the anchor differs (`openAppMenu({ anchor: 'logo' })`). A submenu opens toward the middle of the window, else on the other side, else over the menu (`submenuLeft`, tested). A click on the logo never starts a window drag; a press that moves more than 5px does (the window's `startDragging`), so the logo still moves the window like the titlebar around it. A right-click shows the window's system menu. Clear of the macOS traffic lights: the logo sits after the titlebar's 78px inset and the menu hangs below it. The button at the end and the account menu's row stay.
|
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| tests | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
shell (internal)
Sources of waybetter/shell/*: the shell models, the Store screens, the shell frame (src/frame,
createShell) and the panel (src/panel, createPanel: the app's own tab). Published as part of
the waybetter package; not published on its own. The repository README's
"The shell frame" and "The panel" sections describe what an app supplies.
The panel is here rather than in a package of its own because it is drawn inside the frame and
shares its state: the frame's profile, deck, theme, sync and developer-mode stores, its native
bridge and its language. It imports the theme document model from ../runtime by source path;
the package build (packages/waybetter/scripts/build.mjs) points those imports at dist/runtime.
scripts/google-fonts-catalog.mjs regenerates the font browser's offline Google Fonts list
(src/panel/fonts/googleFontsCatalog.json).