mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-26 21:36:02 +08:00
Make reprocess texts more neutral (#2105)
This commit is contained in:
parent
1c98a2a360
commit
01b2c31659
3 changed files with 5 additions and 9 deletions
|
|
@ -189,8 +189,8 @@ defmodule LivebookWeb.AppSessionLive do
|
|||
class="tooltip left"
|
||||
data-tooltip={
|
||||
~S'''
|
||||
Some inputs have changed since they were last processed.
|
||||
Click this button to reprocess with latest values.
|
||||
Some inputs have changed.
|
||||
Click this button to process with latest values.
|
||||
'''
|
||||
}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -266,11 +266,7 @@ defmodule LivebookWeb.Output.InputComponent do
|
|||
<.label help={@help}>
|
||||
<div class="flex items-center justify-between gap-1">
|
||||
<span><%= @label %></span>
|
||||
<span
|
||||
:if={@changed}
|
||||
class="cursor-pointer tooltip top"
|
||||
data-tooltip="This input has changed since it was last processed."
|
||||
>
|
||||
<span :if={@changed} class="cursor-pointer tooltip top" data-tooltip="This input has changed.">
|
||||
<.remix_icon icon="error-warning-line text-gray-500" />
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -749,12 +749,12 @@ defmodule LivebookWeb.SessionLiveTest do
|
|||
|
||||
{:ok, view, _} = live(conn, ~p"/sessions/#{session.id}")
|
||||
|
||||
refute render(view) =~ "This input has changed since it was last processed."
|
||||
refute render(view) =~ "This input has changed."
|
||||
|
||||
Session.set_input_value(session.pid, input.id, 10)
|
||||
wait_for_session_update(session.pid)
|
||||
|
||||
assert render(view) =~ "This input has changed since it was last processed."
|
||||
assert render(view) =~ "This input has changed."
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue