Repository navigation
Developer tools for large business applications: server-mode grid for millions of rows, a source generator for forms and columns, undo/redo, theme files and a code editor, plus four new components.
Added
- Server mode for
OndaGrid:SetDataProvider(IOndaDataProvider<T>)shows millions of rows without loading them: pages are fetched asynchronously as you scroll, missing rows are drawn as skeletons, and the filter row, header sorting and search become queries.OndaQueryableDataProvider<T>turns them into anIQueryableexpression tree (Where / OrderBy / Skip / Take with parameterised values), so EF Core and other LINQ providers run them in the database;OndaListDataProvider<T>works on in-memory lists;OndaPageCache<T>caches pages, prefetches in the scroll direction and cancels stale requests. Error row with "Retry",DataLoading/DataLoaded/DataErrorevents and live statistics. Benchmarks intests/Onda.Benchmarks(BenchmarkDotNet). - Onda Source Generator: put
[OndaForm],[OndaField]and[OndaColumn]on a plain class and an edit form (XOndaForm.Edit) and grid/list columns (XOndaForm.Configure) are generated at compile time: no reflection, AOT- and trimming-friendly, C# 7.3 compatible output, smart defaults from property types and names, eleven diagnostics (ONDA001–ONDA011). Shipped inside theOnda.WinFormspackage as an analyzer. - Undo and redo:
OndaUndoStack(groups, merging of consecutive typing, limit, dirty tracking, history) andOndaUndo.Attach(form), which records every Onda input and makes Ctrl+Z / Ctrl+Y / Ctrl+Shift+Z work anywhere on the form, focusing and highlighting the restored field.OndaEditFormandOndaGrid(cell edits, row moves) use it;OndaAction.Undo/Redo. - Theme files:
OndaThemeTokens(both palettes, radius, font, density) with JSON import/export,OndaTheme.Export/Apply(tokens)/LoadFile/SaveFile, and WCAG contrast checks. OndaCodeEditor: a code editor drawn from scratch — SQL, JSON, C# and XML highlighting, line numbers, find/replace with Turkish-aware matching, go to line, auto-indent and bracket pairing, multi-line comment toggle, line moving, completion provider, diagnostic markers with tooltips, IME support.OndaMentionBox: comment box with@people and#record mentions shown as chips, suggestions with avatars, markup import/export and Ctrl+Enter submit.OndaStatusFlow: workflow status strip (quote → approval → shipping → invoice) with done/current/pending/skipped/failed steps, animated progress and a vertical layout for narrow spaces.OndaColorPicker: colour input with saturation/value square, hue and alpha bars, hex/RGB/HSL entry, palettes, recent colours and an eyedropper.OndaSplitButton: main action plus a drop-down menu, optionally remembering the last choice.- Demo: theme editor, undo, server mode, source generator, code editor, mention, status flow and colour picker pages.
- User guide: new "Geliştirici araçları" page (server mode, source generator, undo/redo, theme files, code editor) and sections for
OndaMentionBox,OndaColorPicker,OndaStatusFlowandOndaSplitButton. - Project health: code of conduct, security policy, issue and pull request templates; SourceLink and symbol packages (
.snupkg).
Changed
OndaPanelwithAutoScrolluses dark scrollbars in dark theme.- The dark-theme accent is lightened only as far as white text on it keeps a 4.5:1 contrast ratio.