Skip to content

fix: Subsections should come before Sections - #2185

Merged
bradenmacdonald merged 1 commit into
masterfrom
kdmccormick/subsections-sections
Jun 18, 2025
Merged

fix: Subsections should come before Sections#2185
bradenmacdonald merged 1 commit into
masterfrom
kdmccormick/subsections-sections

Conversation

@kdmccormick

Copy link
Copy Markdown
Member

Description

Subsections are bigger than Units and smaller than Sections, so the order of the library authoring tabs should be: Units, Subsections, Sections. Before this PR, the order was: Units, Sections, Subsections.

Supporting information

Before

Screenshot 2025-06-17 at 4 29 01 PM

After

Screenshot 2025-06-17 at 4 30 52 PM

@kdmccormick
kdmccormick requested a review from rpenido June 17, 2025 20:33
@kdmccormick

Copy link
Copy Markdown
Member Author

@rpenido Can you review this?

@kdmccormick

Copy link
Copy Markdown
Member Author

@sdaitzman I presume this is the desired behavior, but let me know if I'm wrong.

@codecov

codecov Bot commented Jun 17, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@19f81cc). Learn more about missing BASE report.
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #2185   +/-   ##
=========================================
  Coverage          ?   94.08%           
=========================================
  Files             ?     1164           
  Lines             ?    24481           
  Branches          ?     5306           
=========================================
  Hits              ?    23033           
  Misses            ?     1371           
  Partials          ?       77           

☔ 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.

@sdaitzman

Copy link
Copy Markdown

@kdmccormick thanks for confirming, yes. The "after" order is correct.

@rpenido rpenido left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM 👍
Thanks @kdmccormick!

  • I tested this by opening the library page and checking the tabs order
  • I read through the code
  • I checked for accessibility issues
  • Includes documentation

PS: I don't have merge rights on this repository, so you probably need someone to merge it here. CC @ChrisChV @bradenmacdonald

@bradenmacdonald bradenmacdonald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM but hold off on merging until #2187 is merged.

@bradenmacdonald
bradenmacdonald merged commit 488173e into master Jun 18, 2025
@bradenmacdonald
bradenmacdonald deleted the kdmccormick/subsections-sections branch June 18, 2025 19:19
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.

4 participants