Skip to content

Commit bc83fc0

Browse files
committed
visual(pages): add hints about group roles
1 parent 74a6798 commit bc83fc0

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/GroupSettingsDialog/InvitationsTab/InviteUserDialog.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@
4242
</template>
4343
<template v-else>(Select a role)</template>
4444
</template>
45+
46+
<template #option="scope">
47+
<q-item
48+
v-bind="scope.itemProps"
49+
style="max-width: 220px"
50+
>
51+
<q-item-section>
52+
<q-item-label>{{ scope.opt.name }}</q-item-label>
53+
<q-item-label caption>{{ scope.opt.description }}</q-item-label>
54+
</q-item-section>
55+
</q-item>
56+
</template>
4557
</q-select>
4658
</q-card-section>
4759
</template>

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/GroupSettingsDialog/MembersTab/ChangeRoleDialog.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@
2727
</template>
2828
<template v-else>(Select a role)</template>
2929
</template>
30+
31+
<template #option="scope">
32+
<q-item
33+
v-bind="scope.itemProps"
34+
style="max-width: 220px"
35+
>
36+
<q-item-section>
37+
<q-item-label>{{ scope.opt.name }}</q-item-label>
38+
<q-item-label caption>{{ scope.opt.description }}</q-item-label>
39+
</q-item-section>
40+
</q-item>
41+
</template>
3042
</q-select>
3143
</q-card-section>
3244
</template>

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/GroupSettingsDialog/RequestsTab/AcceptRequestDialog.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@
3131
</template>
3232
<template v-else>(Select a role)</template>
3333
</template>
34+
35+
<template #option="scope">
36+
<q-item
37+
v-bind="scope.itemProps"
38+
style="max-width: 220px"
39+
>
40+
<q-item-section>
41+
<q-item-label>{{ scope.opt.name }}</q-item-label>
42+
<q-item-label caption>{{ scope.opt.description }}</q-item-label>
43+
</q-item-section>
44+
</q-item>
45+
</template>
3446
</q-select>
3547
</q-card-section>
3648
</template>

packages/@deeplib/misc/src/roles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const roles = once((): IGroupRole[] => [
5858
viewGroupPages: true,
5959
},
6060

61-
description: 'Autonomous role. Manages everyone, except the owner(s)',
61+
description: 'Manages everyone, except the owner(s)',
6262
},
6363
{
6464
id: 'moderator',

0 commit comments

Comments
 (0)