From 40d0576b15d0cc50b6d1b6ceafe66947cf6d5a07 Mon Sep 17 00:00:00 2001
From: Ajay Bura <32841439+ajbura@users.noreply.github.com>
Date: Mon, 25 Aug 2025 18:48:08 +0530
Subject: [PATCH] Update userId placeholder (#2465)
* update userId placeholder
* update sample names from login username input
---
src/app/components/create-room/AdditionalCreatorInput.tsx | 2 +-
src/app/components/invite-user-prompt/InviteUserPrompt.tsx | 2 +-
src/app/features/create-chat/CreateChat.tsx | 2 +-
src/app/pages/auth/login/PasswordLoginForm.tsx | 6 +++---
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/app/components/create-room/AdditionalCreatorInput.tsx b/src/app/components/create-room/AdditionalCreatorInput.tsx
index 936b9b94..84b92231 100644
--- a/src/app/components/create-room/AdditionalCreatorInput.tsx
+++ b/src/app/components/create-room/AdditionalCreatorInput.tsx
@@ -201,7 +201,7 @@ export function AdditionalCreatorInput({
variant="Background"
radii="300"
outlined
- placeholder="@john:server"
+ placeholder="@username:server"
onChange={handleCreatorChange}
onKeyDown={handleCreatorKeyDown}
/>
diff --git a/src/app/components/invite-user-prompt/InviteUserPrompt.tsx b/src/app/components/invite-user-prompt/InviteUserPrompt.tsx
index 82313c3e..ddac0576 100644
--- a/src/app/components/invite-user-prompt/InviteUserPrompt.tsx
+++ b/src/app/components/invite-user-prompt/InviteUserPrompt.tsx
@@ -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}
diff --git a/src/app/features/create-chat/CreateChat.tsx b/src/app/features/create-chat/CreateChat.tsx
index eccd4e66..faa4511b 100644
--- a/src/app/features/create-chat/CreateChat.tsx
+++ b/src/app/features/create-chat/CreateChat.tsx
@@ -78,7 +78,7 @@ export function CreateChat({ defaultUserId }: CreateChatProps) {
User ID
Username:
{' '}
- johndoe
+ user123
Matrix ID:
- {` @johndoe:${server}`}
+ {` @user123:${server}`}
Email:
- {` johndoe@${server}`}
+ {` user123@${server}`}