Update userId placeholder (#2465)

* update userId placeholder

* update sample names from login username input
This commit is contained in:
Ajay Bura 2025-08-25 18:48:08 +05:30 committed by GitHub
parent b4266c26b0
commit 40d0576b15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View file

@ -201,7 +201,7 @@ export function AdditionalCreatorInput({
variant="Background"
radii="300"
outlined
placeholder="@john:server"
placeholder="@username:server"
onChange={handleCreatorChange}
onKeyDown={handleCreatorKeyDown}
/>

View 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}

View 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"

View 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>