Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 4e69b05

Browse files
feat: update "jump to" to "slides"
1 parent 4a40c0c commit 4e69b05

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

studio/src/app/components/editor/actions/app-editor-actions/app-editor-actions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ export class AppEditorActions {
217217

218218
<ion-tab-button onClick={() => this.openSlideNavigate()} color="primary" class="wider-devices"
219219
mode="md">
220-
<ion-icon src="/assets/icons/chapters.svg"></ion-icon>
221-
<ion-label>Go to slide</ion-label>
220+
<ion-icon src="/assets/icons/ionicons/list.svg"></ion-icon>
221+
<ion-label>Slides</ion-label>
222222
</ion-tab-button>
223223

224224
<ion-tab-button onClick={() => this.toggleFullScreenMode()} color="primary" class="wider-devices" mode="md">
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
app-slide-navigate {
2-
ion-list {
2+
ion-reorder-group {
33
ion-item {
44
--border-color: transparent;
55
}
66
}
7+
8+
p {
9+
font-size: var(--font-size-very-small);
10+
}
711
}

studio/src/app/modals/editor/app-slide-navigate/app-slide-navigate.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ export class AppSlideNavigate {
9696
<ion-icon name="close"></ion-icon>
9797
</ion-button>
9898
</ion-buttons>
99-
<ion-title class="ion-text-uppercase">Go to slide</ion-title>
99+
<ion-title class="ion-text-uppercase">Slides</ion-title>
100100
</ion-toolbar>
101101
</ion-header>,
102102
<ion-content class="ion-padding">
103+
<p class="ion-padding-start ion-padding-end">Jump to a specific slide or change the order of your slides.</p>
104+
103105
<ion-reorder-group onIonItemReorder={($event: CustomEvent<ItemReorderEventDetail>) => this.onReorder($event)} disabled={!this.slides || this.slides.length <= 1}>
104106
{this.renderSlides()}
105107
</ion-reorder-group>
@@ -114,7 +116,7 @@ export class AppSlideNavigate {
114116

115117
const text = 'Slide ' + (i + 1) + (slideTitle ? ': ' + slideTitle : '');
116118

117-
return <ion-item ion-item button onClick={() => this.jumpToSlide(i)}>
119+
return <ion-item ion-item button onClick={() => this.jumpToSlide(i)} detail={false}>
118120
<ion-label>{text}</ion-label>
119121
<ion-reorder slot="end"></ion-reorder>
120122
</ion-item>

studio/src/app/popovers/editor/actions/app-more-actions/app-more-actions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class AppMoreActions {
3131

3232
render() {
3333
return <div class="ion-padding">
34-
<a onClick={() => this.closePopover(MoreAction.JUMP_TO)}><p>Go to slide</p></a>
34+
<a onClick={() => this.closePopover(MoreAction.JUMP_TO)}><p>Slides</p></a>
3535
{this.renderFullscreenOption()}
3636
<a onClick={() => this.closePopover(MoreAction.REMOTE)}><p>Remote control</p></a>
3737
<app-share-options onSelectedOption={($event: CustomEvent<MoreAction>) => this.closeSharePopover($event)}></app-share-options>

studio/src/assets/icons/chapters.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)