finish core
This commit is contained in:
@@ -29,7 +29,7 @@ describe('wakatime config', () => {
|
||||
"colors": {
|
||||
"allGood": "",
|
||||
"lightTheme": "white",
|
||||
"notLogging": "gray",
|
||||
"trackingDisabled": "gray",
|
||||
"notSignedIn": "red",
|
||||
},
|
||||
"currentUserApiEndPoint": "/users/current",
|
||||
@@ -46,7 +46,7 @@ describe('wakatime config', () => {
|
||||
"udemy.com",
|
||||
"w3schools.com",
|
||||
],
|
||||
"heartbeatApiEndPoint": "/users/current/heartbeats",
|
||||
"heartbeatApiEndPoint": "/users/current/heartbeats.bulk",
|
||||
"hostname": "",
|
||||
"loggingEnabled": true,
|
||||
"loggingStyle": "deny",
|
||||
@@ -71,7 +71,7 @@ describe('wakatime config', () => {
|
||||
],
|
||||
"states": [
|
||||
"allGood",
|
||||
"notLogging",
|
||||
"trackingDisabled",
|
||||
"notSignedIn",
|
||||
"ignored",
|
||||
],
|
||||
@@ -80,7 +80,7 @@ describe('wakatime config', () => {
|
||||
"tooltips": {
|
||||
"allGood": "",
|
||||
"ignored": "This URL is ignored",
|
||||
"notLogging": "Not logging",
|
||||
"trackingDisabled": "Not logging",
|
||||
"notSignedIn": "Not signed In",
|
||||
},
|
||||
"trackSocialMedia": true,
|
||||
|
||||
@@ -3,7 +3,7 @@ import browser from 'webextension-polyfill';
|
||||
/**
|
||||
* Logging
|
||||
*/
|
||||
export type ExtensionStatus = 'allGood' | 'notLogging' | 'notSignedIn' | 'ignored';
|
||||
export type ExtensionStatus = 'allGood' | 'trackingDisabled' | 'notSignedIn' | 'ignored';
|
||||
/**
|
||||
* Supported logging style
|
||||
*/
|
||||
@@ -35,7 +35,7 @@ interface SuccessOrFailAlert {
|
||||
interface Colors {
|
||||
allGood: '';
|
||||
lightTheme: 'white';
|
||||
notLogging: 'gray';
|
||||
trackingDisabled: 'gray';
|
||||
notSignedIn: 'red';
|
||||
}
|
||||
/**
|
||||
@@ -44,7 +44,7 @@ interface Colors {
|
||||
interface Tooltips {
|
||||
allGood: string;
|
||||
ignored: string;
|
||||
notLogging: string;
|
||||
trackingDisabled: string;
|
||||
notSignedIn: string;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ const config: Config = {
|
||||
colors: {
|
||||
allGood: '',
|
||||
lightTheme: 'white',
|
||||
notLogging: 'gray',
|
||||
trackingDisabled: 'gray',
|
||||
notSignedIn: 'red',
|
||||
},
|
||||
|
||||
@@ -176,7 +176,7 @@ const config: Config = {
|
||||
'youtube.com',
|
||||
],
|
||||
|
||||
states: ['allGood', 'notLogging', 'notSignedIn', 'ignored'],
|
||||
states: ['allGood', 'trackingDisabled', 'notSignedIn', 'ignored'],
|
||||
|
||||
summariesApiEndPoint: process.env.SUMMARIES_API_URL ?? '/users/current/summaries',
|
||||
|
||||
@@ -185,7 +185,7 @@ const config: Config = {
|
||||
tooltips: {
|
||||
allGood: '',
|
||||
ignored: 'This URL is ignored',
|
||||
notLogging: 'Not logging',
|
||||
trackingDisabled: 'Not logging',
|
||||
notSignedIn: 'Not signed In',
|
||||
},
|
||||
trackSocialMedia: true,
|
||||
|
||||
Reference in New Issue
Block a user