You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task 1: Monaco Editor Upgrade: From 0.17.0 to 0.52.0
Current Limitations & Future Benefits
The current Monaco Editor version 0.17.0 has several limitations that impact the development experience and functionality in OpenSearch Dashboards:
Limited Suggestion Control: The current version offers minimal control over code suggestions, with only basic options like enabling/disabling word-based suggestions.
Outdated UI Components: The suggestion widget and other UI elements use older styling approaches that are difficult to customize.
Inflexible API: The completion provider API lacks context-awareness and granular control options.
Outdated Icon System: Uses an image-based sprite system instead of modern font-based icons.
Upgrading to version 0.52.0 will bring significant improvements:
Enhanced Inline Completions: Granular word-based suggestions with options for current document, matching documents, or all documents.
Improved Suggestion Widget: Preview functionality, better handling of deprecated items, and forward stability for consistent suggestions.
Modern API: Provider prioritization with yieldsToGroupIds, better context-awareness, and more control over suggestion behavior.
Modern UI Components: Codicon font-based icon system and improved theming capabilities.
Technical Challenges
The upgrade process involves several significant technical challenges:
Breaking API Changes: The Monaco Editor API has undergone substantial changes between versions.
Modern JavaScript Features: Newer Monaco versions use modern JavaScript syntax (optional chaining, static blocks, nullish coalescing) that may require additional transpilation.
Module System Changes: Differences in how modules are imported and exported between versions.
Worker Implementation Changes: Updates to how web workers are configured and used.
UI Component Structure Changes: The DOM structure of components like the suggestion widget has been redesigned.
The text was updated successfully, but these errors were encountered:
ananzh
changed the title
[Meta][Autocomplete Improvement]
[Meta][Autocomplete Improvement] Major tracker for autocomplete improvement issues and tasks
Mar 20, 2025
Infrastructure and foundation
Task 1: Monaco Editor Upgrade: From 0.17.0 to 0.52.0
Current Limitations & Future Benefits
The current Monaco Editor version 0.17.0 has several limitations that impact the development experience and functionality in OpenSearch Dashboards:
Upgrading to version 0.52.0 will bring significant improvements:
Technical Challenges
The upgrade process involves several significant technical challenges:
Sub Tasks
monaco-editor
from 0.17.0 to 0.30.1 #9497Task 2: Refactor Automplete Providers
The text was updated successfully, but these errors were encountered: