Skip to content

Commit 3dfa19c

Browse files
committed
RE1-T105 Analytics fix
1 parent b3105ec commit 3dfa19c

29 files changed

Lines changed: 183 additions & 157 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,4 @@ Web/Resgrid.WebCore/wwwroot/js/ng/*
272272
Web/Resgrid.WebCore/wwwroot/lib/*
273273
/Web/Resgrid.Web/wwwroot/lib
274274
.dual-graph/
275+
.claude/settings.local.json
Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,10 @@
1-
namespace Resgrid.Config
1+
namespace Resgrid.Config
22
{
33
public static class TelemetryConfig
44
{
55
public static string Exporter = "";
66

7-
public static TelemetryExporters ExporterType = TelemetryExporters.None;
8-
public static string PostHogUrl = "";
9-
public static string PostHogApiKey = "";
10-
11-
public static string AptabaseUrl = "";
12-
public static string AptabaseWebApiKey = "";
13-
public static string AptabaseServicesApiKey = "";
14-
public static string AptabaseResponderApiKey = "";
15-
public static string AptabaseUnitApiKey = "";
16-
public static string AptabaseBigBoardApiKey = "";
17-
public static string AptabaseDispatchApiKey = "";
18-
197
public static string CountlyUrl = "";
208
public static string CountlyWebKey = "";
21-
22-
public static string GetAnalyticsKey()
23-
{
24-
if (ExporterType == TelemetryExporters.PostHog)
25-
return PostHogApiKey;
26-
else if (ExporterType == TelemetryExporters.Aptabase)
27-
return AptabaseWebApiKey;
28-
return string.Empty;
29-
}
30-
}
31-
32-
public enum TelemetryExporters
33-
{
34-
None = 0,
35-
PostHog = 1,
36-
Aptabase = 2
379
}
3810
}

Core/Resgrid.Localization/Account/Login.ar.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,10 @@
198198
<data name="Username" xml:space="preserve">
199199
<value>اسم المستخدم</value>
200200
</data>
201+
<data name="DiscountCode" xml:space="preserve">
202+
<value>Discount Code</value>
203+
</data>
204+
<data name="AffiliateCode" xml:space="preserve">
205+
<value>Affiliate Code</value>
206+
</data>
201207
</root>

Core/Resgrid.Localization/Account/Login.de.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@
203203
<data name="Username" xml:space="preserve">
204204
<value>Benutzername</value>
205205
</data>
206+
<data name="DiscountCode" xml:space="preserve">
207+
<value>Discount Code</value>
208+
</data>
209+
<data name="AffiliateCode" xml:space="preserve">
210+
<value>Affiliate Code</value>
211+
</data>
206212
</root>

Core/Resgrid.Localization/Account/Login.en.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,10 @@
252252
<data name="Username" xml:space="preserve">
253253
<value>Username</value>
254254
</data>
255+
<data name="DiscountCode" xml:space="preserve">
256+
<value>Discount Code</value>
257+
</data>
258+
<data name="AffiliateCode" xml:space="preserve">
259+
<value>Affiliate Code</value>
260+
</data>
255261
</root>

Core/Resgrid.Localization/Account/Login.es.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,4 +252,10 @@
252252
<data name="Username" xml:space="preserve">
253253
<value>Nombre de usuario</value>
254254
</data>
255+
<data name="DiscountCode" xml:space="preserve">
256+
<value>Discount Code</value>
257+
</data>
258+
<data name="AffiliateCode" xml:space="preserve">
259+
<value>Affiliate Code</value>
260+
</data>
255261
</root>

Core/Resgrid.Localization/Account/Login.fr.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@
203203
<data name="Username" xml:space="preserve">
204204
<value>Nom d'utilisateur</value>
205205
</data>
206+
<data name="DiscountCode" xml:space="preserve">
207+
<value>Discount Code</value>
208+
</data>
209+
<data name="AffiliateCode" xml:space="preserve">
210+
<value>Affiliate Code</value>
211+
</data>
206212
</root>

Core/Resgrid.Localization/Account/Login.it.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@
203203
<data name="Username" xml:space="preserve">
204204
<value>Nome utente</value>
205205
</data>
206+
<data name="DiscountCode" xml:space="preserve">
207+
<value>Discount Code</value>
208+
</data>
209+
<data name="AffiliateCode" xml:space="preserve">
210+
<value>Affiliate Code</value>
211+
</data>
206212
</root>

Core/Resgrid.Localization/Account/Login.pl.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@
203203
<data name="Username" xml:space="preserve">
204204
<value>Nazwa użytkownika</value>
205205
</data>
206+
<data name="DiscountCode" xml:space="preserve">
207+
<value>Discount Code</value>
208+
</data>
209+
<data name="AffiliateCode" xml:space="preserve">
210+
<value>Affiliate Code</value>
211+
</data>
206212
</root>

Core/Resgrid.Localization/Account/Login.sv.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,10 @@
203203
<data name="Username" xml:space="preserve">
204204
<value>Användarnamn</value>
205205
</data>
206+
<data name="DiscountCode" xml:space="preserve">
207+
<value>Discount Code</value>
208+
</data>
209+
<data name="AffiliateCode" xml:space="preserve">
210+
<value>Affiliate Code</value>
211+
</data>
206212
</root>

0 commit comments

Comments
 (0)