Skip to content

feat(custom-web): support temporary chat toggling and image uploads - #110

Merged
Manho merged 1 commit into
mainfrom
fix/custom-web-temp-chat-and-images
Nov 13, 2026
Merged

Manho merged 1 commit into
mainfrom
fix/custom-web-temp-chat-and-images

Conversation

@Manho

@Manho Manho commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Enable Temporary Chat toggling (ENABLE_TEMP_CHAT / DISABLE_TEMP_CHAT) for Custom Web UI providers (including Perplexity's incognito toggle and sticky pplx.is-incognito cookie state, as well as generic Temporary Chat / aria-pressed / aria-checked / role="switch" controls).
  • Enable single and multi-image uploads (INJECT_TEXT_WITH_IMAGES) and attachment clearing (CLEAR_INPUT with clearImages: true) in custom-provider-driver.js via <input type="file"> with ClipboardEvent('paste') / DragEvent('drop') fallbacks and async upload settle detection.
  • Gracefully fall back to text-only injection with localized "Images were not sent to: ..." notification when a custom web provider has no image upload surface (reason: 'unsupported').

Verification

  • Unit & integration tests: npx vitest run (92 files, 1260 tests passed)
  • Extension E2E tests: npx playwright test (including tests/e2e/custom-provider-temp-chat-and-images.e2e.test.js)

@Manho
Manho merged commit 3346ea6 into main Nov 13, 2026
2 checks passed
@Manho
Manho deleted the fix/custom-web-temp-chat-and-images branch November 13, 2026 11:38
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