Skip to content

Commit

Permalink
fix breaking changes due to update in phoenix_html
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Jun 8, 2024
1 parent b2056b4 commit 59d01d3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions BUILDIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
# Build Log 👩‍💻

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dwyl/who/ci.yml?label=build&style=flat-square&branch=main)](https://github.com/dwyl/who/actions/workflows/ci.yml)
[![codecov.io](https://img.shields.io/codecov/c/github/dwyl/who/main.svg?style=flat-square)](http://codecov.io/github/dwyl/who?branch=main)
[![Hex.pm](https://img.shields.io/hexpm/v/elixir_auth_google?color=brightgreen&style=flat-square)](https://hex.pm/packages/elixir_auth_google)
[![contributions welcome](https://img.shields.io/badge/feedback-welcome-brightgreen.svg?style=flat-square)](https://github.com/dwyl/who/issues)
[![HitCount](https://hits.dwyl.com/dwyl/who-buildit.svg)](https://hits.dwyl.com/dwyl/who-buildit)

This is a log
of the steps taken
Expand Down
4 changes: 3 additions & 1 deletion lib/app_web/templates/layout/root.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="csrf-token" content={csrf_token_value()}>
<%= live_title_tag assigns[:page_title] || "App", suffix: " · Phoenix Framework" %>
<.live_title suffix="- MyApp">
<%= assigns[:page_title] || "Welcome" %>
</.live_title>
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/assets/app.css")}/>
<script defer phx-track-static type="text/javascript" src={Routes.static_path(@conn, "/assets/app.js")}></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion lib/app_web/views/error_helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule AppWeb.ErrorHelpers do
Conveniences for translating and building error messages.
"""

import Phoenix.HTML
# import Phoenix.HTML
import Phoenix.HTML.Form
use PhoenixHTMLHelpers

Expand Down
1 change: 1 addition & 0 deletions lib/app_web/views/layout_view.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule AppWeb.LayoutView do
use AppWeb, :view
use Phoenix.Component

# Phoenix LiveDashboard is available only in development by default,
# so we instruct Elixir to not warn if the dashboard route is missing.
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ defmodule App.MixProject do
{:credo, "~> 1.7.0", only: [:dev, :test], runtime: false},

# Ref: github.com/dwyl/learn-tailwind
{:tailwind, "~> 0.1", runtime: Mix.env() == :dev},
{:tailwind, "~> 0.2.2", runtime: Mix.env() == :dev},

# Elixir GitHub REST API lib: github.com/edgurgel/tentacat
{:tentacat, "~> 2.0"}
Expand Down

0 comments on commit 59d01d3

Please sign in to comment.