mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 11:33:34 +08:00
Show Features in development and planned features
This commit is contained in:
@ -222,9 +222,18 @@ feature:
|
|||||||
basicSearch: Basic Search
|
basicSearch: Basic Search
|
||||||
customSSHKeys: Provide your own SSH Keys
|
customSSHKeys: Provide your own SSH Keys
|
||||||
customMetaData: Add Custom Metadata to new Notes
|
customMetaData: Add Custom Metadata to new Notes
|
||||||
|
graphVisualization: Graph Visualization
|
||||||
|
mutliRepos: Multiple Git Repos
|
||||||
|
customThemes: Custom Themes
|
||||||
|
gitLog: View and Search through Git History
|
||||||
|
latex: Latex Support
|
||||||
|
mermaid: Mermaid Diagram Support
|
||||||
|
encryptedHosting: Encrypted Git Hosting
|
||||||
|
|
||||||
feature_timeline:
|
feature_timeline:
|
||||||
title: Feature Timeline
|
title: Feature Timeline
|
||||||
|
progress: In Progress
|
||||||
|
plan: Planned
|
||||||
|
|
||||||
purchase_screen:
|
purchase_screen:
|
||||||
title: Pro Version
|
title: Pro Version
|
||||||
|
@ -36,6 +36,19 @@ class Features {
|
|||||||
Feature.yamlTagsKey,
|
Feature.yamlTagsKey,
|
||||||
Feature.customMetaData,
|
Feature.customMetaData,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
static final inProgress = <String>[
|
||||||
|
tr("feature.graphVisualization"),
|
||||||
|
tr("feature.mutliRepos"),
|
||||||
|
tr("feature.customThemes"),
|
||||||
|
tr("feature.gitLog"),
|
||||||
|
];
|
||||||
|
|
||||||
|
static final planned = <String>[
|
||||||
|
tr("feature.latex"),
|
||||||
|
tr("feature.mermaid"),
|
||||||
|
tr("feature.encryptedHosting"),
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
class Feature {
|
class Feature {
|
||||||
|
@ -7,6 +7,8 @@ import 'package:gitjournal/features.dart';
|
|||||||
class FeatureTimelineScreen extends StatelessWidget {
|
class FeatureTimelineScreen extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
|
var theme = Theme.of(context);
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: Text(tr('feature_timeline.title')),
|
title: Text(tr('feature_timeline.title')),
|
||||||
@ -14,6 +16,20 @@ class FeatureTimelineScreen extends StatelessWidget {
|
|||||||
body: ListView(
|
body: ListView(
|
||||||
children: [
|
children: [
|
||||||
for (var feature in Features.all) FeatureTile(feature),
|
for (var feature in Features.all) FeatureTile(feature),
|
||||||
|
for (var title in Features.inProgress)
|
||||||
|
_Tile(
|
||||||
|
title: title,
|
||||||
|
subTitle: tr('feature_timeline.progress'),
|
||||||
|
iconText: "DEV",
|
||||||
|
iconColor: theme.primaryColorDark,
|
||||||
|
),
|
||||||
|
for (var title in Features.planned)
|
||||||
|
_Tile(
|
||||||
|
title: title,
|
||||||
|
subTitle: tr('feature_timeline.plan'),
|
||||||
|
iconText: "PLAN",
|
||||||
|
iconColor: theme.accentColor,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user