Phase-1 follow-up: Avalonia interlinear editor (Words Analyses)#965
Draft
johnml1135 wants to merge 2 commits into
Draft
Phase-1 follow-up: Avalonia interlinear editor (Words Analyses)#965johnml1135 wants to merge 2 commits into
johnml1135 wants to merge 2 commits into
Conversation
|
commit 3c5893ee37: |
17bd535 to
5120ef6
Compare
First of a four-PR stack landing Phase 1 of the FieldWorks WinForms-to-Avalonia migration. Every Avalonia surface is gated behind the UIMode setting, which DEFAULTS TO "Legacy" (Src/Common/FwUtils/Properties/Settings.Designer.cs), so default users see no behavioral change. Contents: - The Avalonia migration framework: region/composer (FullEntryRegionComposer), the typed view-definition IR compiled from XML layouts, owned dense controls, the seam contracts, and the region-editor plugin registry. - The base detail-editor surfaces active under UIMode=New: lexiconEdit, lexiconEditPopup, notebookEdit, posEdit. - The Avalonia browse table (LexicalBrowseView, LexicalBrowseHostControl, BulkEditBarView, ClerkBrowse*) and its RecordBrowseView product wiring, shipped DORMANT (fused to base wiring; activated by the table follow-up PR). - Migration skills/playbook (incl. the inert-surface activation recipe), the two-phase plan, and the openspec change specs. - Back-out of four cleanly-removable unwired Avalonia dialogs (SpecialCharacter, WritingSystemProperties, DeleteConfirmation, LexReferenceDetails); nine woven-in dialogs ride inert behind UIMode=New. The interlinear and rule-formula detail editors are carved out to their own stacked follow-up PRs; the inert tool lists are LexicalEditSurfaceRegistry.Phase1FollowUpSurfaceTools and LexicalEditSurfaceResolver.Phase1FollowUpBrowseTools. The per-screen migration docs (the JIRA-ticket basis) live on the separate never-merged phase1-docs branch. Phase 2 (avalonia-end-game: net multiplatform + shell conversion + WinForms removal) is planned only and gated on Phase 1 + tester burn-down. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Restore the interlinear surface on top of phase1-base and activate it: - add back the 11 interlinear files (InterlinearRegionEditor + analysis model + projector/write-back + plugin + their tests, incl. the FwAvalonia model and Visual tests) - restore the InterlinearSlicePlugin registration in RegionEditorPlugins - restore the interlinear class name + resolve assertion in the burn-down census - FLIP: move "Analyses" from Phase1FollowUpSurfaceTools into DefaultSupportedTools so the Words Analyses detail editor resolves to Avalonia under UIMode=New - add the "Analyses" TestCase back to RegisteredRecordEditTools_ResolveToAvalonia The browse "Analyses" list pane stays inert (table follow-up territory). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
5120ef6 to
3c5893e
Compare
e9cdaa0 to
c37eb02
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase-1 follow-up: Avalonia interlinear editor (Words → Analyses)
Stacked on #964 (base). Restores and activates the native Avalonia interlinear editor for the Words → Analyses morph-bundle detail pane.
InterlinearSlicePlugin, tests).RegionEditorPluginsand the burn-down census entry."Analyses"fromPhase1FollowUpSurfaceToolsintoDefaultSupportedTools, so the editor resolves to Avalonia underUIMode=New(default still Legacy).Verification: build green; census +
RegisteredRecordEditTools("Analyses")+ interlinear suites 20/20. Review after the base PR.This change is