update broken docs links

This commit is contained in:
Ghaida Bouchaala 2025-02-28 15:50:49 +01:00
parent 597cbfa03a
commit d43f22c845
18 changed files with 338 additions and 511 deletions

View file

@ -83,7 +83,7 @@ function CustomFields(props) {
<div className="text-base text-disabled-text flex px-5 items-center my-3">
<Icon name="info-circle-fill" className="mr-2" size={16} />
See additonal user information in sessions.
<a href="https://docs.openreplay.com/installation/metadata" className="link ml-1" target="_blank">Learn more</a>
<a href="https://docs.openreplay.com/en/session-replay/metadata" className="link ml-1" target="_blank">Learn more</a>
</div>
<Loader loading={loading}>

View file

@ -68,7 +68,7 @@ const CustomFields = () => {
<div className="text-base text-disabled-text flex px-5 items-center my-3">
<Icon name="info-circle-fill" className="mr-2" size={16} />
See additional user information in sessions.
<a href="https://docs.openreplay.com/installation/metadata" className="link ml-1" target="_blank">
<a href="https://docs.openreplay.com/en/session-replay/metadata" className="link ml-1" target="_blank">
Learn more
</a>
</div>

View file

@ -49,7 +49,7 @@ const AssistDoc = () => {
<div className="py-5">{renderActiveTab()}</div>
<DocLink className="mt-4" label="Install Assist" url="https://docs.openreplay.com/installation/assist" />
<DocLink className="mt-4" label="Install Assist" url="https://docs.openreplay.com/plugins/assist" />
</div>
</div>
);

View file

@ -121,7 +121,7 @@ const Sites = () => {
actionButton={
<TextLink
icon="book"
href="https://docs.openreplay.com/installation"
href="https://docs.openreplay.com/deployment/setup-or"
label="Installation Docs"
/>
}

View file

@ -39,7 +39,7 @@ function IdentifyUsersTab(props: Props) {
</div>
<a
href={`https://docs.openreplay.com/en/installation/identify-user${platform.value === "web" ? "/#with-npm" : "/#with-ios-app"}`}
href={`https://docs.openreplay.com/en/session-replay/identify-user${platform.value === "web" ? "/#with-npm" : "/#with-ios-app"}`}
target="_blank"
>
<AntButton size={'small'} type={'text'} className="ml-2 flex items-center gap-2">

View file

@ -40,7 +40,7 @@ function InstallOpenReplayTab(props: Props) {
<ProjectFormButton />
</div>
</div>
<a href={"https://docs.openreplay.com/en/using-or/"} target="_blank">
<a href={"https://docs.openreplay.com/en/sdk/using-or/"} target="_blank">
<AntButton size={"small"} type={"text"} className="ml-2 flex items-center gap-2">
<Icon name={"question-circle"} />
<div className={"text-main"}>See Documentation</div>

View file

@ -19,7 +19,7 @@ function ManageUsersTab(props: Props) {
</div>
<a
href="https://docs.openreplay.com/en/tutorials/adding-users/"
href="https://docs.openreplay.com/en/deployment/invite-team-members/"
target="_blank"
>
<AntButton size={'small'} type={'text'} className="ml-2 flex items-center gap-2">

View file

@ -88,7 +88,7 @@ function InstallDocs({ site }) {
<div className="mb-2 text-sm">
Otherwise, if your web app is <strong>Server-Side-Rendered (SSR)</strong> (i.e.
NextJS, NuxtJS),{' '}
<a className={'text-main'} href={'https://docs.openreplay.com/en/using-or/next/'}>consider async imports</a>
<a className={'text-main'} href={'https://docs.openreplay.com/en/sdk/using-or/next/'}>consider async imports</a>
or cjs version of the library:
</div>
<div className={cn(stl.snippetWrapper)}>

View file

@ -10,7 +10,7 @@ function Metadata () {
const metaLength = Object.keys(metadata).length;
if (metaLength === 0) {
return (
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/installation/metadata" target="_blank" className="link">how to use Metadata</a> if you havent yet done so.</span>)
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/en/session-replay/metadata" target="_blank" className="link">how to use Metadata</a> if you havent yet done so.</span>)
)
}
return (

View file

@ -10,7 +10,7 @@ function Metadata () {
const metaLength = Object.keys(metadata).length;
if (metaLength === 0) {
return (
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/installation/metadata" target="_blank" className="link">how to use Metadata</a> if you havent yet done so.</span>)
(<span className="text-sm color-gray-medium">Check <a href="https://docs.openreplay.com/en/session-replay/metadata" target="_blank" className="link">how to use Metadata</a> if you havent yet done so.</span>)
)
}
return (

View file

@ -142,7 +142,7 @@ function ExceptionsCont() {
<a
className="color-teal underline"
target="_blank"
href="https://docs.openreplay.com/installation/upload-sourcemaps"
href="https://docs.openreplay.com/deployment/upload-sourcemaps"
>
Upload Source Maps{' '}
</a>

View file

@ -110,7 +110,7 @@ function FetchTabs({ resource, isSpot }: Props) {
<div className="mt-6 text-base font-normal">
Body is empty or not captured.
{' '}
<a href="https://docs.openreplay.com/installation/network-options" className="link" target="_blank">
<a href="https://docs.openreplay.com/en/sdk/network-options" className="link" target="_blank">
Configure
</a>
{' '}
@ -142,7 +142,7 @@ function FetchTabs({ resource, isSpot }: Props) {
<div className="mt-6 text-base font-normal">
Body is empty or not captured.
{' '}
<a href="https://docs.openreplay.com/installation/network-options" className="link" target="_blank">
<a href="https://docs.openreplay.com/en/sdk/network-options" className="link" target="_blank">
Configure
</a>
{' '}

View file

@ -4,7 +4,7 @@ import { Button, Icon } from 'UI';
import { observer } from 'mobx-react-lite';
import { useStore } from 'App/mstore';
const docLink = 'https://docs.openreplay.com/installation/upload-sourcemaps';
const docLink = 'https://docs.openreplay.com/deployment/upload-sourcemaps';
interface Props {
fetchErrorStackList: any;

View file

@ -21,7 +21,7 @@ const stepsMap: any = {
title: '🧑‍💻 Invite Team Members',
status: 'pending',
description: 'Invite team members, collaborate and start improving your app now.',
docsLink: 'https://docs.openreplay.com/en/tutorials/adding-users/',
docsLink: 'https://docs.openreplay.com/en/deployment/invite-team-members/',
url: 'team',
},
Integrations: {

105
spot/package-lock.json generated
View file

@ -1,19 +1,19 @@
{
"name": "wxt-starter",
"version": "1.0.0",
"version": "1.0.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "wxt-starter",
"version": "1.0.0",
"version": "1.0.9",
"hasInstallScript": true,
"dependencies": {
"@neodrag/solid": "^2.0.4",
"@openreplay/network-proxy": "^1.0.3",
"@thedutchcoder/postcss-rem-to-px": "^0.0.2",
"autoprefixer": "^10.4.19",
"install": "^0.13.0",
"lucide-solid": "^0.408.0",
"npm": "^10.8.1",
"postcss": "^8.4.38",
"prettier": "^3.3.2",
@ -25,7 +25,7 @@
"@wxt-dev/module-solid": "^1.1.2",
"daisyui": "^4.12.10",
"typescript": "^5.4.5",
"wxt": "0.19.7"
"wxt": "0.19.10"
}
},
"node_modules/@aklinker1/rollup-plugin-visualizer": {
@ -1023,6 +1023,11 @@
"node": ">= 8"
}
},
"node_modules/@openreplay/network-proxy": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@openreplay/network-proxy/-/network-proxy-1.0.3.tgz",
"integrity": "sha512-vm/x8Ioo1BKJIyZf58tK44CgtzHA0tIwu2uZ2WdIzrBOODF+A2qV4mELC8Zdp9WqV1O7uxXGaA4J38HU3th14g=="
},
"node_modules/@pkgjs/parseargs": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
@ -1435,6 +1440,16 @@
"@babel/types": "^7.20.7"
}
},
"node_modules/@types/chrome": {
"version": "0.0.269",
"resolved": "https://registry.npmjs.org/@types/chrome/-/chrome-0.0.269.tgz",
"integrity": "sha512-vF7x8YywnhXX2F06njQ/OE7a3Qeful43C5GUOsUksXWk89WoSFUU3iLeZW8lDpVO9atm8iZIEiLQTRC3H7NOXQ==",
"dev": true,
"dependencies": {
"@types/filesystem": "*",
"@types/har-format": "*"
}
},
"node_modules/@types/estree": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
@ -1442,6 +1457,27 @@
"dev": true,
"license": "MIT"
},
"node_modules/@types/filesystem": {
"version": "0.0.36",
"resolved": "https://registry.npmjs.org/@types/filesystem/-/filesystem-0.0.36.tgz",
"integrity": "sha512-vPDXOZuannb9FZdxgHnqSwAG/jvdGM8Wq+6N4D/d80z+D4HWH+bItqsZaVRQykAn6WEVeEkLm2oQigyHtgb0RA==",
"dev": true,
"dependencies": {
"@types/filewriter": "*"
}
},
"node_modules/@types/filewriter": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/@types/filewriter/-/filewriter-0.0.33.tgz",
"integrity": "sha512-xFU8ZXTw4gd358lb2jw25nxY9QAgqn2+bKKjKOYfNCzN4DKCFetK7sPtrlpg66Ywe3vWY9FNxprZawAh9wfJ3g==",
"dev": true
},
"node_modules/@types/har-format": {
"version": "1.2.16",
"resolved": "https://registry.npmjs.org/@types/har-format/-/har-format-1.2.16.tgz",
"integrity": "sha512-fluxdy7ryD3MV6h8pTfTYpy/xQzCFC7m89nOH9y94cNqJ1mDIDPut7MnRHI3F6qRmh/cT2fUjG1MLdCNb4hE9A==",
"dev": true
},
"node_modules/@types/http-cache-semantics": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz",
@ -5085,15 +5121,6 @@
"integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
"license": "ISC"
},
"node_modules/lucide-solid": {
"version": "0.408.0",
"resolved": "https://registry.npmjs.org/lucide-solid/-/lucide-solid-0.408.0.tgz",
"integrity": "sha512-YJslzmGotW/s69Zygp1W+hIYnZSLihylufxZWXTARSh+ruILyRnXZlTxQiTiYhPLqyd0YWOanxou0HukRhjUng==",
"license": "ISC",
"peerDependencies": {
"solid-js": "^1.4.7"
}
},
"node_modules/magic-string": {
"version": "0.30.11",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz",
@ -5787,8 +5814,6 @@
},
"node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
"inBundle": true,
"license": "MIT",
"dependencies": {
@ -6477,8 +6502,6 @@
},
"node_modules/npm/node_modules/cross-spawn/node_modules/which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -6524,8 +6547,6 @@
},
"node_modules/npm/node_modules/debug/node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"inBundle": true,
"license": "MIT"
},
@ -6600,8 +6621,6 @@
},
"node_modules/npm/node_modules/foreground-child": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz",
"integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -7194,8 +7213,6 @@
},
"node_modules/npm/node_modules/minipass-flush/node_modules/minipass": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -7220,8 +7237,6 @@
},
"node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -7246,8 +7261,6 @@
},
"node_modules/npm/node_modules/minipass-sized/node_modules/minipass": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -7273,8 +7286,6 @@
},
"node_modules/npm/node_modules/minizlib/node_modules/minipass": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -7887,8 +7898,6 @@
},
"node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
"inBundle": true,
"license": "MIT",
"dependencies": {
@ -8032,8 +8041,6 @@
},
"node_modules/npm/node_modules/tar/node_modules/fs-minipass": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
"integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -8045,8 +8052,6 @@
},
"node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": {
"version": "3.3.6",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
"integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
"inBundle": true,
"license": "ISC",
"dependencies": {
@ -8058,8 +8063,6 @@
},
"node_modules/npm/node_modules/tar/node_modules/minipass": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
"integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
"inBundle": true,
"license": "ISC",
"engines": {
@ -8151,8 +8154,6 @@
},
"node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
"inBundle": true,
"license": "MIT",
"dependencies": {
@ -8195,8 +8196,6 @@
},
"node_modules/npm/node_modules/which/node_modules/isexe": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.1.tgz",
"integrity": "sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==",
"inBundle": true,
"license": "ISC",
"engines": {
@ -8242,8 +8241,6 @@
},
"node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"inBundle": true,
"license": "MIT",
"dependencies": {
@ -8278,8 +8275,6 @@
},
"node_modules/npm/node_modules/wrap-ansi/node_modules/string-width": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
"integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
"inBundle": true,
"license": "MIT",
"dependencies": {
@ -11335,13 +11330,13 @@
}
},
"node_modules/wxt": {
"version": "0.19.7",
"resolved": "https://registry.npmjs.org/wxt/-/wxt-0.19.7.tgz",
"integrity": "sha512-nAoEYodA6Tgc93m0C4H64rUZe3WpR8aIL04L3BbmEnLfAfaLARKIELHBCOTr0m+6maMsAlppKVvX9O7n0Lg2/Q==",
"version": "0.19.10",
"resolved": "https://registry.npmjs.org/wxt/-/wxt-0.19.10.tgz",
"integrity": "sha512-lX/dzAaau79SDsU7QZKUgxJUf9nBsaQXMiqsDNgGoqZO1wrRpFq0kijcN3/mNjGbXM989VJhEl7B6f3ttxKAnQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@aklinker1/rollup-plugin-visualizer": "5.12.0",
"@types/chrome": "^0.0.269",
"@types/webextension-polyfill": "^0.10.7",
"@webext-core/fake-browser": "^1.3.1",
"@webext-core/isolated-element": "^1.1.2",
@ -11354,8 +11349,9 @@
"consola": "^3.2.3",
"defu": "^6.1.4",
"dequal": "^2.0.3",
"dotenv": "^16.4.5",
"esbuild": "^0.23.0",
"execa": "^9.3.0",
"execa": "^9.3.1",
"fast-glob": "^3.3.2",
"filesize": "^10.1.4",
"fs-extra": "^11.2.0",
@ -11374,11 +11370,13 @@
"nypm": "^0.3.9",
"ohash": "^1.1.3",
"open": "^10.1.0",
"ora": "^8.0.1",
"ora": "^8.1.0",
"perfect-debounce": "^1.0.0",
"picocolors": "^1.0.1",
"prompts": "^2.4.2",
"publish-browser-extension": "^2.1.3",
"unimport": "^3.9.1",
"scule": "^1.3.0",
"unimport": "^3.11.1",
"vite": "^5.3.5",
"vite-node": "^2.0.4",
"web-ext-run": "^0.2.1",
@ -11388,9 +11386,6 @@
"wxt": "bin/wxt.mjs",
"wxt-publish-extension": "bin/wxt-publish-extension.cjs"
},
"peerDependencies": {
"@types/chrome": "*"
},
"peerDependenciesMeta": {
"@types/chrome": {
"optional": true

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ Please use [bun](https://bun.sh/) to install and build this library. Any submitt
## Documentation
For launch options and available public methods, [refer to the documentation](https://docs.openreplay.com/installation/javascript-sdk#options)
For launch options and available public methods, [refer to the documentation](https://docs.openreplay.com/en/sdk/methods)
## Installation

View file

@ -141,7 +141,7 @@ describe('hasOpenreplayAttribute', () => {
const result = hasOpenreplayAttribute(element, 'htmlmasked')
expect(result).toBe(true)
expect(consoleWarnSpy).toHaveBeenCalledWith(
'OpenReplay: "data-openreplay-htmlmasked" attribute is deprecated. Please, use "hidden" attribute instead. Visit https://docs.openreplay.com/installation/sanitize-data for more information.',
'OpenReplay: "data-openreplay-htmlmasked" attribute is deprecated. Please, use "hidden" attribute instead. Visit https://docs.openreplay.com/en/sdk/sanitize-data for more information.',
)
})