Skip to content

Commit 3d7ff02

Browse files
committed
Update Mix dependencies
1 parent 1777a82 commit 3d7ff02

20 files changed

+97
-97
lines changed

apps/gitgud/mix.exs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ defmodule GitGud.Mixfile do
3333

3434
defp deps do
3535
[
36-
{:absinthe, "~> 1.5", optional: true},
37-
{:argon2_elixir, "~> 2.4"},
38-
{:ecto, "~> 3.7"},
39-
{:ecto_sql, "~> 3.7"},
40-
{:faker, "~> 0.16", only: :test},
36+
{:absinthe, "~> 1.7", optional: true},
37+
{:argon2_elixir, "~> 3.0"},
38+
{:ecto, "~> 3.9"},
39+
{:ecto_sql, "~> 3.9"},
40+
{:faker, "~> 0.17", only: :test},
4141
{:gitrekt, in_umbrella: true},
42-
{:jason, "~> 1.2"},
42+
{:jason, "~> 1.4"},
4343
{:phoenix, "~> 1.6", optional: true},
44-
{:phoenix_pubsub, "~> 2.0", optional: true},
45-
{:plug, "~> 1.12", optional: true},
44+
{:phoenix_pubsub, "~> 2.1", optional: true},
45+
{:plug, "~> 1.13", optional: true},
4646
{:plug_cowboy, "~> 2.5", only: :test},
47-
{:postgrex, "~> 0.15"},
48-
{:telemetry, "~> 0.4"},
47+
{:postgrex, "~> 0.16"},
48+
{:telemetry, "~> 1.1"},
4949
{:libcluster, "~> 3.3"}
5050
]
5151
end

apps/gitgud_web/lib/gitgud_web.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ defmodule GitGud.Web do
137137

138138
import Phoenix.View
139139
import Phoenix.LiveView.Helpers
140+
import Phoenix.Component
140141

141142
import GitGud.GraphQL.Schema, only: [to_relay_id: 1, to_relay_id: 2]
142143

apps/gitgud_web/lib/gitgud_web/live/blob_viewer_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="level-left">
33
<div class="level-item">
44
<div class="branch-select">
5-
<%= live_component(@socket, GitGud.Web.BranchSelectLive,
5+
<%= live_component(GitGud.Web.BranchSelectLive,
66
id: "branch_select",
77
repo: @repo,
88
agent: @agent,

apps/gitgud_web/lib/gitgud_web/live/branch_select_container_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defmodule GitGud.Web.BranchSelectContainerLive do
2727
@impl true
2828
def render(assigns) do
2929
~L"""
30-
<%= live_component(@socket, GitGud.Web.BranchSelectLive,
30+
<%= live_component(GitGud.Web.BranchSelectLive,
3131
id: "branch_select",
3232
repo: @repo,
3333
agent: @agent,

apps/gitgud_web/lib/gitgud_web/live/comment_form_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<% end %>
3030
</div>
3131
<% else %>
32-
<.form let={f} for={@changeset} id="comment-form" phx_hook="CommentForm" {@form_opts}>
32+
<.form let={f} for={@changeset} id="comment-form" phx-hook="CommentForm" {@form_opts}>
3333
<div class="field">
3434
<%= case @tab do %>
3535
<% :editor -> %>

apps/gitgud_web/lib/gitgud_web/live/commit_diff_dynamic_reviews_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<%= for review <- @reviews do %>
33
<tr id={"review-#{oid_fmt(review.blob_oid)}-#{review.hunk}-#{review.line}"} class="inline-comments">
44
<td colspan="4">
5-
<%= live_component(@socket, GitGud.Web.CommitLineReviewLive,
5+
<%= live_component(GitGud.Web.CommitLineReviewLive,
66
id: "review-#{review.id}",
77
current_user: @current_user,
88
repo: @repo,

apps/gitgud_web/lib/gitgud_web/live/commit_diff_live.html.heex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<%= if review = Enum.find(@reviews, &(&1.blob_oid == delta.new_file.oid && &1.hunk == hunk_index && &1.line == line_index)) do %>
138138
<tr id={"review-#{oid_fmt(review.blob_oid)}-#{review.hunk}-#{review.line}"} class="inline-comments">
139139
<td colspan="4">
140-
<%= live_component(@socket, GitGud.Web.CommitLineReviewLive,
140+
<%= live_component(GitGud.Web.CommitLineReviewLive,
141141
id: "review-#{review.id}",
142142
current_user: @current_user,
143143
repo: @repo,
@@ -163,15 +163,15 @@
163163

164164
<%= if connected?(@socket) do %>
165165
<table class="table is-hidden">
166-
<%= live_component(@socket, GitGud.Web.CommitDiffDynamicReviewsLive,
166+
<%= live_component(GitGud.Web.CommitDiffDynamicReviewsLive,
167167
id: "dynamic-reviews",
168168
current_user: @current_user,
169169
repo: @repo,
170170
repo_permissions: @repo_permissions,
171171
agent: @agent,
172172
commit: @commit
173173
) %>
174-
<%= live_component(@socket, GitGud.Web.CommitDiffDynamicFormsLive,
174+
<%= live_component(GitGud.Web.CommitDiffDynamicFormsLive,
175175
id: "dynamic-forms",
176176
current_user: @current_user,
177177
repo: @repo,

apps/gitgud_web/lib/gitgud_web/live/commit_history_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="level-left">
33
<div class="level-item">
44
<div class="branch-select">
5-
<%= live_component(@socket, GitGud.Web.BranchSelectLive,
5+
<%= live_component(GitGud.Web.BranchSelectLive,
66
id: "branch_select",
77
repo: @repo,
88
agent: @agent,

apps/gitgud_web/lib/gitgud_web/live/commit_line_review_live.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<%= for comment <- Enum.sort_by(@comments, &(&1.inserted_at)) do %>
44
<div id={"review-comment-#{comment.id}"} class="timeline-item">
55
<div class="timeline-content">
6-
<%= live_component(@socket, GitGud.Web.CommentLive,
6+
<%= live_component(GitGud.Web.CommentLive,
77
id: "comment-#{comment.id}",
88
current_user: @current_user,
99
repo: @repo,

apps/gitgud_web/lib/gitgud_web/live/global_search_live.html.heex

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,25 @@
88
<%= if @search != "" do %>
99
<div class="dropdown-menu">
1010
<div class="dropdown-content">
11-
<%= unless Enum.empty?(@search_results) do %>
12-
<%= for search_result <- @search_results do %>
13-
<%= case search_result do %>
14-
<% %User{} = user -> %>
15-
<a href={Routes.user_path(@socket, :show, user)} class="dropdown-item">
16-
<span class="tag user"><%= user %></span>
17-
</a>
18-
<% %Repo{} = repo -> %>
19-
<a href={Routes.codebase_path(@socket, :show, repo.owner_login, repo)} class="dropdown-item">
20-
<div class="tags has-addons">
21-
<span class="tag user"><%= repo.owner %></span>
22-
<span class="tag is-link"><%= repo.name %></span>
23-
</div>
24-
</a>
11+
<%= unless Enum.empty?(@search_results) do %>
12+
<%= for search_result <- @search_results do %>
13+
<%= case search_result do %>
14+
<% %User{} = user -> %>
15+
<a href={Routes.user_path(@socket, :show, user)} class="dropdown-item">
16+
<span class="tag user"><%= user %></span>
17+
</a>
18+
<% %Repo{} = repo -> %>
19+
<a href={Routes.codebase_path(@socket, :show, repo.owner_login, repo)} class="dropdown-item">
20+
<div class="tags has-addons">
21+
<span class="tag user"><%= repo.owner %></span>
22+
<span class="tag is-link"><%= repo.name %></span>
23+
</div>
24+
</a>
25+
<% end %>
2526
<% end %>
27+
<% else %>
28+
<div class="dropdown-item">Nothing to see here.</div>
2629
<% end %>
27-
</div>
28-
<% else %>
29-
<div class="dropdown-item">Nothing to see here.</div>
30-
<% end %>
3130
</div>
3231
</div>
3332
<% end %>

0 commit comments

Comments
 (0)