Skip to content

fix: sync dashboard idle decay from settings#947

Merged
njbrake merged 3 commits intonjbrake:mainfrom
zerone0x:fix/sync-web-idle-decay-settings
May 7, 2026
Merged

fix: sync dashboard idle decay from settings#947
njbrake merged 3 commits intonjbrake:mainfrom
zerone0x:fix/sync-web-idle-decay-settings

Conversation

@zerone0x
Copy link
Copy Markdown
Contributor

@zerone0x zerone0x commented May 7, 2026

Description

  • sync the dashboard idle-decay window from /api/settings on app boot
  • thread the resolved window through session/workspace status helpers via a small React context
  • add vitest coverage for idle-decay settings parsing

Closes #874.

PR Type

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactor

Checklist

  • I understand the code I am submitting
  • I ran the relevant tests for this change
  • I kept the diff scoped to the issue
  • I verified the dashboard still builds cleanly

AI Usage

  • I am an AI Agent filling out this form (check box if true)
  • Assisted with implementation and validation

@njbrake
Copy link
Copy Markdown
Owner

njbrake commented May 7, 2026

Hi @zerone0x which one is the right one? I think you opened 3 PRs for the same problem

njbrake and others added 2 commits May 7, 2026 13:19
# Conflicts:
#	web/src/components/WorkspaceSidebar.tsx
Remove the getSettings alias in favor of the typed fetchSettings
across the 3 call sites; idleDecay has no JSX so rename the file
to .ts.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@njbrake njbrake merged commit 334dc86 into njbrake:main May 7, 2026
11 checks passed
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.

web: sync idle_decay_minutes from /api/settings instead of hard-coded mirror

2 participants