Skip to content

Commit afd3522

Browse files
authored
Chore: Change description in settings (#521)
* Change description of switch * Change description of restart button
1 parent 31b9489 commit afd3522

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/live_debugger_web/live/settings_live.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ defmodule LiveDebuggerWeb.SettingsLive do
5454
5555
<.settings_switch
5656
id="tracing-update-on-reload-switch"
57-
label="Refresh tracing on reload"
58-
description="Enabling this feature may have a negative impact on application performance."
57+
label="Refresh tracing after recompilation"
58+
description="Tracing in LiveDebugger may be interrupted when modules are recompiled. With this option enabled, LiveDebugger will refresh tracing after project recompilation. It may have a negative impact on application performance."
5959
checked={@settings[:tracing_update_on_code_reload]}
6060
phx-click="update"
6161
phx-value-setting="tracing_update_on_code_reload"
@@ -65,15 +65,15 @@ defmodule LiveDebuggerWeb.SettingsLive do
6565
6666
<%!-- Lower section --%>
6767
<div class="mt-6 bg-surface-0-bg rounded shadow-custom border border-default-border">
68-
<%!-- Restart button --%>
68+
<%!-- Refresh tracing button --%>
6969
<div class="p-6 flex flex-col md:flex-row justify-between md:items-center gap-4">
7070
<div class="flex flex-col gap-1">
71-
<p class="font-semibold">Restart LiveDebugger</p>
71+
<p class="font-semibold">Refresh LiveDebugger Tracing</p>
7272
<p class="text-secondary-text">
73-
Use this option if LiveDebugger appears to stop responding or not working properly.
73+
Manually refresh traced modules and callbacks. Use this when you don't see traces from your application.
7474
</p>
7575
</div>
76-
<.button variant="secondary" phx-click="restart">Restart&nbsp;LiveDebugger</.button>
76+
<.button variant="secondary" phx-click="restart">Refresh&nbsp;Tracing</.button>
7777
</div>
7878
</div>
7979
</div>

0 commit comments

Comments
 (0)