Skip to content

Conversation

@just-boris
Copy link
Member

Description

Migrate to the new version implemented here: cloudscape-design/documenter#77

Related links, issue #, if available: n/a

How has this been tested?

PR build
Reviewed snapshot tests diff, all good

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.


function testUtilDocs() {
['dom', 'selectors'].forEach(testUtilType => {
const baseWrapperDefinitions = require(`@cloudscape-design/test-utils-core/test-utils-doc/${testUtilType}`);
Copy link
Member Author

Choose a reason for hiding this comment

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

NB: in the old version we used to mix the base classes into this documentation. it should not be happening anymore

The consuming code will import them explicitly

@just-boris just-boris force-pushed the documenter-migration branch 4 times, most recently from 40a29f5 to b81186d Compare July 31, 2025 10:28
@just-boris just-boris marked this pull request as ready for review July 31, 2025 10:29
@just-boris just-boris requested a review from a team as a code owner July 31, 2025 10:29
@just-boris just-boris requested review from taheramr and removed request for a team July 31, 2025 10:29
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import definitions from '../../../lib/components-definitions/components';
// @ts-expect-error no typings
Copy link
Member Author

Choose a reason for hiding this comment

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

now there are typings

@codecov
Copy link

codecov bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.96%. Comparing base (84e9280) to head (918abb7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3693   +/-   ##
=======================================
  Coverage   96.96%   96.96%           
=======================================
  Files         820      820           
  Lines       23785    23785           
  Branches     8338     8346    +8     
=======================================
  Hits        23063    23063           
  Misses        673      673           
  Partials       49       49           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

taheramr
taheramr previously approved these changes Aug 1, 2025
@just-boris just-boris added this pull request to the merge queue Aug 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 1, 2025
@just-boris just-boris added this pull request to the merge queue Aug 1, 2025
Merged via the queue into main with commit 0cea5f4 Aug 1, 2025
38 checks passed
@just-boris just-boris deleted the documenter-migration branch August 1, 2025 13:59
just-boris added a commit that referenced this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants