Component namespacing (#2463)

* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT

* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT

* Update stimulus controller references to use namespace

* Fix remaining tests
This commit is contained in:
Zach Gollwitzer
2025-07-18 08:30:00 -04:00
committed by GitHub
parent d5b147f2cd
commit ab6fdbbb68
182 changed files with 322 additions and 321 deletions

View File

@@ -1,4 +1,4 @@
<%= render DialogComponent.new do |dialog| %>
<%= render DS::Dialog.new do |dialog| %>
<% dialog.with_header(title: t(".edit", account: @account.name)) %>
<% dialog.with_body do %>
<%= render "form", account: @account, url: loan_path(@account) %>

View File

@@ -5,7 +5,7 @@
show_eu_link: @show_eu_link,
accountable_type: "Loan" %>
<% else %>
<%= render DialogComponent.new do |dialog| %>
<%= render DS::Dialog.new do |dialog| %>
<% dialog.with_header(title: t(".title")) %>
<% dialog.with_body do %>
<%= render "loans/form", account: @account, url: loans_path %>

View File

@@ -45,7 +45,7 @@
</div>
<div class="flex justify-center py-8">
<%= render LinkComponent.new(
<%= render DS::Link.new(
text: "Edit loan details",
variant: "ghost",
href: edit_loan_path(account),