Name: [FIX] viin_brand_common: apply brand palette/title only in genuine sessions; core metrics in QUnit

State: Killed

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #657

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: e68f89f850962f098ee8e8367448ccb71b12b7f7

Description:

                                            [FIX] viin_brand_common: apply brand palette/title only in genuine sessions; core metrics in QUnit

Three brand client tweaks broke core QUnit suites: the unconditional
colors.getColor override failed 30 GraphView tests asserting the default
palette; the 'Viindoo' window-title part failed 3 ActionManager title tests;
and the 15px base font shifted pixel-geometry assertions (Draggable
confinement, Scroller offsets, tour anchors) by fractions of a pixel (runbot
223219/396221 & 223235/396399).

session_info now stamps a viin_brand marker: real sessions keep the brand
palette and title, mock test sessions (marker absent) fall through to core
behavior. A web.tests_assets-only CSS reset pins the test page back to the
14px core base font - the real webclient is untouched. Also fix the missing
'#' on the last palette color (was an invalid CSS color).
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: Not finished