Add new release line for testing

This commit is contained in:
Fedor Indutny 2024-11-20 19:14:21 -08:00 committed by GitHub
parent 70dd062753
commit 34cc87e8a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 199 additions and 43 deletions

View file

@ -19,12 +19,12 @@ export default {
args: {
i18n,
hasInitialLoadCompleted: false,
isAlpha: false,
isNightly: false,
isCustomizingPreferredReactions: false,
},
argTypes: {
daysAgo: { control: { type: 'number' } },
isAlpha: { control: { type: 'boolean' } },
isNightly: { control: { type: 'boolean' } },
},
} satisfies Meta<PropsType & { daysAgo?: number }>;

View file

@ -14,7 +14,7 @@ export type PropsType = {
envelopeTimestamp: number | undefined;
hasInitialLoadCompleted: boolean;
i18n: LocalizerType;
isAlpha: boolean;
isNightly: boolean;
isCustomizingPreferredReactions: boolean;
navTabsCollapsed: boolean;
onToggleNavTabsCollapse: (navTabsCollapsed: boolean) => unknown;
@ -32,7 +32,7 @@ export function Inbox({
envelopeTimestamp,
hasInitialLoadCompleted,
i18n,
isAlpha,
isNightly,
isCustomizingPreferredReactions,
navTabsCollapsed,
onToggleNavTabsCollapse,
@ -128,7 +128,7 @@ export function Inbox({
}
let logo: JSX.Element;
if (isAlpha) {
if (isNightly) {
const parts = new Array<JSX.Element>();
parts.push(
<i key="base" className="Inbox__logo__part Inbox__logo__part--base" />