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

[Look&Feel] Fit and Finishes Changes for Security Analytics #1147

Merged
merged 10 commits into from
Sep 9, 2024

Conversation

danieldong51
Copy link
Contributor

@danieldong51 danieldong51 commented Sep 6, 2024

Description

This PR applies the following fit and finish changes to the Security Analytics plugin:

  1. Semantic Header Sizes:
    a. H1: For page header (handled centrally) or page titles without a page header (these shouldn’t exist)
    b. H2: For headings immediately under H1s, Modal and Flyout titles, top level Panel titles
    c. H3: For headings immediately below H2s
  2. Text Sizes: Using EuiText size="s"
  3. Context Menus: Using small context menus
  4. Tabs: Using small tabs
  5. Panels: Maintaining margin sizes

Screenshots

Page Before After
Getting Started 0 Getting Started Before 0 Getting Started Post
Overview 1 Overview Before 1 Overview Post
Findings 2 Findings Before 2 Findings Post
Security Alerts 3 Security Alerts Before 3 Security Alerts Post
Threat Intelligence 4 Threat Before 4 Threat Post
Threat Intelligence: Create 5 Threat Add Before 5 Threat Add Post
Detectors: Create 7 Detectors Create Before 7 Detectors Create Post
Detectors: Rule 8 Detector Rule Create Before 8 Detector Rule Create Post
Correlation Rule: Create 9 Correlation Create Before 9 Correlation Create Post

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.85%. Comparing base (6439704) to head (8e05f32).
Report is 31 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1147      +/-   ##
==========================================
- Coverage   31.76%   27.85%   -3.92%     
==========================================
  Files         162      194      +32     
  Lines        5509     7349    +1840     
  Branches     1027     1409     +382     
==========================================
+ Hits         1750     2047     +297     
- Misses       3552     5081    +1529     
- Partials      207      221      +14     

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

Copy link
Contributor

@AMoo-Miki AMoo-Miki left a comment

Choose a reason for hiding this comment

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

Thanks Dan; looks good.

Unrelated to your PR: i find it concerning that there seems to be no use of i18n in this plugin.

@amsiglan
Copy link
Collaborator

amsiglan commented Sep 7, 2024

Thanks Dan; looks good.

Unrelated to your PR: i find it concerning that there seems to be no use of i18n in this plugin.

I have it in my backlog to complete this

Copy link
Collaborator

@amsiglan amsiglan left a comment

Choose a reason for hiding this comment

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

Cypress tests need to be updated after these changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
@amsiglan amsiglan merged commit cdd0f46 into opensearch-project:main Sep 9, 2024
6 of 8 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 9, 2024
* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Snapshot Tests

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Snapshot Updates

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Content Panel update

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Content Panel update

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Release Notes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* update tests

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Co-authored-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
(cherry picked from commit cdd0f46)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 9, 2024
* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Snapshot Tests

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Changes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Snapshot Updates

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Content Panel update

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Fit and Finish Content Panel update

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* Release Notes

Signed-off-by: Dan Dong <danieldong51@gmail.com>

* update tests

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Co-authored-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
(cherry picked from commit cdd0f46)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan added a commit that referenced this pull request Sep 9, 2024
…1156)

* Fit and Finish Changes



* Fit and Finish Changes



* Fit and Finish Snapshot Tests



* Fit and Finish Changes



* Fit and Finish Changes



* Fit and Finish Snapshot Updates



* Fit and Finish Content Panel update



* Fit and Finish Content Panel update



* Release Notes



* update tests



---------




(cherry picked from commit cdd0f46)

Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
amsiglan added a commit that referenced this pull request Sep 10, 2024
…1155)

* Fit and Finish Changes



* Fit and Finish Changes



* Fit and Finish Snapshot Tests



* Fit and Finish Changes



* Fit and Finish Changes



* Fit and Finish Snapshot Updates



* Fit and Finish Content Panel update



* Fit and Finish Content Panel update



* Release Notes



* update tests



---------




(cherry picked from commit cdd0f46)

Signed-off-by: Dan Dong <danieldong51@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants