Skip to content

Conversation

@lcomplete
Copy link
Owner

Summary

  • Add graceful handling when Huntly server connection fails - shows warning and allows AI features to work with external providers
  • Hide Huntly AI option in toolbar when server is not connected
  • Fix shortcuts_preview message being sent twice by adding skipPreview flag when preview is already open
  • Bump extension version to 0.5.2
  • Add jtsang4 to sponsors list

Test plan

  • Test extension with server unreachable - verify warning message appears and external AI providers still work
  • Test extension with server connected - verify Huntly AI option appears in toolbar
  • Test AI shortcut execution from preview - verify no duplicate preview messages
  • Verify sponsor displays correctly in README files

🤖 Generated with Claude Code

lcomplete and others added 3 commits January 30, 2026 22:38
- Add graceful handling when Huntly server connection fails, showing
  warning and allowing AI features to work with external providers
- Hide Huntly AI option in toolbar when server is not connected
- Fix shortcuts_preview message being sent twice by adding skipPreview
  flag when preview is already open
- Bump extension version to 0.5.2
- Add jtsang4 to sponsors list

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@lcomplete lcomplete merged commit d7a5603 into main Jan 31, 2026
1 check passed
@augmentcode
Copy link

augmentcode bot commented Jan 31, 2026

🤖 Augment PR Summary

Summary: Improves the extension’s resilience when the Huntly server can’t be reached, while keeping AI features usable via external providers.

Changes:

  • Adds popup handling for server connection failures (warning UI + hide Huntly-server model selection when disconnected).
  • Adds a skipPreview flag to prevent duplicate shortcuts_preview messages when executing shortcuts from an already-open preview.
  • Updates extension manifest description and bumps the version to 0.5.2; adds a new sponsor entry.
  • Updates the release workflow to stop building/uploading the Firefox extension bundle.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 3 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

{/* Server configured but not signed in and server is reachable */}
{
!loadingUser && storageSettings?.serverUrl && !username && <div>
!loadingUser && storageSettings?.serverUrl && !username && !serverConnectionFailed && <div>
Copy link

Choose a reason for hiding this comment

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

When serverConnectionFailed is true, the sign-in CTA is hidden entirely; if the outage is transient, the user can’t retry sign-in without closing/reopening the popup. Consider whether a retry/sign-in path should still be available in this state.

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

{/* Server configured and signed in, no server configured (read-only mode), or server connection failed */}
{
!loadingUser && (username || !storageSettings?.serverUrl) && <div>
!loadingUser && (username || !storageSettings?.serverUrl || serverConnectionFailed) && <div>
Copy link

Choose a reason for hiding this comment

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

Including serverConnectionFailed in this branch means the RSS subscription UI will still render and call server APIs (previewFeed/subscribeFeed), which will likely error and may confuse users. It might be worth gating RSS subscription similarly or surfacing a clearer “server required” message.

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

onShortcutClick={handleAIShortcutClick}
isProcessing={processingShortcut}
compact={true}
hideHuntlyAI={serverConnectionFailed}
Copy link

Choose a reason for hiding this comment

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

Nice use of hideHuntlyAI here, but the preview window (ArticlePreview) also renders AIToolbar and may still show huntly-server models even when the popup detected a connection failure. If the intent is to hide Huntly AI whenever the server isn’t reachable, you may need to propagate that state into the preview as well.

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

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