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 browser warnings #7548

Closed

Conversation

Kapian1234
Copy link
Contributor

@Kapian1234 Kapian1234 commented Jul 29, 2024

Description

Added key props in ‘PageRender’, ‘setupHome’, and ‘HomeListCard’.

Resolved 'intl' object not found error by using i18n.translate.

Resolved the issue of duplicate 'addNavLinksToGroup' calls to prevent the "Navlink of workspace_list has already been registered in group settingsAndSetup".

Issues Resolved

#7515

Screenshot

Testing the changes

Changelog

  • fix: Resolve some browser warnings.

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

Kapian1234 and others added 2 commits July 26, 2024 16:46
Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Kapian1234 <[email protected]>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link
Contributor

❌ Changeset File Not Added Yet

Please ensure manual commit for changeset file 7548.yml under folder changelogs/fragments to complete this PR. File still missing.

1 similar comment
Copy link
Contributor

❌ Changeset File Not Added Yet

Please ensure manual commit for changeset file 7548.yml under folder changelogs/fragments to complete this PR. File still missing.

@github-actions github-actions bot added Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry and removed failed changeset labels Jul 29, 2024
@github-actions github-actions bot removed the Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry label Jul 29, 2024
Copy link

codecov bot commented Jul 29, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 49.09%. Comparing base (7ff8544) to head (0b02251).
Report is 31 commits behind head on main.

Files Patch % Lines
...ntent_management/public/components/page_render.tsx 0.00% 1 Missing ⚠️
...rc/plugins/home/public/application/home_render.tsx 0.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (7ff8544) and HEAD (0b02251). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (7ff8544) HEAD (0b02251)
Linux_3 1 0
Linux_1 1 0
Windows_2 1 0
Windows_4 1 0
Windows_1 1 0
Windows_3 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7548       +/-   ##
===========================================
- Coverage   63.97%   49.09%   -14.89%     
===========================================
  Files        3597     2440     -1157     
  Lines       78314    53500    -24814     
  Branches    12351     8923     -3428     
===========================================
- Hits        50103    26264    -23839     
- Misses      25190    25729      +539     
+ Partials     3021     1507     -1514     
Flag Coverage Δ
Linux_1 ?
Linux_2 55.58% <ø> (-0.01%) ⬇️
Linux_3 ?
Linux_4 31.57% <33.33%> (+0.04%) ⬆️
Windows_1 ?
Windows_2 ?
Windows_3 ?
Windows_4 ?

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.

Signed-off-by: Kapian1234 <[email protected]>
@Kapian1234 Kapian1234 closed this Jul 29, 2024
@Kapian1234 Kapian1234 deleted the fix_browser_warnings branch July 29, 2024 09:52
ruanyl pushed a commit that referenced this pull request Aug 7, 2024
* fix warnings

Signed-off-by: Kapian1234 <[email protected]>

* fix warnings

Signed-off-by: Kapian1234 <[email protected]>

* Changeset file for PR #7548 created/updated

* fix warnings

Signed-off-by: Kapian1234 <[email protected]>

* Changeset file for PR #7550 created/updated

* Modified the expect of addNavLinksToGroup in workspace plugin.test.js

Signed-off-by: Kapian1234 <[email protected]>

* Modified the expect of addNavLinksToGroup in workspace plugin.test.js

Signed-off-by: Kapian1234 <[email protected]>

* remove the duplicate changelogs

Signed-off-by: Kapian1234 <[email protected]>

* Renamed keys to comply with the directory the file is in

Signed-off-by: Kapian1234 <[email protected]>

---------

Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Jincheng Wan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 8, 2024
* fix warnings

Signed-off-by: Kapian1234 <[email protected]>

* fix warnings

Signed-off-by: Kapian1234 <[email protected]>

* Changeset file for PR #7548 created/updated

* fix warnings

Signed-off-by: Kapian1234 <[email protected]>

* Changeset file for PR #7550 created/updated

* Modified the expect of addNavLinksToGroup in workspace plugin.test.js

Signed-off-by: Kapian1234 <[email protected]>

* Modified the expect of addNavLinksToGroup in workspace plugin.test.js

Signed-off-by: Kapian1234 <[email protected]>

* remove the duplicate changelogs

Signed-off-by: Kapian1234 <[email protected]>

* Renamed keys to comply with the directory the file is in

Signed-off-by: Kapian1234 <[email protected]>

---------

Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Jincheng Wan <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit ca89488)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Aug 9, 2024
* fix warnings



* fix warnings



* Changeset file for PR #7548 created/updated

* fix warnings



* Changeset file for PR #7550 created/updated

* Modified the expect of addNavLinksToGroup in workspace plugin.test.js



* Modified the expect of addNavLinksToGroup in workspace plugin.test.js



* remove the duplicate changelogs



* Renamed keys to comply with the directory the file is in



---------





(cherry picked from commit ca89488)

Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Kapian1234 <[email protected]>
Signed-off-by: Jincheng Wan <[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.

1 participant