Skip to content

Conversation

@thbar
Copy link
Contributor

@thbar thbar commented Sep 4, 2025

En cours:

Changelogs

(initially generated with elixir generate_deps_changelogs.exs)

Soucis introduits par mix format

    warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
    │
 77 │       %{order_by: ^order_by} -> ~H{<span class="activefilter">{@msg\}</span>}
    │                                                                    ~
    │
    └─ lib/transport_web/views/dataset_view.ex:77:68

    warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
    │
 90 │       ~H{<span class="activefilter">{dgettext("page-shortlist", "All (feminine)")\} ({@count\})</span>}
    │                                                                                  ~
    │
    └─ lib/transport_web/views/dataset_view.ex:90:82

    warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
    │
 90 │       ~H{<span class="activefilter">{dgettext("page-shortlist", "All (feminine)")\} ({@count\})</span>}
    │                                                                                             ~
    │
    └─ lib/transport_web/views/dataset_view.ex:90:93

    warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
    │
 98 │       ~H{<span class="activefilter">{@name\} ({@count\})</span>}
    │                                           ~
    │
    └─ lib/transport_web/views/dataset_view.ex:98:43

    warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
    │
 98 │       ~H{<span class="activefilter">{@name\} ({@count\})</span>}
    │                                                      ~
    │
    └─ lib/transport_web/views/dataset_view.ex:98:54

     warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
     │
 118 │       ^url -> ~H{<span class="activefilter">{@nom\} ({@count\})</span>}
     │                                                  ~
     │
     └─ lib/transport_web/views/dataset_view.ex:118:50

     warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
     │
 118 │       ^url -> ~H{<span class="activefilter">{@nom\} ({@count\})</span>}
     │                                                             ~
     │
     └─ lib/transport_web/views/dataset_view.ex:118:61

     warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
     │
 158 │     active_filter_text = ~H{<span class="activefilter">{@msg\} ({@count\})</span>}
     │                                                             ~
     │
     └─ lib/transport_web/views/dataset_view.ex:158:61

     warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
     │
 158 │     active_filter_text = ~H{<span class="activefilter">{@msg\} ({@count\})</span>}
     │                                                                        ~
     │
     └─ lib/transport_web/views/dataset_view.ex:158:72

     warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
     │
 188 │       _ -> ~H{<span class="activefilter">{@msg\} ({@count\})</span>}
     │                                               ~
     │
     └─ lib/transport_web/views/dataset_view.ex:188:47

     warning: using \} to escape the closing of an uppercase sigil is deprecated, please use another delimiter or a lowercase sigil instead
     │
 188 │       _ -> ~H{<span class="activefilter">{@msg\} ({@count\})</span>}
     │                                                          ~
     │
     └─ lib/transport_web/views/dataset_view.ex:188:58

Warnings dans les tests

Exemple complet:

warning: Duplicate id found while testing LiveView: expiration

    <input id="expiration" name="expiration" phx-click="toggle" phx-value-action="turn_on" phx-value-dataset-id="20518" phx-value-reason="expiration" phx-value-subscription-id="" type="checkbox" value="true"/>
    <input id="expiration" name="expiration" phx-click="toggle" phx-value-action="turn_on" phx-value-dataset-id="20519" phx-value-reason="expiration" phx-value-subscription-id="" type="checkbox" value="true"/>


LiveView requires that all elements have unique ids, duplicate IDs will cause
undefined behavior at runtime, as DOM patching will not be able to target the correct
elements.

You can change this to raise and fail your test instead of warning
by passing `on_error: :raise` to `Phoenix.LiveViewTest.live/3` or
`Phoenix.LiveViewTest.live_isolated/3`.
  • warning: Duplicate id found while testing LiveView: expiration
  • warning: Duplicate id found while testing LiveView: dataset_with_error
  • warning: Duplicate id found while testing LiveView: resource_unavailable
  • warning: Duplicate id found while testing LiveView: expiration
  • warning: Duplicate id found while testing LiveView: dataset_with_error
  • warning: Duplicate id found while testing LiveView: resource_unavailable
  • warning: Duplicate id found while testing LiveView: expiration
  • warning: Duplicate id found while testing LiveView: dataset_with_error
  • warning: Duplicate id found while testing LiveView: resource_unavailable
  • warning: Duplicate id found while testing LiveView: expiration
  • warning: Duplicate id found while testing LiveView: dataset_with_error
  • warning: Duplicate id found while testing LiveView: resource_unavailable

@thbar thbar added dependencies Pull requests that update a dependency file dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité labels Sep 4, 2025
@socket-security
Copy link

socket-security bot commented Sep 4, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedmorphdom@​2.7.710010010088100
Updatedphoenix_live_view@​0.20.17 ⏵ 1.0.1892100100 +198 +2100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants