"Show whitespace changes" Issues

"Show whitespace changes" checkbox has at least two issues:

  • checking the checkbox requires a manual window.reload before the changes are applied.
  • It overwrites the whole query parameter field in the url, so existing parameters are actually removed instead of just appending w=1

The expected solution would be:

  • Couple the white space showing as a computed property, and at the same time the url route is updated, update the local variable for the whitespace
  • Append/update the w query parameter when the setting is changed, not overwritten