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

feat: address styling of non-primary buttons by making secondary/empty #7211

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

virajsanghvi
Copy link
Collaborator

@virajsanghvi virajsanghvi commented Jul 9, 2024

Description

Fixes buttons that have primary styling but are actually secondary buttons or just links by changing them to secondary or empty buttons, respectively.

To address, I searched for all filled buttons and those with hrefs, to identify candidates to change. I identified two additional to the three previously identified by design.

Issues Resolved

N/A

Screenshot

Item Before After
Discover Open Flyout (ignore content) image image
Dashboard Embed Code image image
Dashboard Permalinks image image
Dashboard controls visual image image
Visualize Control Builder image image

fyi @lauralexis

Testing the changes

Validated ui changes above

Changelog

  • feat: Address styling of non-primary buttons by making secondary/empty

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

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.55%. Comparing base (87627af) to head (bb3f784).
Report is 339 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7211   +/-   ##
=======================================
  Coverage   67.55%   67.55%           
=======================================
  Files        3469     3469           
  Lines       68479    68479           
  Branches    11130    11130           
=======================================
  Hits        46264    46264           
  Misses      19512    19512           
  Partials     2703     2703           
Flag Coverage Δ
Linux_1 33.13% <ø> (ø)
Linux_2 55.26% <ø> (ø)
Linux_3 45.31% <ø> (+0.01%) ⬆️
Linux_4 34.71% <ø> (ø)
Windows_1 33.15% <ø> (ø)
Windows_2 55.21% <ø> (ø)
Windows_3 45.32% <ø> (ø)
Windows_4 34.71% <ø> (ø)

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.

Copy link
Member

@zhongnansu zhongnansu left a comment

Choose a reason for hiding this comment

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

lgtm

@virajsanghvi virajsanghvi merged commit f7ecefb into opensearch-project:main Jul 10, 2024
79 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 10, 2024
#7211)

* feat: address styling of non-primary buttons by making secondary/empty

---------

Signed-off-by: Viraj Sanghvi <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit f7ecefb)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
virajsanghvi pushed a commit that referenced this pull request Jul 11, 2024
#7211) (#7217)

* feat: address styling of non-primary buttons by making secondary/empty

---------



(cherry picked from commit f7ecefb)

Signed-off-by: Viraj Sanghvi <[email protected]>
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: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[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.

4 participants