stricklandrbls opened a new pull request, #1647: URL: https://github.com/apache/daffodil-vscode/pull/1647
Closes #[issue] ## Description - Implemented a _Message Registry_ which provides type-safe message content inspection for messages sent between the data editor, dfdl extension, and the Svelte UI. - Restructured some legacy Svelte stores into Svelte v5 runes. - Resolved issues related to message content mismathcing and message content being processed by multiple data editors when the message was intended for a single data editor instance. ## Wiki - [x] I have determined that no documentation updates are needed for these changes - [ ] I have added the following documentation for these changes ## Review Instructions including Screenshots #### Developer Perspective Reviews 1. In any portion of the data editor's extension source, verify that message content is appropriately inspected and the VSCode intellisense engine emits correct types when invoking `this.panel.postMessage(...)`. <details><summary><b>Screenshots ( dataEditorClient.ts -> 'fileInfo')</b></summary> <img width="759" height="125" alt="image" src="https://github.com/user-attachments/assets/cbf6e919-8854-4a22-9410-3c8e6de454d6" /> <img width="625" height="72" alt="image" src="https://github.com/user-attachments/assets/b27d68f9-5795-4643-bb3b-a5ace391d88c" /> </details> 2. In any portion of the data editor's Svelte UI source, verify that message content is appropriately inspected and the VSCode intellisense engine emits correct types when invoking `addListener(...)`. <details><summary><b>Screenshots ( DataEditorLineFeed.svelte -> 'viewportRefresh')</b></summary> <img width="738" height="242" alt="image" src="https://github.com/user-attachments/assets/db74889f-66e0-4b2a-9432-82b8f1fab6fd" /> </details> 3. In any portion of the data editor's Svelte UI source, verify that message content is appropriately inspected and the VSCode intellisense engine emits correct types when invoking `vscode.postMessage(...)`. <details><summary><b>Screenshots ( App.svelte -> 'requestEditedData')</b></summary> <img width="709" height="212" alt="image" src="https://github.com/user-attachments/assets/c7845259-618a-4bcf-b6a9-4cbae2d2bb37" /> </details> --- #### Functionality Review Verify that all message traffic behaves as expected. Message content can be identified within the _./src/ext_types/message.ts_ & _./src/ext_types/messageContent.ts_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
