feat(client): module based progress (#63966)

This commit is contained in:
Kanav Arora
2025-11-20 04:52:43 -05:00
committed by GitHub
parent ec0c34eb40
commit 68156f8f00
2 changed files with 11 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ button .block-header-button-text {
.super-block-accordion .module-steps {
font-size: 0.75em;
color: var(--quaternary-color);
}
.super-block-accordion .chapter-button:hover,

View File

@@ -189,6 +189,16 @@ const Module = ({
</span>
{t(`intro:${superBlock}.modules.${dashedName}`)}
</div>
<div className='module-button-right'>
{!comingSoon && !!totalSteps && (
<span className='module-steps'>
{t('learn.steps-completed', {
totalSteps,
completedSteps
})}
</span>
)}
</div>
</Disclosure.Button>
<Disclosure.Panel as='ul' className='module-panel'>
{comingSoon && (