Move "reducing_compile_timeout" notice to the bottom of the box (#17840)

GitOrigin-RevId: 6dc28cb41af28947c4e43ab57d26518c0c0a3245
This commit is contained in:
Antoine Clausse 2024-04-10 10:42:43 +02:00 committed by Copybot
parent 038b460e24
commit 8e0e2041a7

View file

@ -165,39 +165,6 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
headerTitle={t('reasons_for_compile_timeouts')} headerTitle={t('reasons_for_compile_timeouts')}
formattedContent={ formattedContent={
<> <>
<p>
<em>
{compileTimeChanging ? (
<>
{isProjectOwner ? (
<Trans
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_your_project"
components={[compileTimeoutChangesBlogLink]}
/>
) : (
<Trans
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_this_project"
components={[compileTimeoutChangesBlogLink]}
/>
)}
</>
) : (
<>
{isProjectOwner ? (
<Trans
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_your_project"
components={[compileTimeoutChangesBlogLink]}
/>
) : (
<Trans
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_this_project"
components={[compileTimeoutChangesBlogLink]}
/>
)}
</>
)}
</em>
</p>
<p>{t('common_causes_of_compile_timeouts_include')}:</p> <p>{t('common_causes_of_compile_timeouts_include')}:</p>
<ul> <ul>
<li> <li>
@ -258,6 +225,39 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
]} ]}
/> />
</p> </p>
<p>
<em>
{compileTimeChanging ? (
<>
{isProjectOwner ? (
<Trans
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_your_project"
components={[compileTimeoutChangesBlogLink]}
/>
) : (
<Trans
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_this_project"
components={[compileTimeoutChangesBlogLink]}
/>
)}
</>
) : (
<>
{isProjectOwner ? (
<Trans
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_your_project"
components={[compileTimeoutChangesBlogLink]}
/>
) : (
<Trans
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_this_project"
components={[compileTimeoutChangesBlogLink]}
/>
)}
</>
)}
</em>
</p>
</> </>
} }
// @ts-ignore // @ts-ignore