Skip to content

Fix flash alert overlapping login form on auth pages - #653

Draft
tungleduyxyz wants to merge 5 commits into
masterfrom
kaui_8.12
Draft

Fix flash alert overlapping login form on auth pages#653
tungleduyxyz wants to merge 5 commits into
masterfrom
kaui_8.12

Conversation

@tungleduyxyz

@tungleduyxyz tungleduyxyz commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Related to #652, #651.

  • Repositions the .centered-absolute flash alert so it renders in normal document flow on auth pages, pushing the vertically-centered login/wallet re-authentication card down instead of overlapping it.
  • Handles a subscription referencing a plan no longer present in the currently loaded catalog gracefully on the account page: shows a non-blocking warning instead of a 500 error.

Note: opening as draft, there are still a few more related issues to address - more commits coming to this PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 aims to prevent flash/server alert banners from overlapping the vertically centered login (and similar auth) forms by changing how .centered-absolute alerts are positioned on auth-related pages.

Changes:

  • Adds an auth-page-specific CSS override intended to render .centered-absolute flash/alert banners in normal document flow (instead of absolute positioning), so the alert pushes the auth form down.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

positioned alert can overlap it depending on viewport size. Render it in
normal flow here instead, so it pushes the form down rather than
overlapping it. */
.auth-container .centered-absolute {
Reposition the .centered-absolute flash alert to render in normal
document flow on auth pages, so it pushes the vertically-centered
login/wallet re-authentication card down instead of overlapping it.

Related to #652
Rescue KillBillClient::API::ResponseError when fetching bundles in
AccountsController#show (e.g. a subscription references a plan no
longer present in the currently loaded catalog). Instead of a 500,
show a non-blocking warning and render the rest of the account page
with an empty bundles list.

Related to #651
Add overflow: hidden to .auth-container so the alert's top margin
doesn't collapse through the container and expose the page's body
background above it.

Related to #652
Add a 'Group by' dropdown (Object Type / Date) on the account timeline
page. Sorting by date uses a new timeline_sort_timestamp helper to
derive a best-effort epoch timestamp per entry (invoice target date,
transaction/event effective date), falling back to the original
grouped-by-type DOM order otherwise. Entries without a usable
timestamp sort last. Existing search/type filters still apply after
re-sorting.
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