Refined-github: `bugs-tab` doesn't work with uppercase `Bugs` tag

Created on 20 Feb 2020  路  23Comments  路  Source: sindresorhus/refined-github

I am wondering why I don't get a "Bugs" tab on https://github.com/redaxo/redaxo but i can see it on other reposes with the same browser?

using FF 75.0a1 (2020-02-19) (64-bit) and refined github 20.2.19

bug

All 23 comments

Because label:bug doesn鈥檛 match Bug

ok, so we should change the label form "Bug" to "bug"?

or should refined github be case-insensitive in this case?

It鈥檚 not Refined GitHub but GitHub themselves. Their tags are case sensitive

@fregante https://github.com/redaxo/redaxo/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug
will bring up the bugs tab (the search is not case sensitive)

GitHub search may not be, but the labels API is. Maybe we need to change it to use the search API instead

I think it makes sense to be case-insensitive here.

On enterprise there also seems to be an issue. Only shows when manually searching label:bug. Bug count in the tab says 0.

Screen Shot 2020-03-18 at 2 14 37 PM

it's behind a VPN, scusi. I'll check in Firefox too. I am using Chrome

No need to check Firefox, Chrome is always preferred for debugging.

Did you set a token specifically for your GH Enterprise?

Yes, I set a new one for the GH enterprise domain.

ow snap, I cleared cache and it works now! thanks for the quick answers!

Beautiful feature!

Screen Shot 2020-03-18 at 2 41 02 PM

the initially reported repo does still not show the "Bugs" tab for me even when using the latest refined-github release:

https://github.com/redaxo/redaxo

grafik

I dont have the permission to re-open this issue, but since the bug still exists I guess we should @fregante ..?

(see comment above for a repro)

It works both in Firefox

Screen Shot 2020-04-08 at 13 07 32

And Chrome

chrome

Are you using the latest version? Any errors in the console?

I am on 20.4.5 and testing in firefox 77.0a1.

the feature works for me in other repositories.

I get a error in the browser-console, not sure this is related
grafik

but works on the refined github repo with the very same Firefox

grafik

I also can reproduce the problem in Chrome 84 with refined github 20.4.1

grafik

in this very same chrome instance the "Bugs" tab appears when browsing e.g. the refined github repo itself:

grafik

@staabm can you try to clear the cashe?

can you try to clear the cashe?

which cache? how to clear it?

open the extension options all the way on the bottom

image

  1. Open https://github.com/redaxo/redaxo in Chrome
  2. Clear the cache
  3. Open the dev tools
  4. Refresh the page
  5. Search "graphql"
  6. Find the query that looks like this

One of the queries should be (in the Headers tab):

{
    search(type: ISSUE, query: "label:bug is:open is:issue repo:redaxo/redaxo") {
        issueCount
    }
}

thx for the hints guys!

clearing the cache did it. I can see the tab now in Firefox and in Chrome.

I guess there is some cache eviction problem going on?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mareksuscak picture mareksuscak  路  3Comments

fregante picture fregante  路  3Comments

Celthi picture Celthi  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

durka picture durka  路  3Comments