Skip to content

Commit 653d746

Browse files
[UI] Minor fixes (#2775)
1 parent a9dcb60 commit 653d746

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

frontend/src/layouts/AppLayout/index.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,6 @@ const AppLayout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
154154
title: t('common.tutorial_other'),
155155
onClick: toggleTutorialPanel,
156156
},
157-
{
158-
href: 'theme-button',
159-
type: 'button',
160-
iconSvg: <ThemeIcon />,
161-
onClick: onChangeSystemModeToggle,
162-
},
163157
{
164158
type: 'button',
165159
text: t('common.docs'),
@@ -172,6 +166,12 @@ const AppLayout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
172166
external: true,
173167
onClick: () => goToUrl(DISCORD_URL, true),
174168
},
169+
{
170+
href: 'theme-button',
171+
type: 'button',
172+
iconSvg: <ThemeIcon />,
173+
onClick: onChangeSystemModeToggle,
174+
},
175175
{
176176
'data-class': 'user-menu',
177177
type: 'menu-dropdown',

frontend/src/locale/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@
319319
"search_placeholder": "Find runs",
320320
"empty_message_title": "No runs",
321321
"empty_message_text": "No runs to display.",
322-
"quickstart_message_text": "No runs to display. Create a new one using the guide",
322+
"quickstart_message_text": "Check out the quickstart guide to get started with dstack",
323323
"nomatch_message_title": "No matches",
324324
"nomatch_message_text": "We can't find a match. Try to change project or clear filter",
325325
"project": "Project",

frontend/src/pages/Runs/List/hooks/useEmptyMessages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const useEmptyMessages = ({
2424
title={t('projects.run.empty_message_title')}
2525
message={t('projects.run.quickstart_message_text')}
2626
>
27-
<Button onClick={() => goToUrl(QUICK_START_URL, true)}>{t('common.quickstart')}</Button>
27+
<Button variant="primary" external onClick={() => goToUrl(QUICK_START_URL, true)}>{t('common.quickstart')}</Button>
2828
</ListEmptyMessage>
2929
);
3030
}

frontend/src/pages/Runs/List/hooks/useFilters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const useFilters = ({ localStorePrefix }: Args) => {
9191
{
9292
key: FilterKeys.USER_NAME,
9393
operators: ['='],
94-
propertyLabel: 'Username',
94+
propertyLabel: 'User',
9595
},
9696
{
9797
key: FilterKeys.ACTIVE,

0 commit comments

Comments
 (0)