update docs links (#3076)
This commit is contained in:
parent
f13ad8a882
commit
0a999247e4
17 changed files with 18 additions and 18 deletions
|
|
@ -39,7 +39,7 @@ const CustomFields = () => {
|
||||||
<Typography.Text>
|
<Typography.Text>
|
||||||
Attach key-value pairs to session replays for enhanced filtering, searching, and identifying relevant user
|
Attach key-value pairs to session replays for enhanced filtering, searching, and identifying relevant user
|
||||||
sessions.
|
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
|
Learn more
|
||||||
</a>
|
</a>
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ const Sites = () => {
|
||||||
actionButton={
|
actionButton={
|
||||||
<TextLink
|
<TextLink
|
||||||
icon="book"
|
icon="book"
|
||||||
href="https://docs.openreplay.com/installation"
|
href="https://docs.openreplay.com/deployment/setup-or"
|
||||||
label="Installation Docs"
|
label="Installation Docs"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ function IdentifyUsersTab(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a
|
<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"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<Button size={'small'} type={'text'} className="ml-2 flex items-center gap-2">
|
<Button size={'small'} type={'text'} className="ml-2 flex items-center gap-2">
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ function InstallOpenReplayTab(props: Props) {
|
||||||
<ProjectFormButton />
|
<ProjectFormButton />
|
||||||
</div>
|
</div>
|
||||||
</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">
|
||||||
<Button size={"small"} type={"text"} className="ml-2 flex items-center gap-2">
|
<Button size={"small"} type={"text"} className="ml-2 flex items-center gap-2">
|
||||||
<Icon name={"question-circle"} />
|
<Icon name={"question-circle"} />
|
||||||
<div className={"text-main"}>See Documentation</div>
|
<div className={"text-main"}>See Documentation</div>
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ function ManageUsersTab(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href="https://docs.openreplay.com/en/tutorials/adding-users/"
|
href="https://docs.openreplay.com/en/deployment/invite-team-members"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<Button size={'small'} type={'text'} className="ml-2 flex items-center gap-2">
|
<Button size={'small'} type={'text'} className="ml-2 flex items-center gap-2">
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ function InstallDocs({ site }) {
|
||||||
<div className="mb-2 text-sm">
|
<div className="mb-2 text-sm">
|
||||||
Otherwise, if your web app is <strong>Server-Side-Rendered (SSR)</strong> (i.e.
|
Otherwise, if your web app is <strong>Server-Side-Rendered (SSR)</strong> (i.e.
|
||||||
NextJS, NuxtJS),{' '}
|
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:
|
or cjs version of the library:
|
||||||
</div>
|
</div>
|
||||||
<div className={cn(stl.snippetWrapper)}>
|
<div className={cn(stl.snippetWrapper)}>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ function Metadata () {
|
||||||
const metaLength = Object.keys(metadata).length;
|
const metaLength = Object.keys(metadata).length;
|
||||||
if (metaLength === 0) {
|
if (metaLength === 0) {
|
||||||
return (
|
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 haven’t 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 haven’t yet done so.</span>)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ function Metadata () {
|
||||||
const metaLength = Object.keys(metadata).length;
|
const metaLength = Object.keys(metadata).length;
|
||||||
if (metaLength === 0) {
|
if (metaLength === 0) {
|
||||||
return (
|
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 haven’t 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 haven’t yet done so.</span>)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,7 @@ function ExceptionsCont() {
|
||||||
<a
|
<a
|
||||||
className="color-teal underline"
|
className="color-teal underline"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href="https://docs.openreplay.com/installation/upload-sourcemaps"
|
href="https://docs.openreplay.com/deployment/upload-sourcemaps"
|
||||||
>
|
>
|
||||||
Upload Source Maps{' '}
|
Upload Source Maps{' '}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ function FetchTabs({ resource, isSpot }: Props) {
|
||||||
<div className="mt-6 text-base font-normal">
|
<div className="mt-6 text-base font-normal">
|
||||||
Body is empty or not captured.
|
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
|
Configure
|
||||||
</a>
|
</a>
|
||||||
{' '}
|
{' '}
|
||||||
|
|
@ -142,7 +142,7 @@ function FetchTabs({ resource, isSpot }: Props) {
|
||||||
<div className="mt-6 text-base font-normal">
|
<div className="mt-6 text-base font-normal">
|
||||||
Body is empty or not captured.
|
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
|
Configure
|
||||||
</a>
|
</a>
|
||||||
{' '}
|
{' '}
|
||||||
|
|
|
||||||
|
|
@ -358,7 +358,7 @@ function FilterModal(props: Props) {
|
||||||
type={'text'}
|
type={'text'}
|
||||||
className='text-teal'
|
className='text-teal'
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
const docs = 'https://docs.openreplay.com/en/installation/metadata/';
|
const docs = 'https://docs.openreplay.com/en/en/session-replay/metadata/';
|
||||||
window.open(docs, '_blank');
|
window.open(docs, '_blank');
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import { Button } from 'antd'
|
||||||
import { observer } from 'mobx-react-lite';
|
import { observer } from 'mobx-react-lite';
|
||||||
import { useStore } from 'App/mstore';
|
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 {
|
interface Props {
|
||||||
fetchErrorStackList: any;
|
fetchErrorStackList: any;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ const stepsMap: any = {
|
||||||
title: '🧑💻 Invite Team Members',
|
title: '🧑💻 Invite Team Members',
|
||||||
status: 'pending',
|
status: 'pending',
|
||||||
description: 'Invite team members, collaborate and start improving your app now.',
|
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',
|
url: 'team',
|
||||||
},
|
},
|
||||||
Integrations: {
|
Integrations: {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ Please use [bun](https://bun.sh/) to install and build this library. Any submitt
|
||||||
|
|
||||||
## Documentation
|
## 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
|
## Installation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ export type Options = Partial<
|
||||||
__DISABLE_SECURE_MODE?: boolean
|
__DISABLE_SECURE_MODE?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
const DOCS_SETUP = '/installation/javascript-sdk'
|
const DOCS_SETUP = '/en/sdk'
|
||||||
|
|
||||||
function processOptions(obj: any): obj is Options {
|
function processOptions(obj: any): obj is Options {
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ export function hasOpenreplayAttribute(e: Element, attr: string): boolean {
|
||||||
`"${newName}" attribute`,
|
`"${newName}" attribute`,
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
`"${DEPRECATED_ATTRS[attr] as string}" attribute`,
|
`"${DEPRECATED_ATTRS[attr] as string}" attribute`,
|
||||||
'/installation/sanitize-data',
|
'/en/sdk/sanitize-data',
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ describe('hasOpenreplayAttribute', () => {
|
||||||
const result = hasOpenreplayAttribute(element, 'htmlmasked')
|
const result = hasOpenreplayAttribute(element, 'htmlmasked')
|
||||||
expect(result).toBe(true)
|
expect(result).toBe(true)
|
||||||
expect(consoleWarnSpy).toHaveBeenCalledWith(
|
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.',
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue