Repository navigation
Feat/elo - #23
Feat/elo#23deadlyjack wants to merge 13 commits into
Conversation
Co-authored-by: Ajit Kumar <dellevenjack@gmail>
- Require TCF Purpose 1 consent plus consent or legitimate interest for Purposes 2 and 7 before ads, on both the Android file fallback and host snapshots that include purpose bits. Reject non-string purpose values; a missing or empty LI value pauses ads instead of denying. - Parse IABTCF_PurposeLegitimateInterests from the UMP preferences file. - Make opt-in ownership private behind offerOptIn()/releaseOptIn(), notify other tabs when it changes, and release it when the owner chat's last tab closes. - Extend the Android E2E to assert LI bits and exercise Manage options choices, with resilient startup discovery. - Stop shipping contributing.md in plugin.zip; CI checks the packaged readme and changelog names from plugin.json. - Update contributing.md and simplify the 0.6.0 changelog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B2v4xwEEmZKnfL7LU8JFaH
| } | ||
|
|
||
| override async trackImpression(ad: AdCreative) { | ||
| if (!(await this.canTrack(ad))) return false; |
There was a problem hiding this comment.
If canTrack fails here for a temporary reason (the two preference-file reads differ while UMP is flushing, the 3s consent timeout, or a getState error), this returns false and the impression is never retried while the card stays on screen. mountEloAd only re-arms its one-second dwell timer when the card crosses the 50% visibility threshold, so nothing calls trackImpression again until the card leaves view or the app is backgrounded. budget.viewed is skipped too.
Consider retrying after a short delay while the view's signal is still live, or remounting the view on the next successful consent read.
| reconnecting = false; | ||
| } | ||
| }; | ||
| setMode("NORMAL", reconnect); |
There was a problem hiding this comment.
When the user's keyboardMode is already "NORMAL", this still switches the mode and runs reconnect, which blurs and refocuses the editor on every composer focus. The keyboard can flicker and the selection is torn down and restored for no change in input type.
Return early (leaving restoreMode unset) when mode === "NORMAL".
No description provided.