Current section

43 Versions

Jump to

Compare versions

6 files changed
+27 additions
-16 deletions
  @@ -1,5 +1,11 @@
1 1 # CHANGELOG
2 2
3 + ## v0.6.1 (2021-10-29)
4 +
5 + * Require LiveView v0.17.3
6 + * Remove warnings on latest Phoenix.HTML
7 + * Make charts smoother when prunning data
8 +
3 9 ## v0.6.0 (2021-10-21)
4 10
5 11 * Require LiveView v0.17.1
unknowndist/js/app.js
File is too large to be displayed (100 KB limit).
  @@ -59,7 +59,12 @@
59 59 <<"https://github.com/phoenixframework/phoenix_live_dashboard">>}]}.
60 60 {<<"name">>,<<"phoenix_live_dashboard">>}.
61 61 {<<"requirements">>,
62 - [[{<<"app">>,<<"phoenix_live_view">>},
62 + [[{<<"app">>,<<"mime">>},
63 + {<<"name">>,<<"mime">>},
64 + {<<"optional">>,false},
65 + {<<"repository">>,<<"hexpm">>},
66 + {<<"requirement">>,<<"~> 1.6.0">>}],
67 + [{<<"app">>,<<"phoenix_live_view">>},
63 68 {<<"name">>,<<"phoenix_live_view">>},
64 69 {<<"optional">>,false},
65 70 {<<"repository">>,<<"hexpm">>},
  @@ -84,4 +89,4 @@
84 89 {<<"optional">>,true},
85 90 {<<"repository">>,<<"hexpm">>},
86 91 {<<"requirement">>,<<"~> 3.6.2 or ~> 3.7">>}]]}.
87 - {<<"version">>,<<"0.6.0">>}.
92 + {<<"version">>,<<"0.6.1">>}.
  @@ -22,21 +22,21 @@ defmodule Phoenix.LiveDashboard.HomePage do
22 22 total_input: "The total number of bytes received through ports/sockets.",
23 23 total_output: "The total number of bytes output to ports/sockets.",
24 24 total_queues: """
25 - Each core in your machine gets a scheduler to process all instructions within the Erlang VM.
26 - Each scheduler has its own queue, which is measured by this number. If this number keeps on
27 - growing, it means the machine is overloaded. The queue sizes can also be broken into CPU and IO.
25 + Each core in your machine gets a scheduler to process all instructions within the Erlang VM.
26 + Each scheduler has its own queue, which is measured by this number. If this number keeps on
27 + growing, it means the machine is overloaded. The queue sizes can also be broken into CPU and IO.
28 28 """,
29 - atoms: ~E"""
30 - If the number of atoms keeps growing even if the system load is stable, you may have an atom leak in your application.
31 - You must avoid functions such as <code>String.to_atom/1</code> which can create atoms dynamically.
29 + atoms: """
30 + If the number of atoms keeps growing even if the system load is stable, you may have an atom leak in your application.
31 + You must avoid functions such as <code>String.to_atom/1</code> which can create atoms dynamically.
32 32 """,
33 33 ports: """
34 - If the number of ports keeps growing even if the system load is stable, you may have a port leak in your application.
35 - This means ports are being opened by a parent process that never exits or never closes them.
34 + If the number of ports keeps growing even if the system load is stable, you may have a port leak in your application.
35 + This means ports are being opened by a parent process that never exits or never closes them.
36 36 """,
37 37 processes: """
38 - If the number of processes keeps growing even if the system load is stable, you may have a process leak in your application.
39 - This means processes are being spawned and they never exit.
38 + If the number of processes keeps growing even if the system load is stable, you may have a process leak in your application.
39 + This means processes are being spawned and they never exit.
40 40 """
41 41 ]
42 42
  @@ -275,7 +275,7 @@ defmodule Phoenix.LiveDashboard.HomePage do
275 275 limit: system_limits[type],
276 276 percent: percentage(system_usage[type], system_limits[type]),
277 277 dom_sub_id: "total",
278 - hint: @hints[type],
278 + hint: raw(@hints[type]),
279 279 title: Phoenix.Naming.humanize(type)
280 280 }
281 281 ]
  @@ -2,7 +2,6 @@ defmodule Phoenix.LiveDashboard.OSMonPage do
2 2 @moduledoc false
3 3 use Phoenix.LiveDashboard.PageBuilder
4 4
5 - import Phoenix.HTML
6 5 import Phoenix.LiveDashboard.Helpers
7 6
8 7 alias Phoenix.LiveDashboard.SystemInfo
  @@ -173,7 +172,7 @@ defmodule Phoenix.LiveDashboard.OSMonPage do
173 172 defp rup_avg(value, count), do: Float.ceil(value / 256 / count, 2)
174 173
175 174 defp cpu_hint(assigns) do
176 - ~E"""
175 + ~H"""
177 176 <p>The load panes show the CPU demand in the last 1, 5 and 15 minutes over all cores.</p>
178 177
179 178 <%= if @cpu_count > 0 do %>
Loading more files…