From ad6cf615a3ba9fdff03b39d3da2339e5d129d30c Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Fri, 31 Jul 2020 19:13:22 +0200 Subject: [PATCH] List all the features and when they were released This is so that I can show some kind of screen with the evolution of the features, similar to WorkingCopy. --- assets/langs/en.yaml | 22 ++++++++++++++++++++++ lib/features.dart | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/assets/langs/en.yaml b/assets/langs/en.yaml index e5501757..ddf69677 100644 --- a/assets/langs/en.yaml +++ b/assets/langs/en.yaml @@ -130,3 +130,25 @@ rootFolder: Root Folder ignoredFiles: dot: Starts with a . ext: Doesn't end with .md or .txt +features: + darkMode: Dark Mode + rawEditor: Raw Editor + folderSupport: Folder Support + fileNameCustomize: Customize Note FileName + noteMetaDataCustomize: + title: Customize Note Metadata + subtitle: Allows GitJorunal to be used with static website generators + autoMergeConflict: Automation Merge Conflict Resolution + noteSorting: Configurable Note Sorting + gitPushFreq: Configurable Git Sync Frequency + checklistEditor: Checklist Editor + journalEditor: Journal Editor + diffViews: Different Folder Views - Journal, Card, Grid, Standard + imageSupport: Image Support + tags: Note Tags + appShortcuts: App Shortcuts + createRepo: Create Custom Repos from within App + backlinks: Note Backlinks Support + txtFiles: Txt File Support + wikiLinks: Wiki Style Links Support + metaDataTitle: Customize Title MetaData diff --git a/lib/features.dart b/lib/features.dart index 51d98688..bf70bd6b 100644 --- a/lib/features.dart +++ b/lib/features.dart @@ -1,3 +1,43 @@ +import 'package:easy_localization/easy_localization.dart'; + class Features { static bool perFolderConfig = false; + + static final all = [ + Feature(DateTime(2019, 09, 25), tr("feature.darkMode"), "", false), + Feature(DateTime(2019, 10, 07), tr("feature.rawEditor"), "", false), + Feature(DateTime(2019, 12, 04), tr("feature.folderSupport"), "", false), + Feature(DateTime(2019, 12, 20), tr("feature.fileNameCustomize"), "", false), + Feature( + DateTime(2019, 12, 20), + tr("feature.noteMetaDataCustomize.title"), + tr("feature.noteMetaDataCustomize.subtitle"), + true, + ), + Feature(DateTime(2019, 12, 28), tr("feature.autoMergeConflict"), "", false), + Feature(DateTime(2020, 02, 09), tr("feature.noteSorting"), "", false), + Feature(DateTime(2020, 02, 09), tr("feature.noteSorting"), "", false), + Feature(DateTime(2020, 02, 09), tr("feature.gitPushFreq"), "", false), + Feature(DateTime(2020, 02, 15), tr("feature.checklistEditor"), "", false), + Feature(DateTime(2020, 03, 01), tr("feature.journalEditor"), "", false), + Feature(DateTime(2020, 04, 01), tr("feature.diffViews"), "", false), + Feature(DateTime(2020, 05, 08), tr("feature.imageSupport"), "", false), + Feature(DateTime(2020, 05, 14), tr("feature.tags"), "", true), + Feature(DateTime(2020, 05, 14), tr("feature.appShortcuts"), "", false), + Feature(DateTime(2020, 05, 18), tr("feature.createRepo"), "", false), + Feature(DateTime(2020, 05, 27), tr("feature.backlinks"), "", true), + Feature(DateTime(2020, 06, 03), tr("feature.txtFiles"), "", false), + Feature(DateTime(2020, 07, 09), tr("feature.wikiLinks"), "", false), + Feature(DateTime(2020, 07, 28), tr("feature.zenMode"), "", true), + Feature(DateTime(2020, 07, 30), tr("feature.metaDataTitle"), "", true), + ]; +} + +class Feature { + final DateTime date; + final String title; + final String subtitle; + final bool pro; + + Feature(this.date, this.title, this.subtitle, this.pro); }