Merge pull request #45245 from nextcloud/feat/split-user-columns

feat: Split display name and username columns
This commit is contained in:
Pytal 2024-05-14 10:14:16 -07:00 committed by GitHub
commit 28564f975f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 16 deletions

View file

@ -35,7 +35,11 @@
<strong>
{{ t('settings', 'Display name') }}
</strong>
<span class="header__subtitle">
</th>
<th class="header__cell header__cell--username"
data-cy-user-list-header-username
scope="col">
<span>
{{ t('settings', 'Username') }}
</span>
</th>

View file

@ -54,13 +54,14 @@
spellcheck="false"
@trailing-button-click="updateDisplayName" />
</template>
<template v-else>
<strong v-if="!isObfuscated"
:title="user.displayname?.length > 20 ? user.displayname : null">
{{ user.displayname }}
</strong>
<span class="row__subtitle">{{ user.id }}</span>
</template>
<strong v-else-if="!isObfuscated"
:title="user.displayname?.length > 20 ? user.displayname : null">
{{ user.displayname }}
</strong>
</td>
<td class="row__cell row__cell--username" data-cy-user-list-cell-username>
<span class="row__subtitle">{{ user.id }}</span>
</td>
<td data-cy-user-list-cell-password

View file

@ -66,6 +66,10 @@
}
}
&--username {
padding-left: calc(var(--default-grid-baseline) * 3);
}
&--avatar {
min-width: var(--avatar-cell-width);
width: var(--avatar-cell-width);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long