From 0232752097dcde21d69bf859bad208323be4f3b5 Mon Sep 17 00:00:00 2001 From: Jan Drewniak Date: Wed, 4 Oct 2023 12:36:29 -0400 Subject: [PATCH] [Prototype] Add screen resolution to Typography prototype Adds screen resolution (`${window.innerWidth} x ${window.innerHeight}`) to the prefilled feedback form for the typography prototype. Change-Id: I38ec6fe5232c1d90df6d5d56b0f0cb32acdcc64e --- resources/skins.vector.typographySurvey/TypographySurvey.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/skins.vector.typographySurvey/TypographySurvey.vue b/resources/skins.vector.typographySurvey/TypographySurvey.vue index a03c61448..c00e248ed 100644 --- a/resources/skins.vector.typographySurvey/TypographySurvey.vue +++ b/resources/skins.vector.typographySurvey/TypographySurvey.vue @@ -93,6 +93,7 @@ module.exports = exports = { [ 'preloadparams[]', this.lineHeight ], [ 'preloadparams[]', this.verticalMargins ], [ 'preloadparams[]', window.location.href ], + [ 'preloadparams[]', `${window.innerWidth} x ${window.innerHeight}` ], [ 'preloadtitle', ( mw.user.getName() ) ? 'User: ' + mw.user.getName() : '' ] ] ); return "https://www.mediawiki.org/wiki/Reading/Web/Accessibility_for_reading/Community_Prototype_Testing/Feedback?" + feedbackUrlParams.toString();