Extra Stat collection (#407)
* Cleaned up error interceptor to avoid sending auth errors (when a 500 occurs) to sentry as auth errors aren't issues. * Added extra stat collection * Fixed a bad gitignore which ignored anything in a stats directory
This commit is contained in:
parent
b9a06d3586
commit
b11bb0e3b5
18 changed files with 64 additions and 57 deletions
13
UI/Web/src/app/_models/stats/client-info.ts
Normal file
13
UI/Web/src/app/_models/stats/client-info.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { DetailsVersion } from "./details-version";
|
||||
|
||||
|
||||
export interface ClientInfo {
|
||||
os: DetailsVersion,
|
||||
browser: DetailsVersion,
|
||||
platformType: string,
|
||||
kavitaUiVersion: string,
|
||||
screenResolution: string;
|
||||
usingDarkTheme: boolean;
|
||||
|
||||
collectedAt?: Date;
|
||||
}
|
||||
4
UI/Web/src/app/_models/stats/details-version.ts
Normal file
4
UI/Web/src/app/_models/stats/details-version.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export interface DetailsVersion {
|
||||
name: string;
|
||||
version: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue