Skip to content

Commit ce2de06

Browse files
committed
docs: update uikit url path
1 parent bcdae23 commit ce2de06

38 files changed

+152
-119
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Sendbird UIKit for React-Native is a development kit with an user interface that
1111
This mono-repository the UIKit source code is consists as explained below.
1212

1313
- [**packages/uikit-react-native**](/packages/uikit-react-native) is where you can find the open source code. Check out [UIKit Open Source Guidelines](/OPENSOURCE_GUIDELINES.md) for more information regarding our stance on open source.
14-
- [**sample**](/sample) is a chat app with UIKit’s core features in which you can see items such as push notifications, total unread message count and auto sign-in are demonstrated. When you sign in to the sample app, you will only see a list of channels rendered by the [GroupChannelListFragment](https://sendbird.com/docs/uikit/v3/react-native/key-functions/list-channels) on the screen.
14+
- [**sample**](/sample) is a chat app with UIKit’s core features in which you can see items such as push notifications, total unread message count and auto sign-in are demonstrated. When you sign in to the sample app, you will only see a list of channels rendered by the [GroupChannelListFragment](https://sendbird.com/docs/chat/uikit/v3/react-native/key-functions/list-channels) on the screen.
1515
- [**packages/uikit-react-native-foundation**](/packages/uikit-react-native-foundation) is a UI package for `uikit-react-native`.
1616
- [**packages/uikit-chat-hooks**](/packages/uikit-chat-hooks) is a react hooks package for `uikit-react-native`.
1717
- [**packages/uikit-utils**](/packages/uikit-utils) is a utility package for `uikit-react-native`.
1818

1919
### More about Sendbird UIKit for React-Native
2020

21-
Find out more about Sendbird UIKit for React-Native at [UIKit for React Native doc](https://sendbird.com/docs/uikit/v3/react-native/overview).
21+
Find out more about Sendbird UIKit for React-Native at [UIKit for React Native doc](https://sendbird.com/docs/chat/uikit/v3/react-native/overview).
2222
If you need any help in resolving any issues or have questions, visit [our community](https://community.sendbird.com).
2323

2424
<br/>

docs-validation/1_introduction/Authentication.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const PROFILE_FILE: FileType = { name: '', size: 0, type: '', uri: '' };
55

66
/**
77
* Connect to the Sendbird server
8-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/authentication#2-connect-to-the-sendbird-server}
8+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/authentication#2-connect-to-the-sendbird-server}
99
* */
1010
import { useConnection } from '@sendbird/uikit-react-native';
1111

@@ -27,7 +27,7 @@ const Component = () => {
2727

2828
/**
2929
* Disconnect from the Sendbird server
30-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/authentication#2-disconnect-from-the-sendbird-server}
30+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/authentication#2-disconnect-from-the-sendbird-server}
3131
* */
3232
const Component2 = () => {
3333
const { disconnect } = useConnection();
@@ -37,7 +37,7 @@ const Component2 = () => {
3737

3838
/**
3939
* Retrieve online status of current user
40-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/authentication#2-retrieve-online-status-of-current-user}
40+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/authentication#2-retrieve-online-status-of-current-user}
4141
* */
4242
import { useSendbirdChat } from '@sendbird/uikit-react-native';
4343

@@ -54,7 +54,7 @@ const Component3 = () => {
5454

5555
/**
5656
* Register for push notifications
57-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/authentication#2-register-for-push-notifications}
57+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/authentication#2-register-for-push-notifications}
5858
* */
5959
import RNFBMessaging from '@react-native-firebase/messaging';
6060
import * as Permissions from 'react-native-permissions';
@@ -77,7 +77,7 @@ const App = () => {
7777

7878
/**
7979
* Unregister push notifications
80-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/authentication#2-unregister-push-notifications}
80+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/authentication#2-unregister-push-notifications}
8181
* */
8282
const App2 = () => {
8383
return (
@@ -92,7 +92,7 @@ const App2 = () => {
9292

9393
/**
9494
* Update user profile
95-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/authentication#2-update-user-profile}
95+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/authentication#2-update-user-profile}
9696
* */
9797
const Component4 = () => {
9898
const { updateCurrentUserInfo } = useSendbirdChat();

docs-validation/1_introduction/NativeModules.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515

1616
/**
1717
* Helper functions#React Native CLI
18-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/native-modules#2-helper-functions-3-react-native-cli}
18+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/native-modules#2-helper-functions-3-react-native-cli}
1919
* */
2020
import Clipboard from '@react-native-clipboard/clipboard';
2121
import { CameraRoll } from '@react-native-camera-roll/camera-roll';
@@ -60,7 +60,7 @@ const nativePlatformServices = {
6060

6161
/**
6262
* Helper functions#Expo CLI
63-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/native-modules#2-helper-functions-3-expo-cli}
63+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/native-modules#2-helper-functions-3-expo-cli}
6464
* */
6565
import * as ExpoClipboard from 'expo-clipboard';
6666
import * as ExpoDocumentPicker from 'expo-document-picker';

docs-validation/1_introduction/ScreenNavigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const GroupChannelScreen = () => <React.Fragment />;
44

55
/**
66
* Set up navigation in a fragment
7-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/screen-navigation#2-set-up-navigation-in-a-fragment}
7+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/screen-navigation#2-set-up-navigation-in-a-fragment}
88
* */
99
// @ts-ignore
1010
import { Navigation } from 'react-native-navigation';
@@ -34,7 +34,7 @@ const GroupChannelListScreen = (props: { componentId: string }) => {
3434

3535
/**
3636
* Integrate navigation library
37-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/screen-navigation#2-integrate-navigation-library}
37+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/screen-navigation#2-integrate-navigation-library}
3838
* */
3939
Navigation.registerComponent('GroupChannel', () => GroupChannelScreen);
4040
Navigation.registerComponent('GroupChannelList', () => GroupChannelListScreen);

docs-validation/1_introduction/SendYourFirstMessage.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22

33
/**
44
* Implement platform service interfaces using native modules
5-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-4-implement-platform-service-interfaces-using-native-modules}
5+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-4-implement-platform-service-interfaces-using-native-modules}
66
* */
77
import {
88
createNativeClipboardService,
@@ -58,7 +58,7 @@ export const platformServices: SendbirdUIKitContainerProps['platformServices'] =
5858

5959
/**
6060
* Wrap your app in SendbirdUIKitContainer
61-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-5-wrap-your-app-in-sendbirduikitcontainer}
61+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-5-wrap-your-app-in-sendbirduikitcontainer}
6262
* */
6363
import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
6464
import AsyncStorage from '@react-native-async-storage/async-storage';
@@ -78,7 +78,7 @@ const App = () => {
7878

7979
/**
8080
* Create a fragment and module components
81-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-7-create-a-fragment-and-module-components}
81+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-7-create-a-fragment-and-module-components}
8282
* */
8383
import { useNavigation, useRoute } from '@react-navigation/native';
8484
import { useGroupChannel } from '@sendbird/uikit-chat-hooks';
@@ -156,7 +156,7 @@ const GroupChannelScreen = () => {
156156

157157
/**
158158
* Register navigation library to the screen
159-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-8-register-navigation-library-to-the-screen}
159+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-8-register-navigation-library-to-the-screen}
160160
* */
161161
import { NavigationContainer } from '@react-navigation/native';
162162
import { createNativeStackNavigator } from '@react-navigation/native-stack';
@@ -197,7 +197,7 @@ const App2 = () => {
197197

198198
/**
199199
* Connect to the Sendbird server
200-
* {@link https://sendbird.com/docs/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-9-connect-to-the-sendbird-server}
200+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/introduction/send-first-message#2-get-started-3-step-9-connect-to-the-sendbird-server}
201201
* */
202202
import { Pressable, Text, View } from 'react-native';
203203
import { useConnection } from '@sendbird/uikit-react-native';

docs-validation/2_features/DeliveryReceipt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* How to use
3-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/delivery-receipt#2-how-to-use}
3+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/delivery-receipt#2-how-to-use}
44
* */
55
import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
66

@@ -12,7 +12,7 @@ const App = () => {
1212

1313
/**
1414
* Icon resource
15-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/delivery-receipt#2-customize-the-ui-for-delivery-receipt-3-icon-resource}
15+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/delivery-receipt#2-customize-the-ui-for-delivery-receipt-3-icon-resource}
1616
* */
1717
import { Icon } from '@sendbird/uikit-react-native-foundation';
1818

docs-validation/2_features/FileSharing.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const isImageFile = (x: string) => x;
99

1010
/**
1111
* Customize the UI for file sharing
12-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing}
12+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing}
1313
* */
1414
import { createGroupChannelFragment, GroupChannelMessageRenderer } from '@sendbird/uikit-react-native';
1515

@@ -32,7 +32,7 @@ const GroupChannelScreen = () => {
3232

3333
/**
3434
* Color resource
35-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing-3-color-resource}
35+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing-3-color-resource}
3636
* */
3737
function _colorResource(colors: UIKitColors) {
3838
colors.ui.groupChannelMessage;
@@ -50,7 +50,7 @@ function _colorResource(colors: UIKitColors) {
5050

5151
/**
5252
* Icon resource
53-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing-3-icon-resource}
53+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing-3-icon-resource}
5454
* */
5555
Icon.Assets['add'] = require('your_icons/add_icon.png');
5656
Icon.Assets['document'] = require('your_icons/document_icon.png');
@@ -61,7 +61,7 @@ Icon.Assets['play'] = require('your_icons/play_icon.png');
6161

6262
/**
6363
* String resource
64-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing-3-string-resource}
64+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/file-sharing#2-customize-the-ui-for-file-sharing-3-string-resource}
6565
* */
6666
function _stringResource(str: StringSet) {
6767
str.GROUP_CHANNEL;
@@ -83,7 +83,7 @@ function _stringResource(str: StringSet) {
8383

8484
/**
8585
* Image compression
86-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/file-sharing#2-image-compression}
86+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/file-sharing#2-image-compression}
8787
* */
8888
import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
8989

docs-validation/2_features/ReadReceipt.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* How to use
3-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/read-receipt#2-how-to-use}
3+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/read-receipt#2-how-to-use}
44
* */
55
import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
66
const App = () => {
@@ -11,7 +11,7 @@ const App = () => {
1111

1212
/**
1313
* Icon resource
14-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/read-receipt#2-customize-the-ui-for-delivery-receipt-3-icon-resource}
14+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/read-receipt#2-customize-the-ui-for-delivery-receipt-3-icon-resource}
1515
* */
1616
import { Icon } from '@sendbird/uikit-react-native-foundation';
1717

docs-validation/2_features/TypingIndicator.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { StringSet } from '@sendbird/uikit-react-native';
22

33
/**
44
* How to use
5-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/typing-indicator#2-how-to-use}
5+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/typing-indicator#2-how-to-use}
66
* */
77
import { SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
88
const App = () => {
@@ -13,7 +13,7 @@ const App = () => {
1313

1414
/**
1515
* String resource
16-
* {@link https://sendbird.com/docs/uikit/v3/react-native/features/typing-indicator#2-customize-the-ui-for-typing-indicator-3-string-resource}
16+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/typing-indicator#2-customize-the-ui-for-typing-indicator-3-string-resource}
1717
* */
1818
type TypingIndicatorTypings = StringSet['LABELS']['TYPING_INDICATOR_TYPINGS'];
1919
/** ------------------ **/

docs-validation/3_core-components/Hooks.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* useSendbirdChat
3-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-usesendbirdchat-}
3+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-usesendbirdchat-}
44
* */
55
import { useSendbirdChat } from '@sendbird/uikit-react-native';
66

@@ -15,7 +15,7 @@ const Component = () => {
1515

1616
/**
1717
* useConnection
18-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-useconnection-}
18+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-useconnection-}
1919
* */
2020
import { useConnection, SendbirdUIKitContainer } from '@sendbird/uikit-react-native';
2121

@@ -38,7 +38,7 @@ const App = () => {
3838

3939
/**
4040
* useUIKitTheme
41-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-useuikittheme-}
41+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-useuikittheme-}
4242
* */
4343
import { useUIKitTheme } from '@sendbird/uikit-react-native-foundation';
4444

@@ -52,7 +52,7 @@ const Component3 = () => {
5252

5353
/**
5454
* usePlatformService
55-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-useplatformservice-}
55+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-useplatformservice-}
5656
* */
5757
import { usePlatformService } from '@sendbird/uikit-react-native';
5858

@@ -70,7 +70,7 @@ const Component4 = () => {
7070

7171
/**
7272
* useLocalization
73-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-uselocalization-}
73+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-uselocalization-}
7474
* */
7575
import { useLocalization } from '@sendbird/uikit-react-native';
7676

@@ -81,7 +81,7 @@ const Component5 = () => {
8181

8282
/**
8383
* useToast
84-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-usetoast-}
84+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-usetoast-}
8585
* */
8686
import { useToast } from '@sendbird/uikit-react-native-foundation';
8787

@@ -93,7 +93,7 @@ const Component6 = () => {
9393

9494
/**
9595
* usePrompt
96-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-useprompt-}
96+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-useprompt-}
9797
* */
9898
import { usePrompt } from '@sendbird/uikit-react-native-foundation';
9999

@@ -109,7 +109,7 @@ const Component7 = () => {
109109

110110
/**
111111
* useBottomSheet
112-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-usebottomsheet-}
112+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-usebottomsheet-}
113113
* */
114114
import { useBottomSheet } from '@sendbird/uikit-react-native-foundation';
115115

@@ -128,7 +128,7 @@ const Component8 = () => {
128128

129129
/**
130130
* useActionMenu
131-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-useactionmenu-}
131+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-useactionmenu-}
132132
* */
133133
import { useActionMenu } from '@sendbird/uikit-react-native-foundation';
134134

@@ -147,7 +147,7 @@ const Component9 = () => {
147147

148148
/**
149149
* useAlert
150-
* {@link https://sendbird.com/docs/uikit/v3/react-native/core-components/hooks#-3-usealert-}
150+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/core-components/hooks#-3-usealert-}
151151
* */
152152
import { useAlert } from '@sendbird/uikit-react-native-foundation';
153153

0 commit comments

Comments
 (0)