Skip to content

ROX-33689: Rewrite Docs container files in TypeScript#19528

Open
pedrottimark wants to merge 1 commit intomasterfrom
ROX-33689-Docs-TypeScript
Open

ROX-33689: Rewrite Docs container files in TypeScript#19528
pedrottimark wants to merge 1 commit intomasterfrom
ROX-33689-Docs-TypeScript

Conversation

@pedrottimark
Copy link
Contributor

@pedrottimark pedrottimark commented Mar 20, 2026

Description

Review: Hide space because indentation change.

Follow up lint rule/tool to identify a few non-deprecated JavaScript files in #18443

Because typescript-eslint no-floating-promises error for fetchData call, I rewrote body of useEffect hook as promise handling instead of async await.

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the void operator

User-facing documentation

  • CHANGELOG.md update is not needed
  • documentation PR is not needed

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  1. npm run tsc in ui/apps/platform folder.
  2. npm run lint:fast-dev in ui/apps/platform folder.
  3. npm run start in ui/apps/platform folder with staging demo as central.

Manual testing

  1. Visit /main/dashboard

  2. Click ? and then API Reference (v1)

  3. Click ? and then API Reference (v2)

@pedrottimark pedrottimark requested a review from a team as a code owner March 20, 2026 18:49
@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 454dbc8.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-392-g454dbc83fd.

@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.24%. Comparing base (19e5460) to head (454dbc8).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19528      +/-   ##
==========================================
+ Coverage   49.23%   49.24%   +0.01%     
==========================================
  Files        2727     2727              
  Lines      205764   205787      +23     
==========================================
+ Hits       101306   101345      +39     
+ Misses      96920    96906      -14     
+ Partials     7538     7536       -2     
Flag Coverage Δ
go-unit-tests 49.24% <ø> (+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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants