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(contentManagement): expose page API to allow remove section #8624

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

ruanyl
Copy link
Member

@ruanyl ruanyl commented Oct 17, 2024

Description

  1. Add a Page API to allow remove section
  2. Removed an unnecessary <OuiSpace /> if card section title is not shown
Screen.Recording.2024-10-17.at.11.37.56.mov

Issues Resolved

Screenshot

Testing the changes

Changelog

  • feat: (contentManagement) Add a Page API to allow remove section

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

remove unnecessary space if card section title is not shown

Signed-off-by: Yulong Ruan <[email protected]>
Copy link
Contributor

❌ Empty Changelog Section

The Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section.

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 60.96%. Comparing base (5c8b2e3) to head (38d0cd2).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...nt_management/public/components/section_render.tsx 20.00% 4 Missing ⚠️
src/plugins/content_management/public/plugin.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8624      +/-   ##
==========================================
+ Coverage   60.94%   60.96%   +0.02%     
==========================================
  Files        3790     3792       +2     
  Lines       90306    90358      +52     
  Branches    14154    14170      +16     
==========================================
+ Hits        55034    55084      +50     
+ Misses      31815    31812       -3     
- Partials     3457     3462       +5     
Flag Coverage Δ
Linux_1 29.32% <0.00%> (+0.03%) ⬆️
Linux_2 56.39% <ø> (ø)
Linux_3 37.71% <37.50%> (+<0.01%) ⬆️
Linux_4 29.91% <0.00%> (-0.01%) ⬇️
Windows_1 29.36% <0.00%> (+0.05%) ⬆️
Windows_2 56.34% <ø> (ø)
Windows_3 37.72% <37.50%> (+<0.01%) ⬆️
Windows_4 29.91% <0.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.

@ruanyl ruanyl merged commit 650166d into opensearch-project:main Oct 17, 2024
71 of 72 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 17, 2024
* feat(contentManagement): expose page API to allow remove section

remove unnecessary space if card section title is not shown

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR #8624 created/updated

---------

Signed-off-by: Yulong Ruan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 650166d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan pushed a commit to amsiglan/OpenSearch-Dashboards that referenced this pull request Oct 19, 2024
…nsearch-project#8624)

* feat(contentManagement): expose page API to allow remove section

remove unnecessary space if card section title is not shown

Signed-off-by: Yulong Ruan <[email protected]>

* Changeset file for PR opensearch-project#8624 created/updated

---------

Signed-off-by: Yulong Ruan <[email protected]>
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.

3 participants