From 23121e19cbb51f874787313cc6544d863530231a Mon Sep 17 00:00:00 2001 From: ryan efendy Date: Wed, 20 Jul 2022 17:11:34 -0700 Subject: [PATCH] Skip break and longbreak - https://github.com/schmich/marinara/pull/351 --- src/Messages.js | 3 --- src/background/Services.js | 4 ++++ src/expire/Expire.vue | 9 ++++++++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/Messages.js b/src/Messages.js index 5fd877b6..6bef1f06 100644 --- a/src/Messages.js +++ b/src/Messages.js @@ -697,9 +697,6 @@ class Messages get your_history() { return chrome.i18n.getMessage('your_history', []); } - get cheat_sheet() { - return chrome.i18n.getMessage('cheat_sheet', []); - } } export default new Messages(); diff --git a/src/background/Services.js b/src/background/Services.js index 03e2d079..6a2f2d5c 100644 --- a/src/background/Services.js +++ b/src/background/Services.js @@ -110,6 +110,10 @@ class PomodoroService extends Service this.timer.start(); } + async startFocus() { + this.timer.startFocus(); + } + async pause() { this.timer.pause(); } diff --git a/src/expire/Expire.vue b/src/expire/Expire.vue index e8da9666..cc5c8e92 100644 --- a/src/expire/Expire.vue +++ b/src/expire/Expire.vue @@ -5,9 +5,12 @@ +

- +

{{ M.completed_today }}

@@ -102,6 +105,7 @@ body { } .start-session { margin-top: 10px; + margin-left: 10px; } .pomodoros-today { margin-top: 110px; @@ -170,6 +174,9 @@ export default { startSession() { PomodoroClient.once.start(); }, + startFocus() { + PomodoroClient.once.startFocus(); + }, showHistoryPage() { OptionsClient.once.showHistoryPage(); },