Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix App Insights JS #1226

Merged
merged 5 commits into from
Dec 2, 2024
Merged

Fix App Insights JS #1226

merged 5 commits into from
Dec 2, 2024

Conversation

DrizzlyOwl
Copy link
Collaborator

@DrizzlyOwl DrizzlyOwl commented Nov 28, 2024

  • Making it a shared partial keeps the _layout.cshtml cleaner
  • Extract App Insights connection string into Options
  • Modifies the Dockerfile to ensure that application-insights.min.js is compiled at build-time. This fixes the issue wherein the JS was not being loaded on the frontend

@DrizzlyOwl DrizzlyOwl enabled auto-merge (squash) November 28, 2024 14:54
@DrizzlyOwl DrizzlyOwl force-pushed the feature/app-insights-frontend-sdk branch from 1ce3549 to 0e89d8e Compare November 28, 2024 17:15
@DrizzlyOwl DrizzlyOwl force-pushed the feature/app-insights-frontend-sdk branch from 0e89d8e to 12a9ed2 Compare November 28, 2024 17:24
@DrizzlyOwl DrizzlyOwl force-pushed the feature/app-insights-frontend-sdk branch from 12a9ed2 to 19b1803 Compare November 28, 2024 17:38
@DrizzlyOwl DrizzlyOwl changed the title Abstract App Insights JS SDK Fix App Insights JS Nov 29, 2024
* Making it a shared partial keeps the _layout.cshtml cleaner

* Adds missing configuration for click tracking and user identification

* Extract App Insights connection string into Options
@DrizzlyOwl DrizzlyOwl force-pushed the feature/app-insights-frontend-sdk branch from 320d60c to 59df364 Compare December 2, 2024 11:59
@DrizzlyOwl DrizzlyOwl merged commit 5430458 into main Dec 2, 2024
4 checks passed
@DrizzlyOwl DrizzlyOwl deleted the feature/app-insights-frontend-sdk branch December 2, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants