Add ability to create and view blocking states (#612) - #657
Open
tungleduyxyz wants to merge 9 commits into
Open
Conversation
Remove the Group by drop-down and make date-first, event-type-second the permanent default ordering. Events on the same date are ordered by the canonical eventsOrder list (e.g. START_BILLING before STOP_BILLING). Fixes #649 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements the write and read paths for Kill Bill blocking states: Read path: - Account Timeline now surfaces blocking state events (previously filtered out) - Added dedicated "Blocking States" filter alongside existing Subscription/Payment/Billing filters - CSV export includes blocking state events - New "Blocking States" index page per account (nav sidebar entry) Write path: - "Create Blocking State" form for Account, Bundle, and Subscription levels - Accessible via Account Billing Information section button, Subscriptions table row dropdown, and the new Blocking States index page - Form includes Applies To summary, State/Service fields with helper text, Block flags (Change/Entitlement/Billing), Effective Date, and Comment - "About Blocking States" info panel alongside the form (i18n strings in en.yml) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
tungleduyxyz
force-pushed
the
kaui_8.25
branch
from
August 23, 2026 16:24
372a800 to
2387ed3
Compare
tungleduyxyz
force-pushed
the
kaui_8.25
branch
from
August 23, 2026 16:46
2387ed3 to
1024d60
Compare
- Remove Blocking States left nav entry and dedicated index page (not required per ticket description; blocking states should show in the Account Timeline only) - Add START_ENTITLEMENT, START_BILLING, SERVICE_STATE_CHANGE options to the Blocking State timeline filter dropdown Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Clicking the SVG calendar icon didn't open the datepicker because the icon and input are flex siblings — click events on the icon didn't reach the input. Forwarding clicks on the wrapper div to the input via onclick fixes this. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The old logic treated blocking_state as a per-category filter, which meant: - Selecting SERVICE_STATE_CHANGE was identical to ALL (all blocking state events already have that type, so nothing changed visually) - Selecting START_ENTITLEMENT/START_BILLING hid all blocking state events (same as NONE, since no blocking_state events have those types) New behavior: - NONE: hides blocking_state category events, other category filters apply normally - ALL: no blocking-state-specific filtering, per-category filters apply as usual - Specific type (SERVICE_STATE_CHANGE/START_ENTITLEMENT/START_BILLING): shows only events matching that exact type across the whole timeline Also switches eventType/eventCategory reads from .data() to .attr() to avoid jQuery camelCase key conversion issues with hyphenated attribute names. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replace disable/enable pairs with disable-next-line directives and fix double-space after `when` keywords in custom_fields_controller. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ations" This reverts commit 25ca74b.
Prevent future CI breakage from unexpected rubocop upgrades introducing new cops. Use ~> patch-level pins so bugfixes still apply automatically. Upgrade intentionally by bumping these constraints when ready. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
tungleduyxyz
force-pushed
the
kaui_8.25
branch
from
August 29, 2026 06:35
f8a5346 to
cd2a86a
Compare
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.
Summary
Implements issue #612 — read and write paths for Kill Bill blocking states.
Read path:
next if event.event_type == 'SERVICE_STATE_CHANGE')Write path:
Test plan
BUNDLE) in the Blocking States indexSUBSCRIPTION) in the Blocking States indexaccount:updatepermission🤖 Generated with Claude Code