Skip to content

Bot detector#106

Open
veronika-tseleva-cleantalk wants to merge 5 commits into
devfrom
bot-detector
Open

Bot detector#106
veronika-tseleva-cleantalk wants to merge 5 commits into
devfrom
bot-detector

Conversation

@veronika-tseleva-cleantalk
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown

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

This PR adjusts bot detector loading so it is skipped when a stored SpotFix session exists, and updates the distributable bundle accordingly.

Changes:

  • Gates loadBotDetector() behind a spotfix_session_id check.
  • Updates the generated widget bundle with the same initialization change.
  • Reorders the generated embedded CSS declaration in the bundle.

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated 1 comment.

File Description
js/src/main.js Adds session-based conditional loading for the bot detector.
dist/doboard-widget-bundle.js Reflects the source initialization change in the distributable bundle.

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

Comment thread js/src/main.js
Copilot AI review requested due to automatic review settings May 15, 2026 14:52
Copy link
Copy Markdown

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 1 out of 4 changed files in this pull request and generated 1 comment.

Comment thread js/src/main.js
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