1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-07 14:35:23 +02:00

Component namespacing (#2463)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

* [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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
182 changed files with 322 additions and 321 deletions

View file

@ -5,7 +5,7 @@
<p class="text-sm lg:text-base text-secondary">Here's what's happening with your finances</p>
</div>
<%= render LinkComponent.new(
<%= render DS::Link.new(
icon: "plus",
text: "New",
href: new_account_path,
@ -13,7 +13,7 @@
class: "hidden lg:inline-flex"
) %>
<%= render LinkComponent.new(
<%= render DS::Link.new(
variant: "icon-inverse",
icon: "plus",
href: new_account_path,

View file

@ -112,7 +112,7 @@
<% else %>
<div class="py-10 flex flex-col items-center">
<%= render FilledIconComponent.new(
<%= render DS::FilledIcon.new(
variant: :container,
icon: classification_group.icon,
) %>

View file

@ -25,14 +25,14 @@
<% else %>
<div class="h-[300px] lg:h-[340px] bg-container py-4 flex flex-col items-center justify-center">
<div class="space-y-3 text-center flex flex-col items-center">
<%= render FilledIconComponent.new(
<%= render DS::FilledIcon.new(
variant: :container,
icon: "activity" # cashflow placeholder icon
) %>
<p class="text-sm font-medium text-primary">No cash flow data for this time period</p>
<p class="text-secondary text-sm">Add transactions to display cash flow data or expand the time period</p>
<%= render LinkComponent.new(
<%= render DS::Link.new(
text: "Add transaction",
icon: "plus",
href: new_transaction_path,

View file

@ -1,13 +1,13 @@
<div class="h-[300px] lg:h-[340px] bg-container shadow-border-xs rounded-xl py-4 flex flex-col items-center justify-center">
<div class="space-y-3 text-center flex flex-col items-center">
<%= render FilledIconComponent.new(
<%= render DS::FilledIcon.new(
variant: :container,
icon: "layers",
) %>
<p class="text-sm font-medium text-primary">No accounts yet</p>
<p class="text-secondary text-sm">Add accounts to display net worth data</p>
<%= render LinkComponent.new(
<%= render DS::Link.new(
text: "Add account",
icon: "plus",
href: new_account_path,

View file

@ -26,7 +26,7 @@
<!-- Primary CTA -->
<div class="text-center space-y-4">
<%= render LinkComponent.new(
<%= render DS::Link.new(
text: "View Setup Guide",
href: "https://github.com/maybe-finance/maybe/blob/main/docs/hosting/docker.md",
variant: "primary",
@ -44,7 +44,7 @@
<div class="pt-6 border-t border-primary">
<div class="text-center space-y-3">
<p class="text-sm text-muted">Once you've configured Redis, refresh this page to continue.</p>
<%= render ButtonComponent.new(
<%= render DS::Button.new(
text: "Refresh Page",
variant: "secondary",
icon: "refresh-cw",