Unit tests go to tests/unit/<area>/, browser smoke tests to tests/smoke/<area>/, and tests against a running desktop app to tests/native/. Files named after dates, work passes, or Kanban cards get feature names, for example editorOctober12 -> editor/footnotes. scripts/ keeps the build, release, and package tools. Plugin repositories import scripts/packagePlugin.mjs, and the Terminal smoke test imports scripts/pluginMocks.mjs, which now re-exports the harness copy. The unit tests get their own type check (tests/tsconfig.json) with Node types. pnpm check runs it after the app check. Add @types/node and fix the three test mocks that it reported.
1.1 KiB
Historical development notes: 0.1.8
Archive · Current development guide
Settings windows and pasted Markdown
Desktop Settings opens in a separate movable window for each workspace window. Repeated requests focus the existing Settings window. Closing the workspace window also closes its Settings window. Settings opened before a workspace closes when that workspace opens, so plugin context cannot remain stale.
Saved preferences synchronize across windows. The browser preview keeps the Settings dialog. The separate window has dedicated native permissions and loads only the browser settings contribution. Plugin installation still lists all installed plugins.
Live Markdown formatting refreshes when background parsing finishes after a large paste.
Run tests/smoke/editor/markdownPaste.smoke.mjs against the development server to check pasted source and rendered formatting.
Run tests/smoke/settings/window.smoke.mjs to check the Settings layout, save synchronization, and mocked native requests.
The browser checks do not test native title-bar movement or desktop clipboard behavior.