* Searchable validation dropdown lists
* double dropdown bug solved
* performance improvements for dropdown list filtering
* docstrings and documentation added
* precisions regarding accented characters for dropdown list search
* Latin extended characters added to accent list in dropdown list search
* formula bar check button handled as enter for highlighted entry
* capping list at 10,000 entries
* Bound the searched validation list's source work
A searched list (data.validationList, and the edit that typing into a list
cell opens) read its whole source first: a whole-column list evaluated every
cell into an array and folded each entry, so a search with few or no matches
could still stall the UI. The search now reads at most LIST_SOURCE_BUDGET
(200,000) cells of the source: a range is walked cell by cell instead of
evaluated, a computed source gets the budget as its formula work, and
`truncated` reports when the source was cut short. The popup says when
entries aren't shown. The validation membership check still reads the
whole list.
* Bound the dropdown arrow's validation list
The full list that the dropdown arrow or Alt+Down opens called list_items
every frame while it was open and drew a button for every entry, so a list
over a huge column reread its source and laid out all of it on each repaint.
It now reads the list once with list_search_source (within
LIST_SOURCE_BUDGET), keeps it while the popup stays open on the same cell of
the same workbook version, and draws only the rows in view, saying when
entries aren't shown. Rows are measured at their real button height, so the
popup shows the eight rows it was meant to (it showed six).
* Dropdown list fixes
1. Row height: the search popup now measures its rows at the real button height, through a helper shared with the arrow picker. It shows eight rows, the highlight stays in view and the end of a long list is reachable.
2. Duplicate call: the second e.update_list() in control.rs is gone.
3. Stale cache: list_picker_items is cleared wherever list_picker is cleared for an edit (start_edit and the editor branch of list_picker).
4. Translation: "More entries not shown" is one constant and goes through lang.tr(...) in both popups. I did not add catalog entries, so it still shows in English in every language until translations are written.
5. Flip above: the search popup opens above the cell when it would run past the bottom of the window, using the same rule as the arrow picker.
6. Width: the popup width is measured once per search and cached in ListSearch::text_width; update_list resets it.
* Validation lists: fixed-height rows, translated cut-short note
The rows of both validation list popups are drawn in slots of exactly the
height the popup scrolls by. A button sizes itself to its laid-out text,
which can be a pixel taller than the font's nominal line height, so the
last visible row ran under the "More entries not shown" note with the
pinned test fonts (the CI gate failure).
The note is translated in all 18 interface catalogs, with a test that no
catalog falls back to English.
The validation-list UI tests move into the shared integration binary and
use the pinned font harness, so they no longer depend on host fonts.
* Validation list note: use each catalog's word for list items
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: skylartaylor <skylartaylor@users.noreply.github.com>
* Find and Replace: Undo and Redo reach the sheet while the dialog is open
Ctrl+Z after Replace All did nothing until the dialog was closed: the open
dialog kept the keyboard from the grid. The dialog now undoes and redoes
the workbook itself unless a text box has focus (there the shortcuts edit
the typed text).
* Find and Replace: Undo and Redo use the sheet's shortcut table
The dialog passed hard-coded keys to edit.undo and edit.redo. It now hands
Cmd/Ctrl+Z, Cmd/Ctrl+Shift+Z and Cmd/Ctrl+Y to ribbon::shortcut, the table
the grid uses, so the dialog and the sheet keep the same bindings. The test
also covers the Mac Redo shortcut (Cmd+Shift+Z).
* fix(find): allow workbook undo when a dialog button has focus
Reserve Undo/Redo for text editing only while a text edit has focus. The regression reproduces the failure with keyboard focus on Replace All, checks both Redo shortcuts, and verifies text-field Undo leaves the sheet unchanged. Regression failed before the fix and passes now. Validation: 1143 UI integration tests pass; only existing missing-glyph failures U+1E9E and U+1EBB remain. WASM, assets, layers and generators pass. Full CI reaches the unchanged Windows CLI clippy::only_used_in_recursion failure in apps/gridcraft-cli/src/check.rs.
* fix(find): block workbook shortcuts behind a modal message
Check app.message before dispatching workbook Undo/Redo. Regression uses an empty Replace All search to open the real error, covers all three shortcuts, and checks Redo after dismissal. Extend text-focus coverage to type and undo actual text. Modal regression fails before the guard and passes after it. Validation: 1144 integration tests pass; two existing missing-glyph failures remain. WASM, assets and layers pass. Full CI still stops at the unchanged Windows CLI clippy::only_used_in_recursion warning.
---------
Co-authored-by: Maciej Malinowski <231036771+webglobecontact-ui@users.noreply.github.com>
* Keyboard: punctuation shortcuts follow the character the layout types (#1384)
On a Croatian or German keyboard Shift+, types `;`, so Excel inserts the
date with Ctrl+Shift+,. GridCraft matched the key's US position and ran
Decrease Font Size. Punctuation keys now go by the character typed
(translated to the US key and Shift that type it), digits keep their
position, and a character egui has no key for (č, ö) still falls back to
the position. ribbon::shortcut reads the same key, so Ctrl+Shift+0
typing `=` unhides columns instead of opening Insert, and Ctrl++ opens it.
* Keyboard: Cmd+Shift+; on a Mac doesn't insert today's date (review)
ribbon::shortcut's Semicolon arm took Shift too, so the US-key mapping turned Cmd+Shift+; (and
Cmd+Shift+. on a Croatian or German layout) into the date. Ctrl+Shift+; stays the time.
* Keyboard: tests for AZERTY and Czech, and for typing while a cell is edited (#1384)
French AZERTY (`;` and `:` unshifted on the US `,` and `.` keys) and Czech (`;` on the US
backtick key, `:` Shift+.) give the date and the time with Ctrl. The layout mapping runs only
in the grid, which reads no shortcuts while a cell is edited; a test pins that: `;` and `:` typed
as Shift+, and Shift+. on a Croatian or German keyboard go into the cell, and the font size stays.
* Sort: Custom Sort dialog redesign
* Sort: keep the dialog on its worksheet and open when sorting fails
* Improve custom sort dialog and localisation
Localise sort controls and adapt their layout to translations. Track worksheets by identity, restore selections across sheet changes, and allow additional levels to reuse columns.
* Fix sort dialog worksheet and input handling
Open Sort on the requested worksheet, reject invalid ranges, and close any open filter menu so Enter confirms the sort. Add regression tests for each case.
Keep main's imported-range clamp when combining row filtering with the
shared matcher, and carry that bound into statistics and dropdown choices.
Retain the duplicate-color and per-window pending-state corrections.
Add a last-row regression for Top 1 and Above Average, without trimming
the stored workbook. Main's version, dependencies and CI stay unchanged.
Keep a duplicate value checked when any eligible row matches the current
criterion. Stop processing outgoing popup state when a form button switches
the active window during grid interaction.
Add regressions for fill/font color duplicates, other-column exclusion,
unchanged Apply, and a real button press preserving another window's search
and checkbox edits.
Preserve main's Arabic filter ordering and sheet geometry/format caches
alongside cascading eligibility, criterion-based checkbox state and
per-window pending popup edits. Keep upstream dependency and CI choices.
Resolve the parity document's summary and history insertions by retaining
main's updated wording and all three AutoFilter history entries.