1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 21:45:23 +02:00

Improve account internal linking and redirect behavior (#864)

* Fix transaction row link and overflow

* Allow user to access imports from account page

* Clean up accounts controller, add link to account page from settings

* Add link to accounts management from accounts summary page

* Cleanup styles
This commit is contained in:
Zach Gollwitzer 2024-06-11 18:47:38 -04:00 committed by GitHub
parent 8372e26864
commit c5704ffd45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 86 additions and 62 deletions

View file

@ -1,11 +1,6 @@
<div class="space-y-4">
<div class="flex items-center justify-between">
<h1 class="text-xl font-medium text-gray-900">Accounts</h1>
<%= link_to new_account_path, class: "flex text-white text-sm font-medium items-center gap-1 bg-gray-900 rounded-lg p-2 pr-3", data: { turbo_frame: "modal" } do %>
<%= lucide_icon("plus", class: "w-5 h-5") %>
<span><%= t(".new") %></span>
<% end %>
</div>
<%= render "header" %>
<% if @accounts.empty? %>
<%= render "shared/no_account_empty_state" %>