Keep main29b17a6f and the verified window-owned filter popup correction.
Resolve the parity document by retaining both histories and behaviors.
All eight feature/correction source and test blobs match local9fbd95e0.
Three fresh exact-medium integration reviews report no actionable defects.
Fresh engine IT101/lib653,filter19,popup6,keyboard12,function-library10,
file-menu20,native12 and strict engine/UI Clippy,fmt,assets,layers,WASM,
keytips/parity pass on frozen tree2b4f5b44 with unchanged lockfile.
Required local CI still stops only on main's unchanged Windows CLI
only_used_in_recursion lint at check.rs281. New-head hosted CI remains
required; no live OS/hardware/counterpart verification is claimed.
Preserve main69177881 and both parity histories. Move the filter popup's
pending checkbox, search and button state into existing per-window
GridState so another window's column switch cannot delete those edits.
Existing popup-close and window lifecycle own the cache lifetime.
Grok's R5 finding was independently reproduced: the same real UI test
passes exact main production, fails the reviewed candidate, and passes
the correction. Opus and Sol no-findings do not override that proof.
No extra delegate for this small finding. Fresh before/after renders
retain the search and unchecked choice without applying a filter.
19 filter,6 popup,12 keyboard,12 native and20 file-menu tests pass, plus
strict UI Clippy,fmt,assets,layers,WASM,keytips/parity. Engine96/lib646
and engine Clippy source/graph are unchanged from their passing run.
Required local CI still stops only on main's Windows CLI check.rs281
recursion lint; later aggregate steps skip. Hosted new-head CI required.
A formula calling a Google-only function (GOOGLETRANSLATE, QUERY,
ARRAYFORMULA...) opened as #NAME? where the wrapper had shown the cached
value, as Excel does. The XLSX reader now unwraps a cell formula only when
every function inside is known: read_xlsx_with takes the predicate (the
xlsx crate can't depend on the function library) and the engine passes
gridcraft_calc::is_known_function. Unwrapping stays in the reader so shared
formulas are shifted from the unwrapped master.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The default still reads a string with typed input, which is en-US: "05.04.2026"
from a dd.mm.yyyy export became 4 May, "2.500" became 2.5, and the command said
nothing (#2255). `parse: false` (PR #2267) lets a caller keep the text, but a
script that does not pass it still cannot notice the change.
The result now names them: `converted` lists the strings typed input read as a
number (dates and times included), a boolean or an error, with the cell, the
input and what the cell shows, and `convertedCount` is the total. It is capped
at 20 entries and 32 characters per string, so a big write does not put a second
copy of its data in the result. A string written as a formula (`=1+1`) and a
leading apostrophe are not conversions. `cells` and the default reading of the
values are unchanged.
Two `parse: false` fixes from the review of #2267:
- An empty string clears the cell, as `null` and the default path do. Storing an
empty text cell left a cell that is not blank: `values: [["", ""]]` gave
COUNTA 2 and ISBLANK FALSE.
- MCP `write_range` takes `parse`, so an agent can opt out too; the tool's
description and docs/mcp.md say so.
Tests: the issue's examples under both settings, the report and its cap, the
empty string, and an XLSX save/reopen that keeps the text as text and the
default's date as a date.
formulas.recentlyUsed scanned the session journal for cell.set inputs.
It missed formulas entered by range.* commands, lost them when the
journal dropped its oldest entries (a large file open or a long script
is enough), and started empty in every session. The Function Library's
Recently Used menu and the Insert Function dialog list what it returns.
- Prefs::recent_functions (a new engine module, recent.rs) holds the
ten functions most recently entered in a formula, newest first.
Session::execute updates it for every cell.* and range.* command it
journals, from any source (the interface, the control channel, MCP or
a script). It reads at most 2,000 of the formulas a command enters,
starting from the last one; formulas longer than Excel's limit are
skipped. formulas.recentlyUsed
returns it. It never reads the journal back, so the journal's caps do
not affect it.
- The list is kept with the other engine preferences (prefs.json, the
browser's storage on the web), so it survives a restart as Excel's
does. It is read leniently: a malformed value loses only this list. A
fresh install starts from common functions.
The Insert Function dialog is titled "Insert Function", as in Excel (it
said "Formula Builder"), and gains a working category list: Most
Recently Used, All, then each category in Excel's order. A category may
be given by label or by engine id, so a Function Library menu or the
control channel (ui.dialog.set) opens it on one, and a new search
switches to All. The dialog keeps its translated labels and its search
in the interface language. Each row shows the function's name and its
category in two columns; the category column starts after the widest
name shown, so a long name in any font or formula language stays clear
of it. A function counts as recently used once its formula is entered,
not when OK is pressed. The unused "Formula Builder" translations are
removed.
Tests: engine unit tests for reading functions from formulas (strings,
unknown names, over-long and malformed formulas), the formulas a
command enters (newest first, within the budget), the ten-name list
and the lenient read of prefs.json; tests/it/recently_used.rs for
cell.set and range.setValues from the session, a failed command, a
cleared journal and a save and reload of the preferences. UI tests for
the menu's order and the dialog's title, categories, engine-id
category, search and OK, and for the category column with a wide font.
A sheet's view is not an undo step: Excel doesn't undo a switch between
Normal, Page Layout and Page Break Preview, and view.normal,
view.pageLayout and view.pageBreakPreview are noundo here. But undo and
redo swap in a whole snapshot of the workbook, so undoing an earlier edit
put back the view the sheet had then: set A1, switch to Page Break
Preview, undo, and the sheet was in Normal again (redo switched it back).
Undo and redo now keep each sheet's current view (extra::keep_view_modes),
as they already keep the Watch Window list, carrying it through each step
of a multi-step undo or redo. Sheets are matched by name; while a rename
is undone or redone, by position under the name the restored snapshot
doesn't have. A view kept this way doesn't make a saved
workbook dirty, as set_view doesn't.
Tests: undo and redo with each view, undoing a rename and a new sheet, a
rename and a new sheet undone and redone with steps: 2, and redo back to
the saved state staying clean. Each fails without the change (the view
reverted to Normal).
Merge release main while preserving its formula/function/print fixes, workspace version and packaging. Retain reviewed feature behavior and source pins. All three requested exact medium reviews adjudicated; small accepted findings independently reproduced, fixed and verified directly.
Validation: current production integration and collateral library/UI tests, inspected render, strict scoped Clippy, formatting, WASM and repository gates pass. Required local aggregate CI stops only on the source-identical Windows CLI recursion lint; new-head hosted CI remains pending. See the PR verification for precise counts and limits.
A checkbox cell drew a box on screen but printed and exported to PDF
its value as TRUE or FALSE. The print path now draws the box as the
grid does: white with a grey outline when unchecked, green with a
white tick when checked. Other values in a checkbox cell still print
as text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge main75f7056e, retain all incoming features, pins and contributor data, resolve parity summary/history conflicts and document Apply preservation. Filter implementation and regressions remain unchanged from the published head.
Validation: engine95, full Windows engine lib638, filterUI16 and overlapping popup6 pass; production dropdown render inspected. Strict scoped Clippy, fmt, WASM11 and repository gates pass. Three exact medium reviews adjudicated with no code findings; one documentation clause clarified. Required aggregate CI stops only on source-identical main Windows CLI recursion lint. New-head hosted CI pending.
Found while testing crates/engine/src/fill.rs:595-599
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge main2ff75179 while retaining incoming macro overlays and parity descriptions. Fix reviewed Apply/Enter state loss by merging eligible edits into the full column selection, preserving hidden selected/excluded values and blanks. Add real table/range popup regressions.
Validation: engine92, filterUI16 and6 overlapping popup tests pass;24 new preservation cases cover edited/no-op Enter/Apply. Strict scoped Clippy/fmt/assets/layers/WASM/keytips/parity/doctest checks and inspected render pass. Three exact medium reviews adjudicated; accepted finding reproduced and fixed directly. Aggregate local CI retains only source-identical Windows baseline errors; hosted new-head CI pending.
Port the shared criterion evaluator and lazy dropdown initialization into the extracted modules. Preserve representable criteria written by existing slicers even when their column lies outside the sheet filter columns, retaining checked addition.
Validation: Engine92 including the RED/GREEN slicer regression; cascading UI case and render passed.
Scoped engine/UI Clippy, formatting, assets, layers, WASM, keytips, parity and workspace doctests pass. Three independent requested medium reviews are adjudicated.
Aggregate CI was run; the remaining Windows CLI recursion lint and Unix-only engine test are byte-identical to current main. Hosted CI remains required. No installs, dependency upgrades or contributor-credit edits.
Brings in the macro interface: the Macros dialog and editor, the
Automate ribbon section, drag-and-drop of macro steps, and the
macro overlay on the grid. Ported into the split module layout on main.
Clippy gate: moved wildcard imports to explicit lists, named the
test edit tables, boxed the overlay layer tuple, switched the editor
to craft_ui::ComboBox per clippy.toml, and simplified an is_some_and
in the LP solver.
`save_fails_upfront_when_the_temp_name_is_taken` calls
`std::os::unix::fs::symlink` but was only gated on non-wasm, so the
engine crate's lib tests did not compile on Windows. Gate it `cfg(unix)`
like the neighbouring permissions test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>