Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Fix query editor cursor alignment by removing monaco css overrides #8913

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport f110637 from #8912.

…8912)

* Fix query editor cursor alignment by removing monaco css overrides

Monaco editor computes the cursor position internally and does not account for any css overrides
that change the position of the line (padding, margin, etc). This change removes the css override
while we implement these styles with the monaco api directly.

Signed-off-by: Daniel Rowe <[email protected]>

* Changeset file for PR #8912 created/updated

* fix linting

Signed-off-by: Daniel Rowe <[email protected]>

---------

Signed-off-by: Daniel Rowe <[email protected]>
Signed-off-by: Daniel Rowe <[email protected]>
Co-authored-by: Daniel Rowe <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit f110637)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.91%. Comparing base (56b8b19) to head (02dc61b).

Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #8913   +/-   ##
=======================================
  Coverage   60.90%   60.91%           
=======================================
  Files        3801     3801           
  Lines       91039    91039           
  Branches    14358    14358           
=======================================
+ Hits        55450    55454    +4     
+ Misses      32064    32061    -3     
+ Partials     3525     3524    -1     
Flag Coverage Δ
Linux_1 29.03% <ø> (ø)
Linux_2 56.53% <ø> (ø)
Linux_3 37.83% <ø> (+<0.01%) ⬆️
Linux_4 30.00% <ø> (ø)
Windows_1 29.05% <ø> (ø)
Windows_2 56.48% <ø> (ø)
Windows_3 37.83% <ø> (ø)
Windows_4 30.00% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@kavilla kavilla added discover for discover reinvent discover-next labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports discover for discover reinvent discover-next failed changeset repeat-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants