Skip to content

Commit 01cca54

Browse files
committed
visual(pages): add several hints
1 parent bb1e7f0 commit 01cca54

File tree

6 files changed

+17
-1
lines changed

6 files changed

+17
-1
lines changed

apps/client/src/layouts/PagesLayout/LeftSidebar/RecentPages.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
round
6868
flat
6969
class="remove-btn"
70+
title="Remove from recent pages"
7071
@click.stop="removeRecentPage(pageId)"
7172
/>
7273
</div>

apps/client/src/layouts/PagesLayout/MainContent/DisplayUI/DisplayHorizontalPage.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
})
1010
"
1111
>
12-
<div class="group-title">
12+
<div
13+
class="group-title"
14+
:title="groupNameInfo.text"
15+
>
1316
{{ groupNameInfo.text }}
1417
</div>
1518

@@ -19,6 +22,7 @@
1922
encrypted: pageTitleInfo.status === 'encrypted',
2023
empty: isEmpty,
2124
}"
25+
:title="pageTitleInfo.text"
2226
>
2327
{{ pageTitleInfo.text }}
2428
</div>

apps/client/src/layouts/PagesLayout/RightSidebar/NoteProperties/NoteProperties.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
label="Head"
185185
:disable="page.react.readOnly"
186186
:model-value="note.react.collab.head.enabled"
187+
title="Toggle head section"
187188
@update:model-value="
188189
changeProp($event, (selectedNote, value) => {
189190
selectedNote.react.collab.body.enabled ||=
@@ -199,6 +200,7 @@
199200
label="Body"
200201
:disable="page.react.readOnly"
201202
:model-value="note.react.collab.body.enabled"
203+
title="Toggle body section"
202204
@update:model-value="
203205
changeProp($event, (selectedNote, value) => {
204206
selectedNote.react.collab.head.enabled ||=
@@ -218,6 +220,7 @@
218220
:disable="page.react.readOnly"
219221
dense
220222
style="flex: 1"
223+
title="Swap head and body"
221224
@click="
222225
changeProp(null, (note) => {
223226
internals
@@ -238,6 +241,7 @@
238241
:disable="page.react.readOnly"
239242
dense
240243
style="flex: 1"
244+
title="Float body to head if head is empty"
241245
@click="
242246
changeProp(note, (note) => {
243247
if (
@@ -264,6 +268,7 @@
264268
<DeepBtn
265269
label="Set as default"
266270
color="primary"
271+
title="Set this note as the default note"
267272
@click="setAsDefault()"
268273
:disable="page.react.readOnly"
269274
/>

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/PageBacklinks.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
round
4040
flat
4141
style="min-width: 32px; min-height: 32px; width: 32px; height: 32px"
42+
title="Remove backlink"
4243
@click.stop="deleteBacklink(backlinkPageId)"
4344
/>
4445
</div>

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/PageProperties.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
:disable="pageRelativeTitles()(page.id).get().status !== 'success'"
3232
:readonly="page.react.readOnly"
3333
:maxlength="maxPageTitleLength"
34+
title="Title displayed in the page path"
3435
/>
3536

3637
<Gap style="height: 16px" />
@@ -45,6 +46,7 @@
4546
:disable="pageAbsoluteTitles()(page.id).get().status !== 'success'"
4647
:readonly="page.react.readOnly"
4748
:maxlength="maxPageTitleLength"
49+
title="Title displayed outside the page path"
4850
/>
4951

5052
<Gap style="height: 16px" />
@@ -85,6 +87,7 @@
8587
label="Move page"
8688
color="primary"
8789
:disable="page.react.readOnly"
90+
title="Move page to another group or set as group's main page"
8891
@click="_movePage"
8992
/>
9093

apps/client/src/layouts/PagesLayout/RightSidebar/PageProperties/VersionHistory.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
icon="mdi-close"
6464
round
6565
flat
66+
title="Delete page version"
6667
@click="deleteSnapshot(snapshotInfo.id)"
6768
/>
6869
</div>
@@ -74,6 +75,7 @@
7475
label="Save current version"
7576
color="secondary"
7677
:disable="page.react.readOnly"
78+
title="Backup the current version of the page manually"
7779
@click="saveVersion"
7880
/>
7981
</div>

0 commit comments

Comments
 (0)