Update userId placeholder (#2465)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Mon, 25 Aug 2025 13:18:08 +0000 (18:48 +0530)
committerGitHub <noreply@github.com>
Mon, 25 Aug 2025 13:18:08 +0000 (23:18 +1000)
* update userId placeholder

* update sample names from login username input

src/app/components/create-room/AdditionalCreatorInput.tsx
src/app/components/invite-user-prompt/InviteUserPrompt.tsx
src/app/features/create-chat/CreateChat.tsx
src/app/pages/auth/login/PasswordLoginForm.tsx

index 936b9b94431b959318d13315fbc1be026bb39641..84b922310b5a61b2997d6d608a83dc1bbfeebcb5 100644 (file)
@@ -201,7 +201,7 @@ export function AdditionalCreatorInput({
                           variant="Background"
                           radii="300"
                           outlined
-                          placeholder="@john:server"
+                          placeholder="@username:server"
                           onChange={handleCreatorChange}
                           onKeyDown={handleCreatorKeyDown}
                         />
index 82313c3e11724687aa1cb4c82f7106f8190177cd..ddac0576cef9373c00e98b2608b35bcecd68613d 100644 (file)
@@ -194,7 +194,7 @@ export function InviteUserPrompt({ room, requestClose }: InviteUserProps) {
                       ref={inputRef}
                       onChange={handleSearchChange}
                       onKeyDown={handleKeyDown}
-                      placeholder="@john:server"
+                      placeholder="@username:server"
                       name="userIdInput"
                       variant="Background"
                       disabled={inviting}
index eccd4e661d2ba595b496669d91975e00691aa872..faa4511bdbddc7403a9170e8b5ae310ae269a7af 100644 (file)
@@ -78,7 +78,7 @@ export function CreateChat({ defaultUserId }: CreateChatProps) {
         <Text size="L400">User ID</Text>
         <Input
           defaultValue={defaultUserId}
-          placeholder="@john:server"
+          placeholder="@username:server"
           name="userIdInput"
           variant="SurfaceVariant"
           size="500"
index 90c305d00195e4e27987726f2adb6795c35f9155..62f46dd2cfe6dc1245b3c2c023a41700085a91a9 100644 (file)
@@ -72,19 +72,19 @@ function UsernameHint({ server }: { server: string }) {
                 <Text as="span" size="Inherit" priority="300">
                   Username:
                 </Text>{' '}
-                johndoe
+                user123
               </Text>
               <Text size="T300">
                 <Text as="span" size="Inherit" priority="300">
                   Matrix ID:
                 </Text>
-                {` @johndoe:${server}`}
+                {` @user123:${server}`}
               </Text>
               <Text size="T300">
                 <Text as="span" size="Inherit" priority="300">
                   Email:
                 </Text>
-                {` johndoe@${server}`}
+                {` user123@${server}`}
               </Text>
             </Box>
           </Menu>