Skip to content

Commit 1e1c890

Browse files
committed
Assistant checkpoint: Reorder toolbar buttons
Assistant generated file changes: - dashboard/components.py: Reorder toolbar buttons --- User prompt: great - can we reorder the buttons in the toolbar - it should be home, metric batches, refresh, settings, github Replit-Commit-Author: Assistant Replit-Commit-Session-Id: dfe29a1e-79e0-48b6-9466-e78fd5295a53
1 parent cc1d5b3 commit 1e1c890

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

dashboard/components.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,20 @@ def _create_controls(batch_name):
121121
uk_tooltip="Return to homepage",
122122
),
123123
Button(
124-
DivLAligned(UkIcon("refresh-ccw")),
125-
hx_get=f"/batch/{batch_name}/refresh",
126-
hx_target="#main-content",
124+
DivLAligned(UkIcon("menu")),
127125
cls=ButtonT.secondary,
128126
uk_tooltip=
129-
"Refresh metrics data from source",
127+
"Select metric batch to display",
130128
),
129+
batches_dropdown,
131130
Button(
132-
DivLAligned(UkIcon("menu")),
131+
DivLAligned(UkIcon("refresh-ccw")),
132+
hx_get=f"/batch/{batch_name}/refresh",
133+
hx_target="#main-content",
133134
cls=ButtonT.secondary,
134135
uk_tooltip=
135-
"Select metric batch to display",
136+
"Refresh metrics data from source",
136137
),
137-
batches_dropdown,
138138
Button(
139139
DivLAligned(UkIcon("settings")),
140140
cls=ButtonT.secondary,

0 commit comments

Comments
 (0)