Skip to content

Kaui 4.22#603

Merged
tungleduyxyz merged 5 commits intomasterfrom
kaui_4.22
Apr 22, 2026
Merged

Kaui 4.22#603
tungleduyxyz merged 5 commits intomasterfrom
kaui_4.22

Conversation

@tungleduyxyz
Copy link
Copy Markdown
Contributor

Related issue:

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates KAUI to address several UI/UX and reliability issues, notably persisting advanced search filters across page reloads, fixing overdue-config deletion behavior, and improving account form validation/error display.

Changes:

  • Persist “Advanced Search” state in localStorage for Accounts / Invoices / Payments (and re-apply filters on load when the server didn’t set @advance_search_query).
  • Fix overdue config modification when all overdue states are deleted (delete stored config instead of erroring) and add a new success flash message.
  • Improve account form behavior and validation UX (inline error rendering, phone as text), plus minor “Advance” → “Advanced” copy updates and CSS tweaks.

Reviewed changes

Copilot reviewed 19 out of 20 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
config/locales/en.yml Adds a new flash message key for overdue updates.
app/views/kaui/payments/index.html.erb Re-applies advanced search filters on page load when restored from URL/localStorage.
app/views/kaui/payments/_payment_filterbar.html.erb Restores/saves advanced search query to localStorage; copy fix (“Advanced Search”).
app/views/kaui/payments/_multi_functions_bar.html.erb Copy fix (“Advanced Search”).
app/views/kaui/layouts/kaui_flash.html.erb Removes account-creation error rendering from global flash partial; whitespace cleanup.
app/views/kaui/layouts/kaui_application.html.erb Layout indentation/formatting cleanup.
app/views/kaui/invoices/index.html.erb Re-applies advanced search filters on page load when restored from URL/localStorage.
app/views/kaui/invoices/_multi_functions_bar.html.erb Copy fix (“Advanced Search”).
app/views/kaui/invoices/_invoice_filterbar.html.erb Restores/saves advanced search query to localStorage; copy fix (“Advanced Search”).
app/views/kaui/bundles/index.html.erb Copy fix (“Advanced Search”).
app/views/kaui/bundles/_bundle_filterbar.html.erb Copy fix (“Advanced Search”).
app/views/kaui/accounts/new.html.erb Shows model validation errors on the form and fixes URL after failed create.
app/views/kaui/accounts/index.html.erb Re-applies advanced search filters on page load when server didn’t set @advance_search_query.
app/views/kaui/accounts/edit.html.erb Shows model validation errors on the edit form.
app/views/kaui/accounts/_form_account.html.erb Changes phone input from number to text to allow non-numeric values.
app/views/kaui/accounts/_account_filterbar.html.erb Restores/saves advanced search query to localStorage; copy fix (“Advanced Search”).
app/controllers/kaui/admin_tenants_controller.rb Handles “delete all overdue states” by deleting stored config instead of uploading invalid/empty config.
app/assets/stylesheets/kaui/subscription.css Copy fix in CSS comment (“Advanced Search”).
app/assets/stylesheets/kaui/common.css Adds .field_with_errors { display: contents; } and tweaks spacing.
app/assets/javascripts/kaui/multi_functions_bar_utils.js Clears persisted advanced search on “clear” and keeps localStorage in sync when removing filters.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/views/kaui/payments/index.html.erb Outdated
Comment thread app/views/kaui/invoices/index.html.erb Outdated
Comment thread app/views/kaui/accounts/index.html.erb Outdated
@tungleduyxyz tungleduyxyz requested a review from pierre April 20, 2026 16:54
@tungleduyxyz tungleduyxyz merged commit 4a0ce03 into master Apr 22, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants