Skip to content

Commit

Permalink
Last updates
Browse files Browse the repository at this point in the history
  • Loading branch information
matatkos committed Aug 9, 2024
1 parent 07f3ef3 commit 5b118a3
Show file tree
Hide file tree
Showing 98 changed files with 3,764 additions and 2,101 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

First aid for psychological issues - Official mobile app for [nepanikar.eu](https://nepanikar.eu/)

Original Qt version: https://github.com/ichlubna/mind

## Project specs & conventions

- targeted platforms: iOS, Android
Expand All @@ -13,10 +11,11 @@ Original Qt version: https://github.com/ichlubna/mind
- routing: [GoRouter](https://pub.dev/packages/go_router)
- data persistence: [sembast](https://pub.dev/packages/sembast) (NoSQL)

We are committing generated files (.g.dart, .freezed.dart) to VCS to save time in Continuous Integration.

## Project documentation

###Running application
Run command `flutter run` from root folder of application.

### Adding a new asset

[flutter_gen](https://pub.dev/packages/flutter_gen) package let's us quickly generate paths for images/icons.
Expand Down Expand Up @@ -53,13 +52,9 @@ Make there the necessary changes then simply run the script located in `./bin/ne
to regenerate the JSON file.

### Commands

- `flutter run` - run application
- `flutter packages pub run build_runner build -d` - regenerate go_route/freezed/assets files
- `flutter pub run build_runner watch -d` - watch and generate automatically changes when files are changed
- `flutter gen-l10n` - recompile .arb language files
- `flutter pub run flutter_native_splash:create` - regenerate splash screen

### Credits
We thank these tools and services for making better developer experience:
- [Codemagic](https://codemagic.io/) - CI/CD for mobile apps (automatic builds, tests & publishing to stores)
- [Localazy](https://localazy.com/) - localization management
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.7.20'
repositories {
google()
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions lib/app/app_constants.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ class AppConstants {
static const nepanikarWeb = 'https://nepanikar.eu/';
static const nepanikarInstagram = 'https://www.instagram.com/aplikace_nepanikar';
static const nepanikarFacebook = 'https://www.facebook.com/aplikacenepanikar/';
static const nepanikarDonate = 'https://www.darujme.cz/darovat/1203622?referrer=&frequency=once&amount=300&widget=1202392';
}
28 changes: 19 additions & 9 deletions lib/app/generated/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/app/generated/fonts.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_cs.arb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"math_game_answer_button": "Jaký je výsledek?",
"message_text": "Text zprávy",
"minutes": "Minuty",
"month": "Měsíc",
"months": "Měsíce",
"mood": "Nálada",
"mood_bad_sad": "Smutně",
Expand Down Expand Up @@ -303,5 +304,29 @@
"title_entry_hint_text": "Pojmenuj zápis",
"title_entry_label": "Název zápisu",
"universities": "Vysokoškolské poradny",
"university_contacts_description": "Vysokoškolské poradny zpravidla vyžadují předchozí objednání."
"university_contacts_description": "Vysokoškolské poradny zpravidla vyžadují předchozí objednání.",
"year": "Rok",
"emotions": "Emoce",
"select_your_emotions": "Vyberte své emoce",
"select_up_to_9_emotions": "Můžete vybrat maximálně 9 emocí!",
"summary_of_your_moment": "Shrnutí vašeho okamžiku",
"describe_what_happened": "Popiš, co se stalo...",
"add_a_new_emotion": "Přidat novou emoci",
"type_a_new_emotion": "Zadejte novou emoci",
"emotion_too_long": "Emoce je příliš dlouhá (max. 12 znaků)",
"mood_chart": "Graf nálad",
"mood_heatmap": "Mapa nálad",
"mood_statistics": "Statistiky nálad",
"mood_entries": "Záznamy nálad",
"search": "Hledat",
"search_by_summary": "Hledat podle souhrnu",
"enter_part_of_summary": "Zadejte část souhrnu vašeho požadovaného souhrnu",
"search_by_emotions": "Hledat podle emocí",
"no_description_provided": "Žádný popis není k dispozici",
"no_mood_entries": "Pro tyto podmínky nejsou k dispozici žádné záznamy nálady.",
"dark_mode_on": "Tmavý režim je ZAPNUT",
"dark_mode_off": "Tmavý režim je VYPNUT",
"description": "Popis",
"confirm_delete": "Jste si jisti, že chcete tento záznam nálady smazat?",
"enter_summary": "Zadejte krátké shrnutí"
}
27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
"main_partners": "Wichtigste Partner",
"make_call": "Rufen Sie an.",
"math": "Rechnen­",
"month": "Monat",
"math_annouce_correct_answer": "Correct answer",
"math_annouce_incorrect_answer": "Incorrect answer",
"math_game_answer_button": "Was ist das Ergebnis?",
Expand Down Expand Up @@ -303,5 +304,29 @@
"title_entry_hint_text": "Name des Eintrags",
"title_entry_label": "Titel des Eintrags",
"universities": "Universitäten",
"university_contacts_description": "Die Beratungsstellen der Hochschulen verlangen in der Regel einen Termin."
"university_contacts_description": "Die Beratungsstellen der Hochschulen verlangen in der Regel einen Termin.",
"year": "Jahr",
"emotions": "Emotionen",
"select_your_emotions": "Wählen Sie Ihre Emotionen aus",
"select_up_to_9_emotions": "Sie können nur bis zu 9 Emotionen auswählen!",
"summary_of_your_moment": "Zusammenfassung deines Moments",
"describe_what_happened": "Beschreibe, was passiert ist...",
"add_a_new_emotion": "Eine neue Emotion hinzufügen",
"type_a_new_emotion": "Geben Sie eine neue Emotion ein",
"emotion_too_long": "Emotion ist zu lang (max. 12 Zeichen)",
"mood_chart": "Stimmungsdiagramm",
"mood_heatmap": "Stimmungswärmebild",
"mood_statistics": "Stimmungsstatistik",
"mood_entries": "Stimmungseinträge",
"search": "Suche",
"search_by_summary": "Suche nach Zusammenfassung",
"enter_part_of_summary": "Geben Sie einen Teil der Zusammenfassung Ihrer gewünschten Zusammenfassung ein",
"search_by_emotions": "Suche nach Emotionen",
"no_description_provided": "Keine Beschreibung vorhanden",
"no_mood_entries": "Für diese Bedingungen sind keine Stimmungseinträge vorhanden.",
"dark_mode_on": "Dunkler Modus ist AKTIVIERT",
"dark_mode_off": "Dunkler Modus ist DEAKTIVIERT",
"description": "Beschreibung",
"confirm_delete": "Sind Sie sicher, dass Sie diesen Stimmungseintrag löschen möchten?",
"enter_summary": "Geben Sie eine kurze Zusammenfassung ein"
}
27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,30 @@
"title_entry_hint_text": "Name the entry",
"title_entry_label": "Title of the entry",
"universities": "Universities",
"university_contacts_description": "College counseling centers usually require an appointment."
"university_contacts_description": "College counseling centers usually require an appointment.",
"month": "Month",
"year": "Year",
"emotions": "Emotions",
"select_your_emotions": "Select your emotions",
"select_up_to_9_emotions": "You can select up to 9 emotions only!",
"summary_of_your_moment": "Summary of your moment",
"describe_what_happened": "Describe what happened...",
"add_a_new_emotion": "Add a New Emotion",
"type_a_new_emotion": "Type a new emotion",
"emotion_too_long": "Emotion is too long (max 12 characters)",
"mood_chart": "Mood Chart",
"mood_heatmap": "Mood Heatmap",
"mood_statistics": "Mood Statistics",
"mood_entries": "Mood Entries",
"search": "Search",
"search_by_summary": "Search by summary",
"enter_part_of_summary": "Enter a part of summary of your desired summary",
"search_by_emotions": "Search by emotions",
"no_description_provided": "No description provided",
"no_mood_entries": "There are no mood entries for these conditions.",
"dark_mode_on": "Dark Mode is ON",
"dark_mode_off": "Dark Mode is OFF",
"description": "Description",
"confirm_delete": "Are you sure you want to delete this mood entry?",
"enter_summary": "Enter a short summary"
}
27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
"mood_tracked_success_snackbar": "El estado de ánimo se registró con éxito",
"mood_welcome_title": "Hola, ¿cómo te sientes hoy?",
"my_contacts": "Mis contactos",
"month": "Mes",
"my_contacts_header": "Aquí puedo guardar mis propios contactos y enviarles un correo electrónico, sms o llamarlos.",
"my_records": "Mis registros",
"my_contacts_names_example": "Nombre",
Expand Down Expand Up @@ -303,5 +304,29 @@
"title_entry_hint_text": "Nombre de la entrada",
"title_entry_label": "Título de la entrada",
"universities": "Asesoramiento universitario",
"university_contacts_description": "Los centros de asesoramiento universitario suelen requerir cita previa."
"university_contacts_description": "Los centros de asesoramiento universitario suelen requerir cita previa.",
"year": "Año",
"emotions": "Emociones",
"select_your_emotions": "Selecciona tus emociones",
"select_up_to_9_emotions": "¡Solo puedes seleccionar hasta 9 emociones!",
"summary_of_your_moment": "Resumen de tu momento",
"describe_what_happened": "Describe lo que pasó...",
"add_a_new_emotion": "Agregar una nueva emoción",
"type_a_new_emotion": "Escribe una nueva emoción",
"emotion_too_long": "La emoción es demasiado larga (máximo 12 caracteres)",
"mood_chart": "Gráfico de estado de ánimo",
"mood_heatmap": "Mapa de calor del estado de ánimo",
"mood_statistics": "Estadísticas del estado de ánimo",
"mood_entries": "Entradas de estado de ánimo",
"search": "Buscar",
"search_by_summary": "Buscar por resumen",
"enter_part_of_summary": "Ingrese una parte del resumen de su resumen deseado",
"search_by_emotions": "Buscar por emociones",
"no_description_provided": "No hay descripción disponible",
"no_mood_entries": "No hay entradas de estado de ánimo para estas condiciones.",
"dark_mode_on": "El modo oscuro está ACTIVADO",
"dark_mode_off": "El modo oscuro está DESACTIVADO",
"description": "Descripción",
"confirm_delete": "¿Estás seguro de que quieres eliminar esta entrada de estado de ánimo?",
"enter_summary": "Introduce un breve resumen"
}
27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
"math_game_answer_button": "Quel est le résultat ?",
"message_text": "Texte du message",
"minutes": "Minutes",
"month": "Mois",
"months": "Mois",
"mood": "Mood",
"mood_bad_sad": "Triste",
Expand Down Expand Up @@ -303,5 +304,29 @@
"title_entry_hint_text": "Nommez l'entrée",
"title_entry_label": "Titre de l'entrée",
"universities": "Universités",
"university_contacts_description": "Les centres de conseil universitaire exigent généralement un rendez-vous."
"university_contacts_description": "Les centres de conseil universitaire exigent généralement un rendez-vous.",
"year": "Année",
"emotions": "Émotions",
"select_your_emotions": "Sélectionnez vos émotions",
"select_up_to_9_emotions": "Vous ne pouvez sélectionner que jusqu'à 9 émotions !",
"summary_of_your_moment": "Résumé de votre moment",
"describe_what_happened": "Décrivez ce qui s'est passé...",
"add_a_new_emotion": "Ajouter une nouvelle émotion",
"type_a_new_emotion": "Saisissez une nouvelle émotion",
"emotion_too_long": "L'émotion est trop longue (max. 12 caractères)",
"mood_chart": "Graphique d'humeur",
"mood_heatmap": "Carte thermique d'humeur",
"mood_statistics": "Statistiques d'humeur",
"mood_entries": "Entrées d'humeur",
"search": "Rechercher",
"search_by_summary": "Rechercher par résumé",
"enter_part_of_summary": "Entrez une partie du résumé de votre résumé souhaité",
"search_by_emotions": "Rechercher par émotions",
"no_description_provided": "Aucune description fournie",
"no_mood_entries": "Il n'y a pas d'entrées d'humeur pour ces conditions.",
"dark_mode_on": "Le mode sombre est ACTIVÉ",
"dark_mode_off": "Le mode sombre est DÉSACTIVÉ",
"description": "Description",
"confirm_delete": "Êtes-vous sûr de vouloir supprimer cette entrée de l'humeur ?",
"enter_summary": "Entrez un bref résumé"
}
27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_it.arb
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,30 @@
"title_entry_hint_text": "Nome della voce",
"title_entry_label": "Titolo della voce",
"universities": "Università",
"university_contacts_description": "I centri di consulenza universitaria di solito richiedono un appuntamento."
"university_contacts_description": "I centri di consulenza universitaria di solito richiedono un appuntamento.",
"month": "Mese",
"year": "Anno",
"emotions": "Emozioni",
"select_your_emotions": "Seleziona le tue emozioni",
"select_up_to_9_emotions": "Puoi selezionare al massimo 9 emozioni!",
"summary_of_your_moment": "Sommario del tuo momento",
"describe_what_happened": "Descrivi cosa è successo...",
"add_a_new_emotion": "Aggiungi una nuova emozione",
"type_a_new_emotion": "Digita una nuova emozione",
"emotion_too_long": "L'emozione è troppo lunga (max 12 caratteri)",
"mood_chart": "Grafico dell'umore",
"mood_heatmap": "Mappa termica dell'umore",
"mood_statistics": "Statistiche dell'umore",
"mood_entries": "Voci dell'umore",
"search": "Cerca",
"search_by_summary": "Cerca per riassunto",
"enter_part_of_summary": "Inserisci una parte del riassunto del tuo riassunto desiderato",
"search_by_emotions": "Cerca per emozioni",
"no_description_provided": "Nessuna descrizione fornita",
"no_mood_entries": "Non ci sono voci di umore per queste condizioni.",
"dark_mode_on": "Modalità scura ATTIVA",
"dark_mode_off": "Modalità scura DISATTIVA",
"description": "Descrizione",
"confirm_delete": "Sei sicuro di voler eliminare questa voce di umore?",
"enter_summary": "Inserisci un breve riassunto"
}
27 changes: 26 additions & 1 deletion lib/app/l10n/arb/app_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -303,5 +303,30 @@
"title_entry_hint_text": "Name the entry",
"title_entry_label": "Title of the entry",
"universities": "Universities",
"university_contacts_description": "College counseling centers usually require an appointment."
"university_contacts_description": "College counseling centers usually require an appointment.",
"month": "Month",
"year": "Year",
"emotions": "Emotions",
"select_your_emotions": "Select your emotions",
"select_up_to_9_emotions": "You can select up to 9 emotions only!",
"summary_of_your_moment": "Summary of your moment",
"describe_what_happened": "Describe what happened...",
"add_a_new_emotion": "Add a New Emotion",
"type_a_new_emotion": "Type a new emotion",
"emotion_too_long": "Emotion is too long (max 12 characters)",
"mood_chart": "Mood Chart",
"mood_heatmap": "Mood Heatmap",
"mood_statistics": "Mood Statistics",
"mood_entries": "Mood Entries",
"search": "Search",
"search_by_summary": "Search by summary",
"enter_part_of_summary": "Enter a part of summary of your desired summary",
"search_by_emotions": "Search by emotions",
"no_description_provided": "No description provided",
"no_mood_entries": "There are no mood entries for these conditions.",
"dark_mode_on": "Dark Mode is ON",
"dark_mode_off": "Dark Mode is OFF",
"description": "Description",
"confirm_delete": "Are you sure you want to delete this mood entry?",
"enter_summary": "Enter a short summary"
}
Loading

0 comments on commit 5b118a3

Please sign in to comment.