sindresorhus/refined-github

`list-prs-for-file` shows merged PRs #2922

jack1142 posted onGitHub

For me, it's showing already merged #2905 on https://github.com/sindresorhus/refined-github/edit/master/source/libs/utils.ts but that depends on cache state.

Would be great if the feature would check if the OPEN state is still true for PRs in cache.


We can't avoid these bugs. Either we have cache and deal with slightly out-of-date info or we trigger unnecessary/slow API calls at every page load.

posted by fregante about 5 years ago

@fregante I know you closed this, but would it be possible to update the cache when you go to the PR that we have outdated info about? That would be possible to do using DOM so it wouldn't require an API call and at least for me, it would make the cache much more accurate.

posted by jack1142 about 5 years ago

Fund this Issue

$0.00
Funded

Pull requests