Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
113e2af
help-offline: the add-in's build with the help archive gets the file'…
KubaO Nov 12, 2026
f83b0c4
Every tool's IDE fixes console-cleared-at-open in its page (IDE_FIXES…
KubaO Nov 12, 2026
1bd7bd6
Help add-in 1.2.0: a keyboard shortcut editor in Manage Keyboard Shor…
KubaO Nov 12, 2026
7e8b0ac
Help add-in 1.2.0: the keyboard shortcut editor in the IDE's own look…
KubaO Nov 12, 2026
d6f7abc
The IDE pages point to the Help Add-In where it changes what they des…
KubaO Nov 12, 2026
739d3f2
IDE pages: what an add-in adds goes in a > [!ADDIN] <title> box, grey…
KubaO Nov 12, 2026
8df4553
WIP.HelpAddin item 14: the plan for a panel layout editor in Manage P…
KubaO Nov 12, 2026
9f70e08
Help add-in 1.3.0: a panel layout editor in Manage Panel Layouts (lay…
KubaO Nov 12, 2026
53ddf3c
Help add-in 1.4.0: each panel layout keeps where the help is (layouts…
KubaO Nov 13, 2026
66a0f40
BUGS-TO-REPORT: two BETA 1042 add-in tool-window defects with lane re…
KubaO Nov 13, 2026
392221f
Wisdom: staging.md takes 38 additions from 48 threads and months: 29 …
KubaO Nov 13, 2026
ece495c
Finding: regular expressions in Quick Find (no slashes; a match spans…
KubaO Nov 13, 2026
52ac2e2
Help_LayoutHelp: the panel layout editor with the help's panel select…
KubaO Nov 13, 2026
c7f8854
Downloads: each card's buttons and Documentation link bottom-aligned …
KubaO Nov 13, 2026
43d1777
BUGS-TO-REPORT: two BETA 1042 Quick Find defects with lane reproducer…
KubaO Nov 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 184 additions & 2 deletions BUGS-TO-REPORT.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion WIP.Authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Formatting conventions:
- Code blocks use ` ```tb ` (highlighted via Shiki using the vendored `builder/twinbasic.tmLanguage.json` grammar).
- Parameter lists use the deflist `term` + `: definition` indentation pattern (NOT the MS-style markdown table).
- Set `vba_attribution: true` in the frontmatter on any page derived from VBA-Docs; omit it on fully original content (e.g. VB package pages). The flag drives an extra line in the site footer.
- An image names the dark `X.png` only, never `X.light.png`, `X.svg` or `X.light.svg`: the build pairs the two themes and shows each theme's SVG where `shoot_docs --svg` wrote one. `png` in the attribute block (`{:width="190" height="337" png}`) keeps that picture's PNG in every output. The rules are in [Authoring, A picture in both themes](docs/Documentation/Authoring.md#a-picture-in-both-themes) and the section after it.
- An image names the dark `X.png` only, never `X.light.png`, `X.svg` or `X.light.svg`: the build pairs the two themes and shows each theme's SVG where `shoot_docs --svg` wrote one. `png` in the attribute block (`{:width="190" height="337" png}`) keeps that picture's PNG in every output, and `secondary` shows it at 3/4 of its size in the column (`SECONDARY_SCALE` in `builder/render.mjs`): **an IDE page that shows a picture of the Help Add-In marks it `secondary`** (owner). **Everything an IDE page says about an add-in goes in a `> [!ADDIN] <title>` box** (owner: it does not document the product directly), after the IDE's own behaviour, linking to the section of the add-in's page that has the details ([Authoring, What an add-in adds to the IDE](docs/Documentation/Authoring.md#what-an-add-in-adds-to-the-ide)). It is grey, and a `<details open>` outside the book; the book unwraps it. The rules are in [Authoring, A picture in both themes](docs/Documentation/Authoring.md#a-picture-in-both-themes) and the section after it.

### Attribution policy

Expand Down
33 changes: 33 additions & 0 deletions WIP.Harness.md
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,12 @@ phase keep their numbers in the code: the licence and overlay before a press (`p
a crash's file name (`awaitCrashName`, 5 s), `waitForCompile`'s 5 s stand-still and 300 ms
early quiet, the two seconds a failure line is given before a build is taken as failed, and the
operation waits of the lanes and `shoot_docs`.
One compile has more than the file's limit: the `help-offline` lane's build of the help add-in,
which embeds the ~60 MB help archive, gets the file's `compile` plus 20 s (`ARCHIVE_COMPILE_MS`
in `test/addin/help.test.mjs`, through `Lane.addAddin`'s `timeout`). The archive holds the
compiler's start: on BETA 1042 that compile settled 8.0 to 9.7 s after the project opened (the
compile itself 6 ms), the add-in without it 1 to 2 s, so the 10 s limit failed the lane now and
then ("did not settle within 10 s").

### Timing each phase: `TB_TIMINGS`

Expand Down Expand Up @@ -1264,6 +1270,23 @@ main.htm" rather than reload a page that has not. A marker still
missing after that is a harness error, exit 2, since the run would have the user's settings. The hook's
connection lives as long as the process, so a `tbbuild --keep` IDE is hooked until `tbbuild` ends.

**The same script fixes defects of the IDE that would mislead every tool** (`IDE_FIXES` in
`tb-defaults.mjs`, each named by its BUGS-TO-REPORT.md entry's slug and applying that entry's
`bugs/<slug>/fix.js` in the page rather than to the install). The first is
*console-cleared-at-open*: BETA 1042 empties the DEBUG CONSOLE a second time as the first project
opens, which erased an add-in's loaded line and failed `help`, `help-offline`, `keys-help` and
`parent` on the plain install (2026-11-12; before that they were judged on a patched copy, which
every other tool reading the console at an open had no way to use). The console's list is assigned to
`debugConsoleContent`, a `var` of `main.js` with no initialiser, so the setter the script puts on
`window` stays and sees the assignment; it sets the list's `useCachedItemHeights` to `false` when the
build left it unset, which is the fix's one line. **A fix never hides its defect:** it acts only where
the build still has the defect (BETA 1034's list, or a fixed build's, has the flag set, and is left
alone), it is listed in `__tbDefaults.fixes` only when it acted, and the lane that asserts the defect
leaves it out (`unfixed`, which `launchIde` and `Lane.open`/`openNoProject` take), so `bug_repro.mjs
verify` still judges the plain build. When the entry is retired, its fix goes from `IDE_FIXES`, and the
lane's `unfixed` then throws until it goes too. `try-help-addin` (`userSettings`) has no hook, so no
fixes: it is the user's own IDE. `test/ide-folders.test.mjs` tests the fix and its controls.

## A private IDE for every lane

**The compiler loads every DLL in `<install>\addins\win32` or `\win64` as it starts.** A
Expand Down Expand Up @@ -1784,6 +1807,16 @@ probe lanes:
The probe opens nothing, so running an IDE without the variable is safe. Two IDEs in one
lane need no change to the runner, and the second takes the lane's slot once the first has
been ended.
- [test/addin/toolwindow-layouts.test.mjs](test/addin/toolwindow-layouts.test.mjs): two IDE
defects of BUGS-TO-REPORT.md, `toolwindow-show-suggested-size` and
`layout-loses-addin-toolwindow`, which the help add-in works round in `layouts.js`. Its
LayoutsProbe add-in ([test/addin/probes/layouts](test/addin/probes/layouts)) has one tool
window with a suggested size, two buttons that show and hide it, and an `OnClose` that
prints `closed` and makes the window again. The scenario makes layouts in
`customPanelLayouts`, applies them with `setActivePanelLayoutName`, resizes the floating
window with mouse events on its resize bars, and reads `toolWindowsById`. A floating window
the IDE loses stays lost through a compiler restart, so the docked case opens a second IDE.
About 35 s.

**Timing:** the thirteen lanes other than widgets (24 s alone) take about two minutes at the default two at a time
(the env lane is 16 s alone, the help lane 15 to 18 s, of which its sixteen cases are about 6 s). Typical lane costs: an add-in build about 10 s, a host IDE
Expand Down
Loading
Loading