-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* hotfix: generate full descriptions that are not translated with the english one * hotfix: use documents directory as default auto export directory instead of downloads * hotfix: avoid using GoRouterState.of(context) when creating a note because it fails with sharing intents * [237] Untrack generated files (#238) * hotfix: add back build.yaml * [250] fix: fail to add a note via share or quick action (#251) * [247] Improve utils and validators (#252) * [68] Add support for labels (#245) * [246] Improve logs (#253) * [244] Allow to sort by creation date (#254) * [241] Allow to use white text in dark mode (#255) * [68] Improve labels (#257) * Prepare v1.8.0 (#258)
- Loading branch information
1 parent
388d634
commit f7e36cc
Showing
149 changed files
with
5,254 additions
and
8,949 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Einfache, lokale Materialdesign-Notiz-App | ||
Einfache, lokale Notizen-App im Material-Design |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ADDED | ||
- Ability to categorize the notes with labels | ||
- Allow to sort the notes by their creation date | ||
- Allow to use a white text in dark theme | ||
|
||
CHANGED | ||
- Improve logs | ||
- Move accessibility settings to their own page | ||
|
||
FIXED | ||
- Failure to add a note via the share action of the quick action |
Binary file modified
BIN
-26.8 KB
(88%)
fastlane/metadata/android/en-US/images/phoneScreenshots/1_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-24.3 KB
(85%)
fastlane/metadata/android/en-US/images/phoneScreenshots/2_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+346 Bytes
(100%)
fastlane/metadata/android/en-US/images/phoneScreenshots/3_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-167 KB
(22%)
fastlane/metadata/android/en-US/images/phoneScreenshots/4_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+84.3 KB
(180%)
fastlane/metadata/android/en-US/images/phoneScreenshots/5_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-25.3 KB
(89%)
fastlane/metadata/android/en-US/images/phoneScreenshots/6_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-100 KB
(54%)
fastlane/metadata/android/en-US/images/phoneScreenshots/7_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-20.2 KB
(91%)
fastlane/metadata/android/en-US/images/phoneScreenshots/8_en-US.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
AJOUT | ||
- Possibilité de catégoriser les notes avec des étiquettes | ||
- Possibilité de trier les notes en fonction de leur date de création | ||
- Possibilité d'utiliser un texte blanc avec le thème sombre | ||
|
||
MODIFIÉ | ||
- Amélioration des logs | ||
- Déplacement des paramètres d'accessibilité vers leur propre page | ||
|
||
CORRIGÉ | ||
- Échec de l'ajout d'une note via l'action de partage ou l'action rapide de l'écran d'accueil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Simple, local, material design notes | ||
Proste, lokalne notatki w stylu Material Design |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_riverpod/flutter_riverpod.dart'; | ||
import 'package:localmaterialnotes/common/constants/constants.dart'; | ||
import 'package:localmaterialnotes/models/label/label.dart'; | ||
import 'package:localmaterialnotes/pages/labels/dialogs/label_dialog.dart'; | ||
import 'package:localmaterialnotes/providers/labels/labels/labels_provider.dart'; | ||
|
||
/// Adds a label. | ||
Future<void> addLabel(BuildContext context, WidgetRef ref) async { | ||
final label = await showAdaptiveDialog<Label>( | ||
context: context, | ||
builder: (context) { | ||
return LabelDialog(title: l.dialog_label_add); | ||
}, | ||
); | ||
|
||
if (label == null) { | ||
return; | ||
} | ||
|
||
ref.read(labelsProvider.notifier).edit(label); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// ignore_for_file: unused_import | ||
|
||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_riverpod/flutter_riverpod.dart'; | ||
import 'package:go_router/go_router.dart'; | ||
import 'package:localmaterialnotes/common/actions/labels/select.dart'; | ||
import 'package:localmaterialnotes/common/actions/notes/select.dart'; | ||
import 'package:localmaterialnotes/common/constants/constants.dart'; | ||
import 'package:localmaterialnotes/common/dialogs/confirmation_dialog.dart'; | ||
import 'package:localmaterialnotes/common/extensions/build_context_extension.dart'; | ||
import 'package:localmaterialnotes/models/label/label.dart'; | ||
import 'package:localmaterialnotes/models/note/note.dart'; | ||
import 'package:localmaterialnotes/providers/bin/bin_provider.dart'; | ||
import 'package:localmaterialnotes/providers/labels/labels/labels_provider.dart'; | ||
import 'package:localmaterialnotes/providers/notes/notes/notes_provider.dart'; | ||
import 'package:localmaterialnotes/providers/notifiers.dart'; | ||
import 'package:localmaterialnotes/routing/routes/notes/notes_editor_route.dart'; | ||
import 'package:localmaterialnotes/routing/routes/shell/shell_route.dart'; | ||
|
||
/// Deletes the [label]. | ||
/// | ||
/// Returns `true` if the [label] was deleted, `false` otherwise. | ||
/// | ||
/// First, asks for a confirmation if needed. | ||
Future<bool> deleteLabel(BuildContext context, WidgetRef ref, Label? label) async { | ||
if (label == null) { | ||
return false; | ||
} | ||
|
||
if (!await askForConfirmation( | ||
context, | ||
l.dialog_delete, | ||
l.dialog_delete_body(1), | ||
l.dialog_delete, | ||
)) { | ||
return false; | ||
} | ||
|
||
return await ref.read(labelsProvider.notifier).delete(label); | ||
} | ||
|
||
/// Deletes the [labels]. | ||
/// | ||
/// Returns `true` if the [labels] were deleted, `false` otherwise. | ||
/// | ||
/// First, asks for a confirmation if needed. | ||
Future<bool> deleteLabels(BuildContext context, WidgetRef ref, List<Label> labels) async { | ||
if (!await askForConfirmation( | ||
context, | ||
l.dialog_delete, | ||
l.dialog_delete_body(labels.length), | ||
l.dialog_delete, | ||
)) { | ||
return false; | ||
} | ||
|
||
final succeeded = await ref.read(labelsProvider.notifier).deleteAll(labels); | ||
|
||
if (context.mounted) { | ||
exitLabelsSelectionMode(ref); | ||
} | ||
|
||
return succeeded; | ||
} |
Oops, something went wrong.