refined-bitbucket icon indicating copy to clipboard operation
refined-bitbucket copied to clipboard

Dashboard Pull requests filters alike Your Work page view

Open jwallet opened this issue 4 years ago • 2 comments

weird thing i ran npm install, and it told me that it had several critical vulnerability on dependencies. so updated thoses packages but did not commit

i did commited files that did not passed the linter after running lint

  • [x] I updated the CHANGELOG.md

  • [x] I tested the changes in this pull request myself

  • [x] I added Automated Tests

  • [x] I added an Option to enable / disable this feature

  • [x] I updated the README.md, with pictures if necessary

  • the feature does not requires the api

  • reads the PullRequests table elements

  • reads body data-current-user to find who am i

  • as a new QuerySelector to keep rows updated when switching the main filter e.g.: Teams -> Mine

  • uses localstorage to store checked options

    • localStorage was set up in jsdom using jsdom.JSDOM(undefined, { url: 'http://localhost' }) to be able to run it (unsafe)
    • could have use browser.storage.sync for firefox but it would not have work for chrome, not sure how chrome handles storage

pr-filters

jwallet avatar Apr 10 '20 21:04 jwallet

added notMe selector when needs my approval is selected, could be a standalone option as well, but for now I leave it like this

jwallet avatar Apr 10 '20 23:04 jwallet

can probably rework the PR to replace the DOM checkbox by something more Atlassian like

jwallet avatar Apr 14 '20 19:04 jwallet