remove extra @impl true
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shibao 2023-03-16 17:25:04 -04:00
parent 5f2e69abbd
commit cc29f875fa
11 changed files with 15 additions and 22 deletions

View File

@ -59,7 +59,6 @@ defmodule MemexWeb.ContextLive.Index do
{:noreply, socket}
end
@impl true
def handle_event("search", %{"search" => %{"search_term" => ""}}, socket) do
{:noreply, socket |> push_patch(to: Routes.context_index_path(Endpoint, :index))}
end

View File

@ -123,13 +123,11 @@ defmodule MemexWeb.InviteLive.Index do
{:noreply, socket}
end
@impl true
def handle_event("copy_to_clipboard", _params, socket) do
prompt = dgettext("prompts", "copied to clipboard")
{:noreply, socket |> put_flash(:info, prompt)}
end
@impl true
def handle_event(
"delete_user",
%{"id" => id},

View File

@ -59,7 +59,6 @@ defmodule MemexWeb.NoteLive.Index do
{:noreply, socket}
end
@impl true
def handle_event("search", %{"search" => %{"search_term" => ""}}, socket) do
{:noreply, socket |> push_patch(to: Routes.note_index_path(Endpoint, :index))}
end

View File

@ -59,7 +59,6 @@ defmodule MemexWeb.PipelineLive.Index do
{:noreply, socket}
end
@impl true
def handle_event("search", %{"search" => %{"search_term" => ""}}, socket) do
{:noreply, socket |> push_patch(to: Routes.pipeline_index_path(Endpoint, :index))}
end

View File

@ -80,7 +80,6 @@ defmodule MemexWeb.PipelineLive.Show do
{:noreply, socket}
end
@impl true
def handle_event(
"delete_step",
%{"step-id" => step_id},
@ -99,7 +98,6 @@ defmodule MemexWeb.PipelineLive.Show do
{:noreply, socket}
end
@impl true
def handle_event(
"reorder_step",
%{"step-id" => step_id, "direction" => direction},

View File

@ -381,7 +381,7 @@ msgstr ""
#: lib/memex_web/live/note_live/index.ex:23
#: lib/memex_web/live/note_live/show.ex:48
#: lib/memex_web/live/pipeline_live/index.ex:23
#: lib/memex_web/live/pipeline_live/show.ex:125
#: lib/memex_web/live/pipeline_live/show.ex:123
#, elixir-autogen, elixir-format
msgid "edit %{slug}"
msgstr ""
@ -444,7 +444,7 @@ msgstr ""
msgid "%{title} created"
msgstr ""
#: lib/memex_web/live/pipeline_live/show.ex:96
#: lib/memex_web/live/pipeline_live/show.ex:95
#, elixir-autogen, elixir-format
msgid "%{title} deleted"
msgstr ""
@ -454,7 +454,7 @@ msgstr ""
msgid "%{title} saved"
msgstr ""
#: lib/memex_web/live/pipeline_live/show.ex:127
#: lib/memex_web/live/pipeline_live/show.ex:125
#, elixir-autogen, elixir-format
msgid "add step to %{slug}"
msgstr ""

View File

@ -35,7 +35,7 @@ msgstr ""
msgid "%{invite_name} updated succesfully"
msgstr ""
#: lib/memex_web/live/invite_live/index.ex:140
#: lib/memex_web/live/invite_live/index.ex:138
#, elixir-autogen, elixir-format
msgid "%{user_email} deleted succesfully"
msgstr ""
@ -121,7 +121,7 @@ msgstr ""
msgid "%{name} updated successfully"
msgstr ""
#: lib/memex_web/live/invite_live/index.ex:128
#: lib/memex_web/live/invite_live/index.ex:127
#, elixir-autogen, elixir-format, fuzzy
msgid "copied to clipboard"
msgstr ""

View File

@ -379,7 +379,7 @@ msgstr ""
#: lib/memex_web/live/note_live/index.ex:23
#: lib/memex_web/live/note_live/show.ex:48
#: lib/memex_web/live/pipeline_live/index.ex:23
#: lib/memex_web/live/pipeline_live/show.ex:125
#: lib/memex_web/live/pipeline_live/show.ex:123
#, elixir-autogen, elixir-format
msgid "edit %{slug}"
msgstr ""
@ -442,7 +442,7 @@ msgstr ""
msgid "%{title} created"
msgstr ""
#: lib/memex_web/live/pipeline_live/show.ex:96
#: lib/memex_web/live/pipeline_live/show.ex:95
#, elixir-autogen, elixir-format
msgid "%{title} deleted"
msgstr ""
@ -452,7 +452,7 @@ msgstr ""
msgid "%{title} saved"
msgstr ""
#: lib/memex_web/live/pipeline_live/show.ex:127
#: lib/memex_web/live/pipeline_live/show.ex:125
#, elixir-autogen, elixir-format
msgid "add step to %{slug}"
msgstr ""

View File

@ -380,7 +380,7 @@ msgstr ""
#: lib/memex_web/live/note_live/index.ex:23
#: lib/memex_web/live/note_live/show.ex:48
#: lib/memex_web/live/pipeline_live/index.ex:23
#: lib/memex_web/live/pipeline_live/show.ex:125
#: lib/memex_web/live/pipeline_live/show.ex:123
#, elixir-autogen, elixir-format
msgid "edit %{slug}"
msgstr ""
@ -443,7 +443,7 @@ msgstr ""
msgid "%{title} created"
msgstr ""
#: lib/memex_web/live/pipeline_live/show.ex:96
#: lib/memex_web/live/pipeline_live/show.ex:95
#, elixir-autogen, elixir-format
msgid "%{title} deleted"
msgstr ""
@ -453,7 +453,7 @@ msgstr ""
msgid "%{title} saved"
msgstr ""
#: lib/memex_web/live/pipeline_live/show.ex:127
#: lib/memex_web/live/pipeline_live/show.ex:125
#, elixir-autogen, elixir-format
msgid "add step to %{slug}"
msgstr ""

View File

@ -36,7 +36,7 @@ msgstr ""
msgid "%{invite_name} updated succesfully"
msgstr ""
#: lib/memex_web/live/invite_live/index.ex:140
#: lib/memex_web/live/invite_live/index.ex:138
#, elixir-autogen, elixir-format
msgid "%{user_email} deleted succesfully"
msgstr ""
@ -122,7 +122,7 @@ msgstr ""
msgid "%{name} updated successfully"
msgstr ""
#: lib/memex_web/live/invite_live/index.ex:128
#: lib/memex_web/live/invite_live/index.ex:127
#, elixir-autogen, elixir-format
msgid "copied to clipboard"
msgstr ""

View File

@ -35,7 +35,7 @@ msgstr ""
msgid "%{invite_name} updated succesfully"
msgstr ""
#: lib/memex_web/live/invite_live/index.ex:140
#: lib/memex_web/live/invite_live/index.ex:138
#, elixir-autogen, elixir-format
msgid "%{user_email} deleted succesfully"
msgstr ""
@ -121,7 +121,7 @@ msgstr ""
msgid "%{name} updated successfully"
msgstr ""
#: lib/memex_web/live/invite_live/index.ex:128
#: lib/memex_web/live/invite_live/index.ex:127
#, elixir-autogen, elixir-format
msgid "copied to clipboard"
msgstr ""