Skip to content

Commit 853cef7

Browse files
committed
feat: add success message on resetting connections and improve sort view styling
1 parent 5797b53 commit 853cef7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

frontend/src/views/HomeView/components/ConnectionsController.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ const handleClearClosedConns = () => {
286286
287287
const handleResetConnections = () => {
288288
appSettingsStore.app.connections = DefaultConnections()
289+
message.success('common.success')
289290
}
290291
291292
const { connect, disconnect } = getKernelConnectionsWS(onConnections)
@@ -370,7 +371,7 @@ onUnmounted(() => {
370371
cancel-text="common.close"
371372
title="home.connections.sort"
372373
>
373-
<div v-draggable="[appSettingsStore.app.connections.order, DraggableOptions]">
374+
<div class="sort-view" v-draggable="[appSettingsStore.app.connections.order, DraggableOptions]">
374375
<Card
375376
v-for="column in appSettingsStore.app.connections.order"
376377
:key="column"
@@ -406,4 +407,10 @@ onUnmounted(() => {
406407
padding: 0 8px;
407408
margin-bottom: 2px;
408409
}
410+
411+
.sort-view {
412+
padding: 0 8px;
413+
overflow-y: auto;
414+
max-height: 60vh;
415+
}
409416
</style>

0 commit comments

Comments
 (0)