mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-09-13 22:32:26 +03:00
Update userId placeholder (#2465)
* update userId placeholder * update sample names from login username input
This commit is contained in:
parent
b4266c26b0
commit
40d0576b15
4 changed files with 6 additions and 6 deletions
|
@ -201,7 +201,7 @@ export function AdditionalCreatorInput({
|
|||
variant="Background"
|
||||
radii="300"
|
||||
outlined
|
||||
placeholder="@john:server"
|
||||
placeholder="@username:server"
|
||||
onChange={handleCreatorChange}
|
||||
onKeyDown={handleCreatorKeyDown}
|
||||
/>
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue