feat: change ui label for latest channel to stable

pull/3281/head
yougotwill 1 month ago
parent 403a5a1e37
commit 07ac6fa47b

@ -24,6 +24,7 @@ concurrency:
env:
# we want to publish on "push to master" only. When we don't want to publish, we want to upload artefacts
SHOULD_PUBLISH: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
# TODO Are we happy with this condition?
SHOULD_PUBLISH_ALPHA: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release') && contains(github.ref, '-alpha.') }}
jobs:

@ -12,7 +12,7 @@ import { Storage } from '../../../util/storage';
const items = [
{
label: capitalize(LATEST_CHANNEL),
label: 'Stable',
value: LATEST_CHANNEL,
inputDataTestId: `input-releases-${LATEST_CHANNEL}` as const,
labelDataTestId: `label-releases-${LATEST_CHANNEL}` as const,
@ -33,7 +33,7 @@ export const ReleaseChannel = () => {
const changeReleaseChannel = (channel: ReleaseChannels) => {
window.log.debug(
`WIP: [debugMenu] Setting release channel to ${channel}. It was ${Storage.get('releaseChannel') || 'not set'}`
`[debugMenu] Setting release channel to ${channel}. It was ${Storage.get('releaseChannel') || 'not set'}`
);
dispatch(
updateConfirmModal({

@ -108,7 +108,7 @@ export const DebugActions = () => {
}}
>
<SessionSpinner loading={loadingLatestRelease} color={'var(--text-primary-color)'} />
{!loadingLatestRelease ? 'Check latest release' : null}
{!loadingLatestRelease ? 'Check stable version' : null}
</SessionButton>
<SessionButton
onClick={async () => {
@ -145,7 +145,7 @@ export const DebugActions = () => {
}}
>
<SessionSpinner loading={loadingAlphaRelease} color={'var(--text-primary-color)'} />
{!loadingAlphaRelease ? 'Check alpha release' : null}
{!loadingAlphaRelease ? 'Check alpha version' : null}
</SessionButton>
</Flex>
</>

Loading…
Cancel
Save