Repository navigation
Conversation
… Kimi/DeepSeek Send All - Add Gemini header account selector (Default, /u/0..4) persisted in sync storage and preserve /u/<n> across refresh, Temporary Chat exit, New Chat URL fallbacks, and Open in New Tab - Intercept same-origin Google /u/<n> and ?authuser=<n> target=_blank/_top links inside Multi-Panel frames so account switching stays in-frame - Fix Kimi Lexical multiline prompt truncation via cancelable paste injection, tighten Kimi/DeepSeek send & input selectors, and retry slow disabled-to-enabled send buttons - Re-target all panels on Send All after partial image fill failures with fallbackImages and sync React main-world _valueTracker across isolated worlds so cleared DeepSeek composers re-populate cleanly Refs: #118
…All fallback handling - Scope Gemini account index per panel so side-by-side Gemini panels do not clobber or reload each other while keeping sync storage as default for new panels - Revert out-of-scope AI Studio and Google account URL hunks and narrow Gemini _blank interception to genuine account-switch links - Report attemptedImageIds on failed cleared-composer fallback retries and support fallbackImages on Custom Web and Custom API panels - Make inputEndsWithText block-line aware, scope composer attachment checks, narrow DeepSeek icon send selectors, and track DeepSeek preview baselines independently Refs: #118
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses the functional bugs reported in #118 and
#issuecomment-7041754894:In-panel Gemini multi-account support (
/u/<n>).panel-gemini-account-selectcontrol (Default,/u/0../u/4) to Gemini panel headers, scoped independently per panel so side-by-side Gemini panels can use different Google accounts without reloading or clobbering each other (chrome.storage.sync.geminiAccountIndexserves as the default for newly opened Gemini panels, and per-panel selections survive Tab/Popup fallback handoffs)./u/<n>paths across Refresh, Temporary Chat exit,NEW_CHATURL fallbacks, and Open in New Tab (isProviderCurrentUrl,getProviderOpenUrl,getProviderFallbackUrl)./u/<n>/app,?authuser=<n>, or cross-account/u/<n>links) markedtarget="_blank"/_topinside Multi-Panel frames so switching accounts stays inside the panel instead of opening an external browser tab, while leaving same-account conversation deep links untouched.Kimi & DeepSeek
Send Allreliability and cleared-composer recovery[data-lexical-editor="true"]) multiline prompt truncation by dispatching a cancelableClipboardEvent('paste')withtext/plainfor atomic multiline insertion (with microtask verification +execCommand/ DOM fallback when unhandled), and makesinputEndsWithTextblock-line aware (<p>/<br>) to prevent duplicate multiline insertion on retry..ds-icon-buttoncontrols while DeepSeek's primary send button is disabled, and addsscheduleAutoSubmitretries for slow disabled-to-enabled send buttons._valueTrackeracross Chrome's isolated-world content-script boundary when re-filling previously touched<textarea>controls so cleared DeepSeek composers do not stay empty/null on subsequent sends.Send All(autoSubmit === true) fromRetry Failed(#fill-input-btn,autoSubmit === false) after partial image-fill failures:Retry Failedcontinues targeting only failed panels, whileSend Allreaches all panels withfallbackImages(supported across built-in, Custom Web, and Custom API panels, withattemptedImageIdstracking on partial fallback failures) so any panel manually cleared by the user is cleanly re-populated without duplicating untouched panels.Refs #118
Verification
npm test -- --run— 94 test files passed (1,304 tests)npx playwright test --workers=1 tests/e2e/issue-118-multi-account-and-send-all.e2e.test.js tests/e2e/chatgpt-send-all.e2e.test.js tests/e2e/image-fill-focus.e2e.test.js tests/e2e/aistudio-content-scripts.e2e.test.js tests/e2e/custom-provider-temp-chat-and-images.e2e.test.js tests/e2e/open-mode-switch.e2e.test.js tests/e2e/temporary-chat.e2e.test.js— all passedgit diff --check— passed