From 9efed167a9d2b89be4f2389d1b58fec39a68732e Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Tue, 28 Mar 2023 13:58:51 +0200 Subject: [PATCH] feat(procrastination): add info about procrastination triggers --- .../procrastination.component.html | 2 ++ src/app/t.const.ts | 27 +++---------------- src/assets/i18n/en.json | 6 +++-- 3 files changed, 10 insertions(+), 25 deletions(-) diff --git a/src/app/features/procrastination/procrastination.component.html b/src/app/features/procrastination/procrastination.component.html index cb2fe220da7..c4a2e0ac776 100644 --- a/src/app/features/procrastination/procrastination.component.html +++ b/src/app/features/procrastination/procrastination.component.html @@ -31,6 +31,8 @@

  • {{T.F.PROCRASTINATION.CUR.L4|translate}}
  • {{T.F.PROCRASTINATION.CUR.L5|translate}}
  • +

    {{T.F.PROCRASTINATION.CUR.PROCRASTINATION_TRIGGERS_TITLE|translate}}

    +

    {{T.F.PROCRASTINATION.CUR.PROCRASTINATION_TRIGGERS_TEXT|translate}}

    diff --git a/src/app/t.const.ts b/src/app/t.const.ts index beca0c4ae92..e6d7ec5579f 100644 --- a/src/app/t.const.ts +++ b/src/app/t.const.ts @@ -284,27 +284,6 @@ const T = { ERR_UNKNOWN: 'F.GITLAB.S.ERR_UNKNOWN', }, }, - GOOGLE: { - BANNER: { - AUTH_FAIL: 'F.GOOGLE.BANNER.AUTH_FAIL', - }, - DIALOG: { - CREATE_SYNC_FILE: 'F.GOOGLE.DIALOG.CREATE_SYNC_FILE', - USE_EXISTING_SYNC_FILE: 'F.GOOGLE.DIALOG.USE_EXISTING_SYNC_FILE', - }, - S: { - MULTIPLE_SYNC_FILES_WITH_SAME_NAME: - 'F.GOOGLE.S.MULTIPLE_SYNC_FILES_WITH_SAME_NAME', - SYNC_FILE_CREATION_ERROR: 'F.GOOGLE.S.SYNC_FILE_CREATION_ERROR', - UPDATED_SYNC_FILE_NAME: 'F.GOOGLE.S.UPDATED_SYNC_FILE_NAME', - }, - S_API: { - ERR: 'F.GOOGLE.S_API.ERR', - ERR_NO_FILE_ID: 'F.GOOGLE.S_API.ERR_NO_FILE_ID', - ERR_NO_FILE_NAME: 'F.GOOGLE.S_API.ERR_NO_FILE_NAME', - SUCCESS_LOGIN: 'F.GOOGLE.S_API.SUCCESS_LOGIN', - }, - }, ISSUE: { DEFAULT: { ISSUES_STR: 'F.ISSUE.DEFAULT.ISSUES_STR', @@ -651,6 +630,10 @@ const T = { L4: 'F.PROCRASTINATION.CUR.L4', L5: 'F.PROCRASTINATION.CUR.L5', TITLE: 'F.PROCRASTINATION.CUR.TITLE', + PROCRASTINATION_TRIGGERS_TITLE: + 'F.PROCRASTINATION.CUR.PROCRASTINATION_TRIGGERS_TITLE', + PROCRASTINATION_TRIGGERS_TEXT: + 'F.PROCRASTINATION.CUR.PROCRASTINATION_TRIGGERS_TEXT', }, H1: 'F.PROCRASTINATION.H1', INTRO: { @@ -1427,8 +1410,6 @@ const T = { DBX_GEN_TOKEN: 'GPB.DBX_GEN_TOKEN', DBX_META: 'GPB.DBX_META', DBX_UPLOAD: 'GPB.DBX_UPLOAD', - GDRIVE_DOWNLOAD: 'GPB.GDRIVE_DOWNLOAD', - GDRIVE_UPLOAD: 'GPB.GDRIVE_UPLOAD', GITHUB_LOAD_ISSUE: 'GPB.GITHUB_LOAD_ISSUE', JIRA_LOAD_ISSUE: 'GPB.JIRA_LOAD_ISSUE', UNKNOWN: 'GPB.UNKNOWN', diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index c4b31a9580a..6c1f9776c1b 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -614,13 +614,15 @@ "TITLE": "Self Compassion" }, "CUR": { - "INTRO": "Procrastination is interesting, isn't it? It doesn't make sense to do it. Not in your long term interest at all. But still everybody does it. Enjoy and explore!", + "INTRO": "Procrastination is interesting, isn't it? It doesn't make sense to do it. Not in your long term interest at all. But still everybody does it. It helps a lot explore und gain a better understanding on how it works for you personally! Some basic questions to ask yourself could be:", "L1": "What feelings are eliciting your temptation to procrastinate?", "L2": "Where do you feel them in your body?", "L3": "What do they remind you of?", "L4": "What happens to the thought of procrastinating as you observe it? Does it intensify? Dissipate? Cause other emotions to arise?", "L5": "How are the sensations in your body shifting as you continue to rest your awareness on them?", - "TITLE": "Curiosity" + "TITLE": "Curiosity", + "PROCRASTINATION_TRIGGERS_TITLE": "Writing down your procrastination triggers", + "PROCRASTINATION_TRIGGERS_TEXT": "Another very effective method is to record, what triggered your urge to procrastinate. For example I personally often have the urge to quickly jump to reddit or my favorite news site whenever my browser window comes into focus. Since I started writing down my triggers in a simple empty text document, I became aware of how ingrained this pattern was and it helped me to experiment with different counter measures." }, "H1": "Cut yourself some slack!", "INTRO": {