Create bf - #694
Conversation
|
jmarrujo1991-lab please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Pull request overview
This pull request introduces a new root-level file (bf) containing a Wix “recorder”/Fullstory-style JavaScript/TypeScript snippet and an embedded HTML document. In the context of the Intelligent Terminal / Windows Terminal codebase, this content appears unrelated and is not in a build-consumable form.
Changes:
- Adds a new file
bfwith TS/JS exports for a “WixRecorder” wrapper around aFullstoryclient. - Embeds a full HTML page (including third-party script tags) directly inside the same file.
- Includes hard-coded user identifiers/display name/avatar URL in the embedded script content.
Suppressed comments (3)
bf:80
- HTML markup is embedded directly in this module (starting at
<!doctype html>), which makes the file unparsable by standard TS/JS tooling. This should be split into a dedicated.htmlfile (or removed) rather than being committed inline in a script module.
<!doctype html>
<html>
<head>
<title>Wix Site Creation | Wix.com</title>
<link type="image/png" href="https://www.wix.com/favicon.ico" rel="shortcut icon">
bf:116
- This commit includes hard-coded user identifiers/PII (user id, display name, and avatar URL). This should not be checked into the repository; replace with non-identifying placeholders or load dynamically at runtime.
window.__USER_ID__ = 'b3e617bc-e800-4198-8670-937149685b87';
window.__USER_DISPLAY_NAME__ = 'Jazmyne Josephine';
window.__USER_IMAGE__ = 'https://lh3.googleusercontent.com/a/ACg8ocKO7Cwru8Ct3FDhGnnssLsaujsAgwR7jZshQFjZOaZpnZlsAQ%3Ds96-c';
bf:101
- The
chat-flow-...label uses+and||without parentheses, so it will never fall back to'main'(the concatenated string is always truthy) and will produce labels likechat-flow-null. Compute the flow first and then concatenate.
window.wixRecorder.addLabel('funnel-intro-chat');
window.wixRecorder.addLabel('chat-flow-' + new URLSearchParams(window.location.search).get('flow') || 'main')
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| import Fullstory from './fullstory'; | ||
| domain=assistance.aid.com |
| @@ -0,0 +1,126 @@ | |||
| import Fullstory from './fullstory'; | |||
| @@ -0,0 +1,126 @@ | |||
| import Fullstory from './fullstory'; | |||
| window.__ARTIFACT_VERSION__ = '1.2275.0'; | ||
| window.__SENTRY_DSN__ = 'https://b22e8eacef364954891949f17db822b2@sentry-next.wixpress.com/10465'; | ||
|
|
||
| window.__EXPERIMENTS__ = atob('eyJzcGVjcy5mdW5uZWwuQ2hhdEdlbmVyYXRlRG9uZU1lc3NhZ2UiOiJmYWxzZSIsImZ1bm5lbENoYXRMZWdhbEtlZXBlclNob3J0T3V0cHV0IjoiQSIsInByZW1pdW1Eb21haW5zRmxvd0luRnVubmVsIjoiQiIsInNwZWNzLmZ1bm5lbC5TZWN0b3JUb0FwcFYyIjoiZmFsc2UiLCJmdW5uZWxDaGF0U3VnZ2VzdGlvbnMiOiJBIiwiZnVubmVsQ2hhdEl0ZXJhdGlvbkF3YXJlSW5zaWdodHNFeHRyYWN0aW9uIjoiQSIsInNwZWNzLmZ1bm5lbC5kb21haW5XaWRnZXRHZXRJdERvbmUiOiJ0cnVlIiwic3BlY3MuZnVubmVsLkNoYXRTdHJlYW1pbmdSZXNwb25zZSI6InRydWUiLCJzcGVjcy5mdW5uZWwuZW5hYmxlTmV3SGFybW9ueURlc2lnbk1vYmlsZSI6InRydWUiLCJmdW5uZWxTZWN0b3JUb0FwcFYyIjoiQSIsInNwZWNzLmZ1bm5lbC5DaGF0TWVyZ2VFZGl0QXBwc0FuZERvbmUiOiJmYWxzZSIsImZ1bm5lbENoYXRKdXN0RXhwbG9yaW5nU2tpcEFiVHJhbnNsYXRlIjoiQSIsInNwZWNzLmZ1bm5lbC5lbmFibGVIYXJtb255UmVzdGF1cmFudHNPcmRlcnMiOiJ0cnVlIiwiZnVubmVsTmV3QnVzaW5lc3NEZXNjcmlwdGlvbiI6IkIiLCJzcGVjcy5mdW5uZWwuRnVubmVsSW50cm9DaGF0RG9tYWluc1N1Z2dlc3Rpb25zV2lkZ2V0IjoidHJ1ZSIsInNwZWNzLmZ1bm5lbC5D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JmdW5uZWxDaGF0TWVyZ2VFZGl0QXBwc0FuZERvbmVNb2JpbGUiOiJBIiwiZnVubmVsSW50cm9DaGF0Q2F0ZWdvcnlTdWdnZXN0aW9uc01vYmlsZSI6IkEiLCJmdW5uZWxJbnRyb0NoYXRDYXRlZ29yeVN1Z2dlc3Rpb25zRGVza3RvcCI6IkEiLCJmdW5uZWxDaGF0TW9iaWxlSGFybW9ueVVJVjMiOiJBIiwiZnVubmVsQ29udmVyc2F0aW9uUHJvbXB0VjEwIjoiQiIsImZ1bm5lbENoYXRHb1RvSGFybW9ueVNraXBEYXNoYm9hcmQiOiJBIiwiZnVubmVsQ2hhdE5ld1dlbGNvbWVTY3JlZW4iOiJBIiwiZnVubmVsQ2hhdEZlZWRiYWNrRm9ybSI6IkEiLCJmdW5uZWxDaGF0RG9tYWluV2lkZ2V0T25FYXJseUV4aXQiOiJBIiwic3BlY3MuZnVubmVsLmVuYWJsZU5ld0hhcm1vbnlEZXNpZ24iOiJ0cnVlIiwic3BlY3MuZnVubmVsLkJ1c2luZXNzVGVybVJhbmtpbmdQcm9tcHRWNC4yIjoidHJ1ZSIsImZ1bm5lbENoYXREb21haW5XaWRnZXRBbm90aGVyRG9tYWluIjoiQSIsInNwZWNzLmZ1bm5lbC5MYW5ndWFnZXNHZXRTdGFydGVkV2lkZ2V0S2V5c0FCVGVzdCI6ImZhbHNlIiwic3BlY3MuZnVubmVsLk1vYmlsZU5ld1N0YXJ0U2NyZWVuIjoidHJ1ZSIsImZ1bm5lbENoYXREb21haW5JblNpdGVQcm9maWxlIjoiQSIsInNwZWNzLm9kZWRpdG9yLnN0YXJ0UGFnZU5ld1VpIjoiZmFsc2UifQ==') |
|
@microsoft-github-policy-service |
Summary of the Pull Request
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
PR Checklist