Quantcast
Channel: Active questions tagged homepage - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 76

New CSS class on landing page exposes tag regex issue

$
0
0

I am not sure if it is just affecting stackoverflow.com or others too.

When you have an ignored tag with a wildcard prefix, tags can be matched incorrectly.

I have been using *js for a long time as an ignored tag, but from this week, the stackoverflow.com landing page just hides all the questions regardless. If you go to /questions everything is working as it should.

This seems to be caused by a new CCS class added to the landing page questions, js-tags.

Repro and verification:

  1. Add *js as an ignored tag
  2. Reload page, all questions gone
  3. Run the following JS from dev tools to 'reverse' the bug
$(".js-tags").removeClass('js-tags');StackExchange.tagPreferences.applyPrefs(true, [], undefined);
  1. All questions are shown correctly again

Issue:

It would seem on the landing page, tags are not collected correctly. It should only be reading t-.+, but it seems to read anything with a -. This can be verified by adding an ignored tag as *s-tags which with still match the js-tags class which is on every question.


Viewing all articles
Browse latest Browse all 76

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>