Skip to content

Kl gmt 1704 gamut elevation beta - #3414

Draft
LinKCoding wants to merge 29 commits into
cass-gmt-1607-publishfrom
kl-gmt-1704-gamut-elevation-beta
Draft

Kl gmt 1704 gamut elevation beta#3414
LinKCoding wants to merge 29 commits into
cass-gmt-1607-publishfrom
kl-gmt-1704-gamut-elevation-beta

Conversation

@LinKCoding

Copy link
Copy Markdown
Contributor

Overview

PR Checklist

  • Related to designs:
  • Related to JIRA ticket: [ABC-123]
  • Version plan added/updated (or not needed)
  • I have run this code to verify it works
  • This PR includes unit tests for the code change
  • This PR includes testing instructions tests for the code change
  • The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.

  1. Go to story X
  2. Do something
  3. Do that something in dark mode
  4. Check it with VO
  5. Finish and do a celebratory dance

PR Links and Envs

Repository PR Link
Monolith Monolith PR
Mono Mono PR

LinKCoding and others added 26 commits August 10, 2026 16:02
…t child (#3411)

* fix(Markdown): correct Details summary detection when summary is first child

`summaryIndex === 0` was falsy, so a `<summary>` at child position 0 was
never detected, falling back to the default "Details" label. The guard
in `getStyledDetailChildren` also required `summaryIndex` to be truthy,
so details blocks with no summary at all returned undefined instead of
rendering the fallback.

- Fix `hasSummary` to use `summaryIndex > -1` instead of `summaryIndex > 0`
- Fix `getStyledDetailChildren` guard from `if (children && summaryIndex)`
  to `if (children)` so the fallback summary always renders
- Add `summaryIndex !== undefined` checks before indexing into children

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat: gamut package release plan

* test(Markdown): add regression test for summary at first child index

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
- project: gamut-kit 3.0.16

- project: gamut 72.5.3
@nx-cloud

nx-cloud Bot commented Aug 18, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 55af6a8


☁️ Nx Cloud last updated this comment at 2026-08-18 15:36:22 UTC

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.94%. Comparing base (8cb680b) to head (8a7a4d9).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                    Coverage Diff                    @@
##           cass-gmt-1607-publish    #3414      +/-   ##
=========================================================
+ Coverage                  90.50%   90.94%   +0.43%     
=========================================================
  Files                        276      276              
  Lines                       5793     5798       +5     
  Branches                    1955     1962       +7     
=========================================================
+ Hits                        5243     5273      +30     
+ Misses                       541      516      -25     
  Partials                       9        9              
Flag Coverage Δ
pull-request 90.94% <100.00%> (+0.43%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@github-actions

Copy link
Copy Markdown
Contributor

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.

3 participants