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

[Fix] Updated new polygon icon svg #1083

Merged
merged 3 commits into from
Oct 14, 2023

Conversation

willie-hung
Copy link
Contributor

@willie-hung willie-hung commented Oct 13, 2023

Description

Updated new polygon icon svg

Issues Resolved

Screenshot

Before

before_light before_dark

After

after_light after_dark

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • All tests pass
    • yarn run test-unit icon -u
    • yarn lint
    • yarn test-unit
  • Update CHANGELOG.md
  • 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.

@willie-hung willie-hung changed the title [Fix] Updated new polygon svg [Fix] Updated new polygon icon svg Oct 13, 2023
Signed-off-by: Willie Hung <[email protected]>
@willie-hung
Copy link
Contributor Author

@BSFishy I've added the blank line. Thanks!

@willie-hung
Copy link
Contributor Author

@BSFishy Just a little curious about the reason of adding a blank space. Is it for maintaining consistency with other SVG files?

@joshuarrrr joshuarrrr merged commit a90eadd into opensearch-project:main Oct 14, 2023
12 of 17 checks passed
@willie-hung willie-hung deleted the test-icon branch October 15, 2023 01:56
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 16, 2023
* Updated new polygon svg & updated related snapshots

Signed-off-by: Willie Hung <[email protected]>

* Add CHANGELOG

Signed-off-by: Willie Hung <[email protected]>

* Add blank line at the end of the polygon.svg file

Signed-off-by: Willie Hung <[email protected]>

---------

Signed-off-by: Willie Hung <[email protected]>
(cherry picked from commit a90eadd)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@joshuarrrr
Copy link
Member

@Willie-The-Lord The blank line at the end of every file is a more general convention - see https://unix.stackexchange.com/questions/18743/whats-the-point-in-adding-a-new-line-to-the-end-of-a-file . For the purpose of this project, it's mostly about ensuring clean diffs via git.

@willie-hung
Copy link
Contributor Author

@joshuarrrr Thank you for sharing!

joshuarrrr pushed a commit that referenced this pull request Oct 16, 2023
* Updated new polygon svg & updated related snapshots

Signed-off-by: Willie Hung <[email protected]>

* Add CHANGELOG

Signed-off-by: Willie Hung <[email protected]>

* Add blank line at the end of the polygon.svg file

Signed-off-by: Willie Hung <[email protected]>

---------

Signed-off-by: Willie Hung <[email protected]>
(cherry picked from commit a90eadd)
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>
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.

[BUG] Polygon. Icon bug
3 participants