Kaui 4.22#603
Merged
tungleduyxyz merged 5 commits intomasterfrom Apr 22, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
localStoragefor 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: