more tracking

pull/5370/head
bunsenstraat 4 months ago
parent 993f4e3e21
commit a1a3556e1c
  1. 2
      libs/remix-ui/git/src/lib/gitactions.ts
  2. 1
      libs/remix-ui/git/src/types/index.ts

@ -637,8 +637,10 @@ export const loadGitHubUserFromToken = async () => {
type: 'success',
message: `Github user loaded...`
})
await sendToMatomo(gitMatomoEventTypes.LOADGITHUBUSERSUCCESS)
return true
} else {
await sendToMatomo(gitMatomoEventTypes.ERROR, ['GITHUB USER LOAD ERROR'])
sendToGitLog({
type: 'error',
message: `Please check your GitHub token in the GitHub settings.`

@ -371,6 +371,7 @@ export enum gitMatomoEventTypes {
SETREMOTEBRANCHINCOMMANDS = 'SET_REMOTE_IN_COMMANDS',
REFRESH = 'REFRESH',
ERROR = 'ERROR',
LOADGITHUBUSERSUCCESS = 'LOAD_GITHUB_USER_SUCCESS',
}
export enum gitUIPanels {

Loading…
Cancel
Save