akira / exq_ui

UI Dashboard for Exq, a job processing library for Elixir. Exq UI provides the UI dashboard to display stats on job processing.
Other
155 stars 74 forks source link

Fix for the Issue Phoenix.HTML is no longer supported in v4.0 #148

Closed alexfilatov closed 4 months ago

alexfilatov commented 5 months ago
== Compilation error in file lib/exq_ui_web/views/layout_view.ex ==
** (RuntimeError) use Phoenix.HTML is no longer supported in v4.0.

To keep compatibility with previous versions, add {:phoenix_html_helpers, "~> 1.0"} to your mix.exs deps
and then, instead of "use Phoenix.HTML", you might:

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

    (phoenix_html 4.1.1) expanding macro: Phoenix.HTML.__using__/1
    lib/exq_ui_web/views/layout_view.ex:3: ExqUIWeb.LayoutView (module)
    (elixir 1.15.7) expanding macro: Kernel.use/1
    lib/exq_ui_web/views/layout_view.ex:3: ExqUIWeb.LayoutView (module)
    expanding macro: ExqUIWeb.__using__/1
    lib/exq_ui_web/views/layout_view.ex:3: ExqUIWeb.LayoutView (module)
    (elixir 1.15.7) expanding macro: Kernel.use/2
    lib/exq_ui_web/views/layout_view.ex:3: ExqUIWeb.LayoutView (module)

and bumped deps versions

ananthakumaran commented 5 months ago

@alexfilatov can you try this PR https://github.com/akira/exq_ui/pull/147 Let me know if it works for you, I can get it merged

alexfilatov commented 4 months ago

@alexfilatov can you try this PR #147 Let me know if it works for you, I can get it merged

yes, probably after package will be changed back to :exp_ui - currently it is even not compiling