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

Add autocommit styles to ace overrides #5327

Merged

Conversation

joshuarrrr
Copy link
Member

@joshuarrrr joshuarrrr commented Oct 19, 2023

Description

To help with dark mode theming. Also consolidated some color definitions to reusable vars.

Issues Resolved

Fixes #5233

Changelog

  • skip

Screenshot

First the existing behavior (on playground), then the fixed behavior (local)

Screen.Recording.2023-10-18.at.5.02.37.PM.mov

Testing the changes

See video above - from dev tools console, trigger autocompletion, and then see both keyboard and mouse based hover states. Also make syntax error and check the tooltip when hovering over the red X.

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
@joshuarrrr
Copy link
Member Author

@kgcreative Please review the video above. I think everything looks decent, except for the mouseover hover state, which is distinct from the keyboard-selected line.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.78%. Comparing base (d2d410b) to head (a62dc44).
Report is 34 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5327       +/-   ##
===========================================
+ Coverage   32.93%   67.78%   +34.85%     
===========================================
  Files        2260     3410     +1150     
  Lines       45769    66741    +20972     
  Branches     7200    10860     +3660     
===========================================
+ Hits        15075    45242    +30167     
+ Misses      29984    18856    -11128     
- Partials      710     2643     +1933     
Flag Coverage Δ
Linux_1 33.18% <ø> (+0.25%) ⬆️
Linux_2 55.63% <ø> (?)
Linux_3 45.23% <ø> (?)
Linux_4 34.91% <ø> (?)
Windows_1 33.21% <ø> (?)
Windows_2 55.59% <ø> (?)
Windows_3 45.24% <ø> (?)
Windows_4 34.91% <ø> (?)

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.

@kgcreative
Copy link
Member

@joshuarrrr -- let's go ahead and make the mouse hover match keyboard focus. I think it's ok if keyboard focus + hover match each other.

AMoo-Miki
AMoo-Miki previously approved these changes Dec 21, 2023
kavilla
kavilla previously approved these changes Jan 3, 2024
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@kavilla kavilla dismissed stale reviews from AMoo-Miki and themself via 394d91f April 8, 2024 08:51
@kavilla
Copy link
Member

kavilla commented Apr 8, 2024

@AMoo-Miki you approved this. I had to handle the conflict but if the CI passes would you be willing to approve again?

kavilla
kavilla previously approved these changes Apr 8, 2024
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla
kavilla previously approved these changes Apr 21, 2024
@github-actions github-actions bot added the Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry label Apr 21, 2024
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@ashwin-pc ashwin-pc merged commit 460428c into opensearch-project:main Apr 27, 2024
67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 27, 2024
* Add autocommit styles to ace overrides

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* ran yarn run lint:style --fix

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit 460428c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
kavilla pushed a commit that referenced this pull request Apr 30, 2024
* Add autocommit styles to ace overrides

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* ran yarn run lint:style --fix

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit 460428c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
LDrago27 pushed a commit to LDrago27/OpenSearch-Dashboards that referenced this pull request Jun 3, 2024
* Add autocommit styles to ace overrides

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* update changelog

Signed-off-by: Josh Romero <rmerqg@amazon.com>

* ran yarn run lint:style --fix

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>

---------

Signed-off-by: Josh Romero <rmerqg@amazon.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x distinguished-contributor Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Dark Mode in Console hard to read
5 participants