Skip to content

feat(accounts): add compact quota row display toggle#539

Closed
cani1989 wants to merge 7 commits into
Soju06:mainfrom
cani1989:codex/issue-520-codex-lb-dev
Closed

feat(accounts): add compact quota row display toggle#539
cani1989 wants to merge 7 commits into
Soju06:mainfrom
cani1989:codex/issue-520-codex-lb-dev

Conversation

@cani1989

@cani1989 cani1989 commented May 3, 2026

Copy link
Copy Markdown

Summary

  • add a compact account row appearance preference with 5H, W, and Both, defaulting to Both
  • keep the overview list showing reset countdowns and next-reset sorting
  • update the accounts overview tests and appearance-settings coverage

Fixes #520

Validation

  • CI=1 ./node_modules/.bin/vitest run --reporter=dot src/features/settings/components/appearance-settings.test.tsx src/features/accounts/components/account-list-item.test.tsx src/hooks/use-account-quota-display.test.ts
  • ./node_modules/.bin/eslint src/features/settings/components/appearance-settings.tsx src/features/settings/components/appearance-settings.test.tsx src/features/accounts/components/account-list-item.tsx src/features/accounts/components/account-list-item.test.tsx src/hooks/use-account-quota-display.ts src/hooks/use-account-quota-display.test.ts
  • git diff --check
  • dev codex-lb-dev rebuilt from commit 35f8597 and health checked
Screenshot 2026-05-03 at 07 57 55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 35f8597942

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread frontend/src/features/accounts/components/account-list.tsx Outdated
Comment thread frontend/src/features/accounts/components/account-list.tsx Outdated
@Soju06

Soju06 commented May 15, 2026

Copy link
Copy Markdown
Owner

Hi @cani1989 — thanks for the contribution!

Just a heads up: PR #562 (feat(accounts): split compact quota row display, merged 2026-05-09) landed the same feature — the compact quota row toggle for accounts. So this PR is now superseded.

I think we can close this one. Let me know if you'd like to salvage anything specific from your version first.

@cani1989

Copy link
Copy Markdown
Author

@Soju06 Great - Can I be added as contributor as well?

@Komzpa

Komzpa commented May 16, 2026

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b86fd4bbb7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

target.id_token_encrypted = source.id_token_encrypted
target.last_refresh = source.last_refresh
target.status = source.status
target.priority = source.priority

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve existing priority during account upsert

Updating an existing account via import or OAuth currently overwrites any manually assigned priority because _apply_account_updates always copies source.priority into the persisted row. Both AccountsService.import_account and OauthService construct source accounts with priority=AccountPriority.SILVER, so a user who sets an account to gold/bronze will lose that setting on the next re-import/reauth. This breaks priority routing behavior and makes priority updates non-durable.

Useful? React with 👍 / 👎.

@Komzpa Komzpa added 🤖 codex: needs work [@codex review] raised an issue 🤖 codex: ok [@codex review] says no issues found. and removed 🤖 codex: needs work [@codex review] raised an issue 🤖 codex: ok [@codex review] says no issues found. labels May 16, 2026
@Soju06

Soju06 commented May 21, 2026

Copy link
Copy Markdown
Owner

Maintainer cleanup: closing this as stale / no longer merge-ready against the current main.

This PR has been open across substantial main-branch churn and is currently carrying at least one stale signal (conflicts/blocked or failing checks, outstanding codex: needs work, draft/old branch state, or overlap with newer/current implementation). Keeping it open is making the PR queue harder to reason about.

If the change is still needed, please open a fresh, focused PR rebased on current main with green CI and a clean Codex review.

@Soju06 Soju06 closed this May 21, 2026
@Komzpa Komzpa added the superseded Replaced by another PR, issue track, or merged implementation label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 codex: needs work [@codex review] raised an issue superseded Replaced by another PR, issue track, or merged implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accounts - Compact quota row display toggle

3 participants