openreplay/frontend/app/components/Onboarding/components/ManageUsersTab/ManageUsersTab.tsx
Shekar Siri d0bcae82f2
change(ui) - player improvements (#1164)
* change(ui) - player - back button spacing

* change(ui) - onboarding - changes

* change(ui) - onboarding - changes

* change(ui) - integrations gap-4

* change(ui) - install script copy button styles

* change(ui) - copy button in account settings

* fix(ui) - error details modal loader position

* change(ui) - share popup styles

* change(ui) - player improvements

* change(ui) - player improvements - playback speed with menu

* change(ui) - player improvements - current timezone

* change(ui) - player improvements - autoplay options
2023-04-13 17:53:36 +02:00

65 lines
2.2 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import UsersView from 'App/components/Client/Users/UsersView';
import DocCard from 'Shared/DocCard/DocCard';
import React from 'react';
import { Button, Icon } from 'UI';
import withOnboarding, { WithOnboardingProps } from '../withOnboarding';
import { OB_TABS } from 'App/routes';
import withPageTitle from 'App/components/hocs/withPageTitle';
interface Props extends WithOnboardingProps {}
function ManageUsersTab(props: Props) {
return (
<>
<h1 className="flex items-center px-4 py-3 border-b justify-between">
<div className="flex items-center text-2xl">
<span>👨💻</span>
<div className="ml-3">Invite Collaborators</div>
</div>
<a
href="https://docs.openreplay.com/en/tutorials/adding-users/"
target="_blank"
>
<Button variant="text-primary" icon="question-circle" className="ml-2">
See Documentation
</Button>
</a>
</h1>
<div className="grid grid-cols-6 gap-4 p-4">
<div className="col-span-4">
<UsersView isOnboarding={true} />
</div>
<div className="col-span-2">
<DocCard
title="Why Invite Collaborators?"
icon="question-lg"
iconBgColor="bg-red-lightest"
iconColor="red"
>
<p>Come together and unlock the potential collaborative improvements!</p>
<p>
Session replays are useful to developers, designers, product managers and to everyone
on the product team.
</p>
</DocCard>
</div>
</div>
<div className="border-t px-4 py-3 flex justify-end">
<Button variant="text-primary" onClick={() => (props.skip ? props.skip() : null)}>
Skip
</Button>
<Button
variant="primary"
className=""
onClick={() => (props.navTo ? props.navTo(OB_TABS.INTEGRATIONS) : null)}
>
Configure Integrations
<Icon name="arrow-right-short" color="white" size={20} />
</Button>
</div>
</>
);
}
export default withOnboarding(withPageTitle('Invite Collaborators - OpenReplay')(ManageUsersTab));