Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bce0e8e

Browse filesBrowse files
authored
Merge pull request getredash#2507 from getredash/resolution
Log user's screen resolution
2 parents bdb8682 + cddf398 commit bce0e8e
Copy full SHA for bce0e8e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Collapse file

‎client/app/services/events.js‎

Copy file name to clipboardExpand all lines: client/app/services/events.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function Events($http) {
1616
object_type: objectType,
1717
object_id: objectId,
1818
timestamp: Date.now() / 1000.0,
19+
screen_resolution: `${window.screen.width}x${window.screen.height}`,
1920
};
2021
Object.assign(event, additionalProperties);
2122
this.events.push(event);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.