Skip to content

Improve virtual keyboard#154

Merged
jjonescz merged 12 commits into
mainfrom
android-3
Jul 2, 2026
Merged

Improve virtual keyboard#154
jjonescz merged 12 commits into
mainfrom
android-3

Conversation

@jjonescz

@jjonescz jjonescz commented Jul 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

@jjonescz jjonescz requested a review from Copilot July 2, 2026 06:00
@jjonescz jjonescz added the enhancement New feature or request label Jul 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the on-screen/virtual keyboard behavior in the Lab UI by allowing the input editor’s soft keyboard to be toggled and by forcing the output editor’s soft keyboard off, while also updating Roslyn/Razor dependencies and adding a few Roslyn accessor helpers used by formatting/cursor-sync logic.

Changes:

  • Add a UI toggle to disable/enable the input editor’s on-screen keyboard and persist the preference in local storage; always disable the output editor’s on-screen keyboard.
  • Add JS-side logic to enforce inputmode="none" on Monaco’s native edit context via a MutationObserver.
  • Update Roslyn/Razor package versions and extend Roslyn access/TreeFormatter span extraction helpers.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/WebAssembly/WebAssembly.csproj Prevents store link text/icon wrapping in the WebAssembly index footer.
src/Shared/Attributes.cs Adds new attributes for describing generic arguments/method instantiations.
src/RoslynAccess/RoslynAccessors.cs Adds helpers to retrieve syntax from bound nodes/internal symbols.
src/Compiler/TreeFormatter.cs Uses new Roslyn accessor helpers to derive spans from more object kinds.
src/App/Lab/Page.razor.js Adds setVirtualKeyboardDisabled implementation using a MutationObserver.
src/App/Lab/Page.razor Adds keyboard toggle button, persists option, disables VK on output editor init.
Directory.Packages.props Bumps Roslyn/Razor versions via updated build numbers.
.globalconfig Enables IDE0380 as a warning.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Shared/Attributes.cs
Comment thread src/Shared/Attributes.cs
Comment thread src/App/Lab/Page.razor Outdated
Copilot AI review requested due to automatic review settings July 2, 2026 06:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.

Comment thread src/WebAssembly/Program.cs
Comment thread src/App/Lab/Page.razor.js Outdated
Comment thread Directory.Packages.props
@jjonescz jjonescz merged commit e65f761 into main Jul 2, 2026
6 checks passed
@jjonescz jjonescz deleted the android-3 branch July 2, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants