Add click tracking to components
e9e6a437
Josef König
committed
succeeded
10 changed files
SwitchTab.razor
/WPE.App.Shared.BaseComponents/Pages/ActionElement/Tab/SwitchTab.razor
/WPE.App.Shared.BaseComponents/Pages/ActionElement/Tab/SwitchTab.razor
Tickets.razor
/WPE.App.Shared.BaseComponents/Pages/Atom/Tickets.razor+4
/WPE.App.Shared.BaseComponents/Pages/Atom/Tickets.razor
Add comment 1 Plus  @inherits Infsoft.WPE.App.Shared.BaseComponents.Pages.Components.TrackedStyleComponent
Add comment 2 Plus  
Add comment 1 3 @{
Add comment 2 4 string buttonClass = "tickets-button";
Add comment 3 5 buttonClass += $" {Type.ToString().ToLower()}";
Add comment 43 45 {
Add comment 44 46 if (Type == TicketsType.Available)
Add comment 45 47 {
Add comment 48 Plus   _ = base.TrackClick("TicketAvailable");
Add comment 46 49 _ = AvailableClicked.InvokeAsync();
Add comment 47 50 }
Add comment 48 51 else if (Type == TicketsType.NotAvailable)
Add comment 49 52 {
Add comment 53 Plus   _ = base.TrackClick("TicketNotAvailable");
Add comment 50 54 _ = NotAvailableClicked.InvokeAsync(buttonRef);
Add comment 51 55 }
Add comment 52 56 }
ButtonDay.razor
/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonDay.razor
/WPE.App.Shared.BaseComponents/Pages/Buttons/ButtonDay.razor
TrackedStyleComponent.razor
/WPE.App.Shared.BaseComponents/Pages/Components/TrackedStyleComponent.razor
/WPE.App.Shared.BaseComponents/Pages/Components/TrackedStyleComponent.razor
ConfirmationDialog.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Confirmation/ConfirmationDialog.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Confirmation/ConfirmationDialog.razor
InformationDialog.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Information/InformationDialog.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Information/InformationDialog.razor
QuickInfo.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Information/QuickInfo.razor
/WPE.App.Shared.BaseComponents/Pages/Module/Information/QuickInfo.razor
NavigationTab.razor
/WPE.App.Shared.BaseComponents/Pages/Navigation/NavigationTab.razor
/WPE.App.Shared.BaseComponents/Pages/Navigation/NavigationTab.razor
PatternPeopleInfoAdd.razor
/WPE.App.Shared.BaseComponents/Pages/Pattern/PatternPeopleInfoAdd.razor
/WPE.App.Shared.BaseComponents/Pages/Pattern/PatternPeopleInfoAdd.razor
WPE.App.Shared.BaseComponents.csproj
/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj
/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj