Skip to content

feat: add session warning hours to settings ui#45

Merged
4regab merged 7 commits into4regab:mainfrom
n-r-w:warning_option
Feb 21, 2026
Merged

feat: add session warning hours to settings ui#45
4regab merged 7 commits into4regab:mainfrom
n-r-w:warning_option

Conversation

@n-r-w
Copy link
Contributor

@n-r-w n-r-w commented Feb 20, 2026

image

Copilot AI review requested due to automatic review settings February 20, 2026 20:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a configurable “session warning” threshold to the TaskSync settings UI so users can control (or disable) the one-time long-running session warning.

Changes:

  • Introduced a new tasksync.sessionWarningHours setting (0–8) and wired it into configuration loading/updates.
  • Updated the session timer warning logic to use the configured threshold and improved warning message text.
  • Extended the webview settings modal to display and update the new setting.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tasksync-chat/src/webview/webviewProvider.ts Adds the new setting to webview messaging/config sync and uses it to drive session warning behavior.
tasksync-chat/package.json Declares the new tasksync.sessionWarningHours configuration property and constraints.
tasksync-chat/media/webview.js Adds settings UI controls and message handling for editing sessionWarningHours in the modal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@n-r-w n-r-w marked this pull request as draft February 20, 2026 21:16
@n-r-w n-r-w marked this pull request as ready for review February 20, 2026 21:43
@4regab
Copy link
Owner

4regab commented Feb 21, 2026

I'm currently testing the changes you have made. I will use this branch to add the changes I will make as well

@4regab 4regab merged commit a7a45b7 into 4regab:main Feb 21, 2026
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.

3 participants