diff --git a/apps/picsa-apps/dashboard/project.json b/apps/picsa-apps/dashboard/project.json index a475891b6..525f13f4b 100644 --- a/apps/picsa-apps/dashboard/project.json +++ b/apps/picsa-apps/dashboard/project.json @@ -46,7 +46,11 @@ "output": "assets/climate-icons" } ], - "styles": ["apps/picsa-apps/dashboard/src/styles.scss", "node_modules/leaflet/dist/leaflet.css"], + "styles": [ + "apps/picsa-apps/dashboard/src/styles.scss", + "node_modules/leaflet/dist/leaflet.css", + "@uppy/core/dist/style.min.css" + ], "stylePreprocessorOptions": { "includePaths": ["libs/theme/src"] }, diff --git a/apps/picsa-apps/dashboard/src/app/modules/profile/components/profile-menu/profile-menu.component.ts b/apps/picsa-apps/dashboard/src/app/modules/profile/components/profile-menu/profile-menu.component.ts index 493570449..90331a578 100644 --- a/apps/picsa-apps/dashboard/src/app/modules/profile/components/profile-menu/profile-menu.component.ts +++ b/apps/picsa-apps/dashboard/src/app/modules/profile/components/profile-menu/profile-menu.component.ts @@ -5,6 +5,7 @@ import { MatDialog } from '@angular/material/dialog'; import { MatIconModule } from '@angular/material/icon'; import { MatMenuModule } from '@angular/material/menu'; import { RouterModule } from '@angular/router'; +import { ENVIRONMENT } from '@picsa/environments/src'; import { SupabaseAuthService } from '@picsa/shared/services/core/supabase/services/supabase-auth.service'; import { SupabaseSignInDialogComponent } from '../sign-in-dialog/sign-in-dialog.component'; @@ -21,7 +22,10 @@ export class ProfileMenuComponent implements AfterViewInit { async ngAfterViewInit() { await this.supabaseAuthService.ready(); - await this.supabaseAuthService.signInDefaultUser(); + // HACK - use anonymous user when running in dev + if (!ENVIRONMENT.production) { + await this.supabaseAuthService.signInDefaultUser(); + } } public signOut() { console.log('signing out'); diff --git a/apps/picsa-apps/extension-app-native/android/app/build.gradle b/apps/picsa-apps/extension-app-native/android/app/build.gradle index e0ae0c591..3bc884feb 100644 --- a/apps/picsa-apps/extension-app-native/android/app/build.gradle +++ b/apps/picsa-apps/extension-app-native/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "io.picsa.extension" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 3042000 - versionName "3.42.0" + versionCode 3043000 + versionName "3.43.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/libs/environments/src/version.ts b/libs/environments/src/version.ts index 8a2995d05..afd01da8e 100644 --- a/libs/environments/src/version.ts +++ b/libs/environments/src/version.ts @@ -4,5 +4,5 @@ import packageJson from '../../../package.json'; export const APP_VERSION = { number: packageJson.version, - date: '2024-07-08', + date: '2024-07-31', }; diff --git a/libs/i18n/assets/debug.json b/libs/i18n/assets/debug.json index b27a0ecfb..932d6de83 100644 --- a/libs/i18n/assets/debug.json +++ b/libs/i18n/assets/debug.json @@ -8,6 +8,7 @@ "Add Female Member": "•Add Female Member•", "Add Male Member": "•Add Male Member•", "Add Option": "•Add Option•", + "Add Photo": "•Add Photo•", "afforestation": "•afforestation•", "After the season": "•After the season•", "All Submitted": "•All Submitted•", @@ -228,6 +229,7 @@ "New Profile": "•New Profile•", "Next": "•Next•", "No outputs produce for consumption": "•No outputs produce for consumption•", + "No photos added": "•No photos added•", "No results found": "•No results found•", "No saved calendars": "•No saved calendars•", "Nov": "•Nov•", diff --git a/libs/i18n/assets/global_en.json b/libs/i18n/assets/global_en.json index b646aee9d..060f37e6c 100644 --- a/libs/i18n/assets/global_en.json +++ b/libs/i18n/assets/global_en.json @@ -163,6 +163,7 @@ "Next": "Next", "Save": "Save", "Above": "Above", + "Add Photo": "Add Photo", "Are the changes a good idea?": "Are the changes a good idea?", "Are you sure you want to delete?": "Are you sure you want to delete?", "Below": "Below", @@ -185,6 +186,7 @@ "I'm an extension worker": "I'm an extension worker", "Name": "Name", "New Profile": "New Profile", + "No photos added": "No photos added", "Options": "Options", "Probability and Risk": "Probability and Risk", "Ram": "Ram", diff --git a/libs/i18n/assets/ke_sw.json b/libs/i18n/assets/ke_sw.json index 61c6d8ef4..da7583096 100644 --- a/libs/i18n/assets/ke_sw.json +++ b/libs/i18n/assets/ke_sw.json @@ -8,6 +8,7 @@ "Add Female Member": "•Add Female Member•", "Add Male Member": "•Add Male Member•", "Add Option": "•Add Option•", + "Add Photo": "•Add Photo•", "afforestation": "•afforestation•", "After the season": "•After the season•", "All Submitted": "•All Submitted•", @@ -228,6 +229,7 @@ "New Profile": "•New Profile•", "Next": "•Next•", "No outputs produce for consumption": "•No outputs produce for consumption•", + "No photos added": "•No photos added•", "No results found": "•No results found•", "No saved calendars": "•No saved calendars•", "Nov": "•Nov•", diff --git a/libs/i18n/assets/mw_ny.json b/libs/i18n/assets/mw_ny.json index 76b123fa5..c2056bfe6 100644 --- a/libs/i18n/assets/mw_ny.json +++ b/libs/i18n/assets/mw_ny.json @@ -8,6 +8,7 @@ "Add Female Member": "Onjezerani membala wa mkazi", "Add Male Member": "Onjezerani membala wa mamuna", "Add Option": "•Add Option•", + "Add Photo": "•Add Photo•", "afforestation": "kudzala mitengo", "After the season": "Pakutha pa nyengo", "All Submitted": "•All Submitted•", @@ -228,6 +229,7 @@ "New Profile": "Mbiri yatsopano", "Next": "pitani tsamba lina", "No outputs produce for consumption": "Palibe zokolora zomwe zagwiritsidwa (zadyedwa) ntchito pakhomo", + "No photos added": "•No photos added•", "No results found": "•No results found•", "No saved calendars": "•No saved calendars•", "Nov": "•Nov•", diff --git a/libs/i18n/assets/tj_tg.json b/libs/i18n/assets/tj_tg.json index 6114d5f31..e3a59622a 100644 --- a/libs/i18n/assets/tj_tg.json +++ b/libs/i18n/assets/tj_tg.json @@ -8,6 +8,7 @@ "Add Female Member": "•Add Female Member•", "Add Male Member": "•Add Male Member•", "Add Option": "•Add Option•", + "Add Photo": "•Add Photo•", "afforestation": "орадодӣ", "After the season": "•After the season•", "All Submitted": "•All Submitted•", @@ -228,6 +229,7 @@ "New Profile": "•New Profile•", "Next": "Баъдӣ", "No outputs produce for consumption": "•No outputs produce for consumption•", + "No photos added": "•No photos added•", "No results found": "•No results found•", "No saved calendars": "•No saved calendars•", "Nov": "Ноябр", diff --git a/libs/i18n/assets/zm_ny.json b/libs/i18n/assets/zm_ny.json index 9e8115def..722f999ae 100644 --- a/libs/i18n/assets/zm_ny.json +++ b/libs/i18n/assets/zm_ny.json @@ -8,6 +8,7 @@ "Add Female Member": "Ikamponi membala wam'kazi", "Add Male Member": "Ikamponi membala wam'muna", "Add Option": "•Add Option•", + "Add Photo": "•Add Photo•", "afforestation": "kubyala mitengo", "After the season": "Pambuyo pakutha kwa Nyengo", "All Submitted": "•All Submitted•", @@ -228,6 +229,7 @@ "New Profile": "Profaelo yatsopano", "Next": "ina", "No outputs produce for consumption": "Palibe zokolola zakudya pakhomo", + "No photos added": "•No photos added•", "No results found": "•No results found•", "No saved calendars": "•No saved calendars•", "Nov": "•Nov•", diff --git a/libs/i18n/templates/_template.csv b/libs/i18n/templates/_template.csv index 9abcdd980..49f665a77 100644 --- a/libs/i18n/templates/_template.csv +++ b/libs/i18n/templates/_template.csv @@ -163,6 +163,7 @@ tool,context,text "common","buttons","Next" "common","buttons","Save" "common",,"Above" +"common",,"Add Photo" "common",,"Are the changes a good idea?" "common",,"Are you sure you want to delete?" "common",,"Below" @@ -185,6 +186,7 @@ tool,context,text "common",,"I'm an extension worker" "common",,"Name" "common",,"New Profile" +"common",,"No photos added" "common",,"Options" "common",,"Probability and Risk" "common",,"Ram" diff --git a/libs/i18n/templates/_template.json b/libs/i18n/templates/_template.json index 8d5034121..dbc453dd2 100644 --- a/libs/i18n/templates/_template.json +++ b/libs/i18n/templates/_template.json @@ -756,6 +756,10 @@ "text": "Above", "tool": "common" }, + { + "text": "Add Photo", + "tool": "common" + }, { "text": "Are the changes a good idea?", "tool": "common" @@ -844,6 +848,10 @@ "text": "New Profile", "tool": "common" }, + { + "text": "No photos added", + "tool": "common" + }, { "text": "Options", "tool": "common" diff --git a/package.json b/package.json index 4bc03f49d..f1b807fe4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "picsa-apps", - "version": "3.42.0", + "version": "3.43.0", "license": "See LICENSE", "scripts": { "ng": "nx",