- <.icon name={:clipboard_document_list} outlined class="
+ <.icon name={:book_open} outlined class="
text-sky-600
mr-2 flex-shrink-0 h-16 w-16
"/>
diff --git a/lib/ex_commerce_web/templates/layout/live_brands_dashboard.html.heex b/lib/ex_commerce_web/templates/layout/live_brands_dashboard.html.heex
index d545352a..3ac87416 100644
--- a/lib/ex_commerce_web/templates/layout/live_brands_dashboard.html.heex
+++ b/lib/ex_commerce_web/templates/layout/live_brands_dashboard.html.heex
@@ -54,7 +54,7 @@
<.custom_link navigate="#"}>
<.icon
- name={:building_library}
+ name={:building_office_2}
class="w-8 h-8 text-blue-600 -mt-2 inline-block"
outlined
/>
@@ -91,7 +91,7 @@
<.custom_link navigate="#">
<.icon
- name={:building_library}
+ name={:building_office_2}
class="w-8 h-8 text-blue-600 -mt-2 inline-block"
outlined
/>
diff --git a/lib/ex_commerce_web/views/layout_view.ex b/lib/ex_commerce_web/views/layout_view.ex
index f583ebf5..500a3736 100644
--- a/lib/ex_commerce_web/views/layout_view.ex
+++ b/lib/ex_commerce_web/views/layout_view.ex
@@ -41,7 +41,7 @@ defmodule ExCommerceWeb.LayoutView do
aria-current={if @active_tab == :brands, do: "true", else: "false"}
>
<.icon
- name={:building_library} outlined
+ name={:building_office_2} outlined
class="
flex-shrink-0
mr-3
@@ -99,7 +99,7 @@ defmodule ExCommerceWeb.LayoutView do
"}
aria-current={if @active_tab == :catalogues, do: "true", else: "false"}
>
- <.icon name={:clipboard_document_list} outlined class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6"/>
+ <.icon name={:book_open} outlined class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6"/>
<%= gettext("Catalogues") %>
<.custom_link
@@ -127,7 +127,7 @@ defmodule ExCommerceWeb.LayoutView do
"}
aria-current={if @active_tab == :catalogue_items, do: "true", else: "false"}
>
- <.icon name={:cube} outlined class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6"/>
+ <.icon name={:swatch} outlined class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6"/>
<%= gettext("Items") %>
<.custom_link
@@ -145,7 +145,7 @@ defmodule ExCommerceWeb.LayoutView do
"}
aria-current={if @active_tab == :catalogue_item_option_groups, do: "true", else: "false"}
>
- <.icon name={:rectangle_stack} outlined class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6"/>
+ <.icon name={:squares_2x2} outlined class="text-gray-400 group-hover:text-gray-500 mr-3 flex-shrink-0 h-6 w-6"/>
<%= gettext("Option Groups") %>
<% else %>
From 90cece67276a512ed84863ac009c9ce105378001 Mon Sep 17 00:00:00 2001
From: Santiago Botta
Date: Mon, 23 Jan 2023 19:17:48 -0300
Subject: [PATCH 18/20] :wrench: Update CI versions to elixir 1.14 and Erlang
25.2
---
.github/workflows/ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index edc076d7..39c2db43 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,8 +14,8 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# General env
MIX_ENV: test
- ELIXIR_VERSION: 1.12.3
- OTP_VERSION: 23.3
+ ELIXIR_VERSION: 1.14
+ OTP_VERSION: 25.2
# Cloudinary env
CLOUDEX_API_KEY: ${{ secrets.CLOUDEX_API_KEY }}
CLOUDEX_CLOUD_NAME: ${{ secrets.CLOUDEX_CLOUD_NAME }}
From 2f3156d4b75f61835b71a1cbad836fea7b3a1df0 Mon Sep 17 00:00:00 2001
From: Santiago Botta
Date: Mon, 23 Jan 2023 19:45:25 -0300
Subject: [PATCH 19/20] :wrench: Upgrade excoveralls to 0.15
---
mix.exs | 2 +-
mix.lock | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mix.exs b/mix.exs
index e5640b0a..98087ae4 100644
--- a/mix.exs
+++ b/mix.exs
@@ -50,7 +50,7 @@ defmodule ExCommerce.MixProject do
# Code quality and Testing
{:credo, "~> 1.6.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.2", only: [:dev], runtime: false},
- {:excoveralls, "~> 0.14", only: [:test]},
+ {:excoveralls, "~> 0.15", only: [:test]},
{:git_hooks, "~> 0.6.2", only: [:dev], runtime: false},
{:mix_test_watch, "~> 1.0", only: [:dev], runtime: false},
# Documentation
diff --git a/mix.lock b/mix.lock
index 3b4a86b1..c10ae8dd 100644
--- a/mix.lock
+++ b/mix.lock
@@ -29,7 +29,7 @@
"ex_cldr_numbers": {:hex, :ex_cldr_numbers, "2.24.0", "8d6cc9047a22ebf25a0b187c53832c4b4547bae0b77d940c87e8fd6b23c935f6", [:mix], [{:decimal, "~> 1.6 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:ex_cldr, "~> 2.24", [hex: :ex_cldr, repo: "hexpm", optional: false]}, {:ex_cldr_currencies, "~> 2.12", [hex: :ex_cldr_currencies, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}], "hexpm", "9a1b8525b1e4461e33a85b4f72d2e0e41e03f9b116b47dacf3a1da586a825e18"},
"ex_cldr_plugs": {:hex, :ex_cldr_plugs, "1.2.0", "e02cc03a4cb19bb028c331680cf09f826b4180f1545f8c35825fb5d4b918ac8a", [:mix], [{:ex_cldr, "~> 2.29", [hex: :ex_cldr, repo: "hexpm", optional: false]}, {:gettext, "~> 0.19", [hex: :gettext, repo: "hexpm", optional: true]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:plug, "~> 1.9", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm", "e111249ed7a7e2ef6322c93ff2d1c930d9e296dc8181351ff6c6a1be50b1cf8e"},
"ex_doc": {:hex, :ex_doc, "0.28.0", "7eaf526dd8c80ae8c04d52ac8801594426ae322b52a6156cd038f30bafa8226f", [:mix], [{:earmark_parser, "~> 1.4.19", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "e55cdadf69a5d1f4cfd8477122ebac5e1fadd433a8c1022dafc5025e48db0131"},
- "excoveralls": {:hex, :excoveralls, "0.14.2", "f9f5fd0004d7bbeaa28ea9606251bb643c313c3d60710bad1f5809c845b748f0", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "ca6fd358621cb4d29311b29d4732c4d47dac70e622850979bc54ed9a3e50f3e1"},
+ "excoveralls": {:hex, :excoveralls, "0.15.2", "809c1016660d80b28bbcd8cb7fd761791300def53345c1af5bd97db1330619ad", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "f359dda36f15ae885d3259a90919b09ae9318f37c583c403493fe23808b2b882"},
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
"floki": {:hex, :floki, "0.31.0", "f05ee8a8e6a3ced4e62beeb2c79a63bc8e12ab98fbaaf6e6a3d9b76b1278e23f", [:mix], [{:html_entities, "~> 0.5.0", [hex: :html_entities, repo: "hexpm", optional: false]}], "hexpm", "b05afa372f5c345a5bf240ac25ea1f0f3d5fcfd7490ac0beeb4a203f9444891e"},
"gettext": {:hex, :gettext, "0.20.0", "75ad71de05f2ef56991dbae224d35c68b098dd0e26918def5bb45591d5c8d429", [:mix], [], "hexpm", "1c03b177435e93a47441d7f681a7040bd2a816ece9e2666d1c9001035121eb3d"},
From 8c819da34873d31da0e14e020cef541c29baf9d8 Mon Sep 17 00:00:00 2001
From: Santiago Botta
Date: Mon, 23 Jan 2023 19:59:22 -0300
Subject: [PATCH 20/20] :computer: Fix application load in release.ex
---
lib/ex_commerce/release.ex | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/lib/ex_commerce/release.ex b/lib/ex_commerce/release.ex
index 9d5bcc1e..07b290b9 100644
--- a/lib/ex_commerce/release.ex
+++ b/lib/ex_commerce/release.ex
@@ -66,7 +66,18 @@ defmodule ExCommerce.Release do
defp repos, do: Application.fetch_env!(@app, :ecto_repos)
- defp load_app, do: Application.load(@app)
+ defp load_app do
+ case Application.load(@app) do
+ :ok ->
+ :ok
+
+ {:error, error} ->
+ :ok =
+ Logger.warn(
+ "Error while loading application error=#{inspect(error, pretty: true)}"
+ )
+ end
+ end
defp eval_seed(repo, filename, app) do
seeds_file = get_path(repo, filename, app)