Skip to content

fix(accounts): one scheduling switch, next to the status column - #213

Merged
HTExplicit merged 1 commit into
mainfrom
fix/accounts-status-schedule-merge
Sep 28, 2026
Merged

HTExplicit merged 1 commit into
mainfrom
fix/accounts-status-schedule-merge

Conversation

@HTExplicit

Copy link
Copy Markdown
Owner

Summary

The accounts table showed two switches for the same thing: the status column carried a copy of the schedulable switch
(added in the fork on 2026-07-29) and the schedulable column had its own; both called handleToggleSchedulable. The
site owner asked to merge them the way official sub2api does.

Following upstream v0.2.9 (AccountsView.vue status / schedulable cells):

  • the status column shows the status badge only (plus the fork's last-upstream-error badge, kept for admin visibility);
  • the single switch lives in the schedulable column, which now sits right after the status column, as upstream orders
    them. Default hidden columns are unchanged, so the switch stays visible by default.

Frontend only: AccountsView.vue and the column-order expectation in AccountsView.console.spec.ts.

Verification

  • eslint on both files: 0 problems; vitest run src/views/admin/__tests__/AccountsView.console.spec.ts: 17 passed.
  • Real-page preview against production data (read-only proxy): accounts table light/dark at 1440 and 390 — status
    badge and one switch side by side, pixel text contrast unchanged (min 4.63 light / 5.04 dark).

🤖 Generated with Claude Code

The status column carried a second copy of the schedulable switch (added
in the fork on 2026-07-29); both called the same toggle. Follow upstream:
the status column shows the status badge (plus the last upstream error
badge) and the single switch lives in the schedulable column, placed
right after the status column as upstream orders them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HTExplicit
HTExplicit merged commit a3bca48 into main Sep 28, 2026
18 checks passed
@HTExplicit
HTExplicit deleted the fix/accounts-status-schedule-merge branch September 28, 2026 10:22
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.

1 participant