GithubHelp home page GithubHelp logo

fitzgen / bugzilla-todos Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 34.0 526 KB

Bugzilla todo list of reviews, flag requests, and bugs to fix

Home Page: https://fitzgen.github.io/bugzilla-todos/

License: Mozilla Public License 2.0

JavaScript 98.82% CSS 0.85% HTML 0.32%

bugzilla-todos's People

Contributors

bgrins avatar dcrewi avatar fitzgen avatar gijsk avatar gitter-badger avatar gozala avatar harthur avatar jsantell avatar jwatt avatar mozfreddyb avatar nikhilm avatar paulrouget avatar reuben avatar tromey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bugzilla-todos's Issues

Wants me to check in obsoleted patches

Under "To Check In (1)" it lists

904598 - WebRTC not working on Ubuntu and Mac OS X machines
patch by jib 14 days ago
patch by jib 12 days ago

but these patches are obsoleted and are no longer candidates for checkin. It would be nice if they weren't listed as TODOs since there's nothing to do.

React warnings in console

10:58:07.946 "Warning: Something is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.946 "Warning: React.renderComponent will be deprecated in a future version. Use React.render instead." react-0.12.0.js:18087:6
10:58:07.948 "Warning: TodosApp is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.952 "Warning: TodoTabs is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.953 "Each child in an array should have a unique "key" prop. Check the render method of TabsNav. See http://fb.me/react-warning-keys for more information." react-0.12.0.js:9663:2
10:58:07.955 "Warning: TabsContent is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.955 "Each child in an array should have a unique "key" prop. Check the render method of TabsContent. See http://fb.me/react-warning-keys for more information." react-0.12.0.js:9663:2
10:58:07.956 "Warning: PatchList is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.956 "Warning: List is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.957 "Warning: NagList is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.958 "Warning: RespondList is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6
10:58:07.958 "Warning: BugList is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory" react-0.12.0.js:18087:6

HTML validation errors

http://html5.validator.nu/?doc=https%3A%2F%2Fharthur.github.io%2Fbugzilla-todos%2F

Error: Stray end tag img.
From line 175, column 68; to line 175, column 73
Bugzilla"></img>↩

Error: Element form not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
From line 179, column 11; to line 179, column 57
<form id="login-form" onsubmit="submitLogin()">↩

Error: Stray end tag span.
From line 184, column 7; to line 184, column 13
an>↩ </span>↩ <

Error: Bad value true for attribute hidden on element iframe.
From line 210, column 3; to line 210, column 64
</div>↩↩ <iframe id="submit-iframe" name="submit-iframe" hidden="true">↩ </i

Sorting should be inverted (or an option)

I would prefer to have my reviews being shown from the oldest to the newest but I would understand that some people might prefer the opposite and depending on the tab and the number of items in the tab, users might want to ignore old requests. Maybe there should be an option for that?

Review requests on non-patch attachments should not link to Splinter

If a review/feedback request is requested on an attachment, but that attachment does not have is_patch set, we still link to the Splinter page, even though Splinter does not support these attachments.

eg for a review request for bug 1046226, I had an entry on the bugzilla-todos "To Review" tab, which had the "review" button linking to:
https://bugzilla.mozilla.org/page.cgi?id=splinter.html&bug=1046226&attachment=8490180

Where Splinter shows the error:
"Attachment 8490180 is not an attachment to bug 1046226"
(I've filed bug 1068519 against Splinter to improve this error message)

In ascending order of preference, we should:
a) Hide the review button for !patch attachments
b) Link to the "Details" page for such attachments (eg https://bugzilla.mozilla.org/attachment.cgi?id=8490180&action=edit)
c) Do #b above but if the attachment has content type "text/x-github-pull-request" additionally link to the pull request on Github.

Optimize Bugzilla queries

There are 5 Bugzilla queries and some of them take years. Should look into what could make them faster, and maybe offload some logic to the client-side.

Handle HTTP 400 errors thrown when a dependant bug is non-public

In issue #54, we throw when encountering err = "HTTP status 400", which can be caused by the bug being non-public (ie Access Denied). I'm going to file an issue against bz.js for making this case more identifiable, but for now we should handle these more elegantly.

The reason for looking at dependant bugs is to decide if the current bug is actionable, and so whether it should be excluded from the "to fix" list or not. In the case of access denied bugs (where we cannot know if they are open or resolved), we should treat them as resolved to be safe (and thus not be the cause for the current bug to be hidden, since we can't say whether it's blocked or not).

https://github.com/harthur/bugzilla-todos/blob/gh-pages/app/user.js#L316

When refreshing, fetch currently selected tab first

I don't know if this is just the API latency (and query simplicity or lack thereof) making the queries slow, but it seems like "To Review" always loads first. It'd be nice if, should I have another tab loaded first, that one loaded before the others did

Don't show bugs with [fixed-in-...] as 'To Fix'

My "To Fix" list used to be pretty short, but yesterday or the day before it seems bugmotodo was updated and now it shows all the bugs I've fixed on the UX branch (which isn't merging for a little while...) and are marked as [fixed-in-ux]. This makes me sad because I can no longer distill a useful 'todo' list from it. :-(

I looked through the changes in the last 3 months but didn't see an explicit change in this filtering... maybe I missed it? Was this deliberate, and if so, could we (shudder) have an option to enable/disable this behaviour?

Feaure request: notification when someone clears a needinfo you requested

First, this app is amazingly useful, thank you for all the work on it!

Right now an item appears with a notification under "to-nag" when you make a needinfo request of someone. When they clear the flag, it just disappears.

It would be great if there was some indication that the needinfo had been cleared and that the bug was ready for another look.

Don't show needinfo flags of oneself in "To Nag"

Today my bugmail inbox was heavy on unread stuff, so I needinfo'd myself on bugs I still need to respond to. I'm told I'm not the first one to be doing this.

They show up double, both in "to respond" and in "to nag". Ideally, they shouldn't be in "to nag", I think. :-)

Add tests

Making changes to the source is scary without them :(

What testing lib are all the cool kids using these days?

Assigned bugs with checkin+ patches do not appear anywhere

After getting review in bug 1107523, it initially appeared on the "to check in" tab, as expected.

There's more work to be done in that bug apart from the first patch, so I marked the patch as checkin+, hoping the bug would move back to the "to fix" tab.

Instead, it now doesn't appear on any of the tabs. I've assumed that the sum of all the tabs should be a superset of all of my open assigned bugs, but it currently isn't.

show treeherder status summary

It would be quite nice if bugs in the "to check in" panel also showed a brief summary of the status of any try push for the bug. In particular it would be nice to see (1) if a try push has been done, (2) the %-completion of the run, and (3) have the summary be a link to the appropriate treeherder URL.

Currently I have a separate treeherder window open, but since I can't easily drop "uninteresting" builds from it, it's a bit of a pain; also it would be great to have one dashboard rather than two.

Shortcut keys should check for modifiers

STR: (tried on mac, but I suspect the problem will be the same on other OS's)

  • go on any view other than "to check in"
  • select some text
  • hit accel+c

Expected results: copy the text
Actual results: switch to the "to check in" view.

Add a "Blocked" tab

Depends on #39. Would be nice if we had a tab for all the bugs you are assigned to that are blocked on other bugs (instead of showing them in the "To Fix" tab, since you can't fix those yet!)

Bugs with a Github pull request attachment should not display in "to fix"

It's possible to attach (eg by "paste as attachment") a URL to a Github pull request, which auto-redirects to github but means you can set review flags etc.

These attachments are automatically given the mime type of "text/x-github-pull-request" but have "is patch" as false.

These need to be counted as patches, when considering whether to include the bug in "to fix" or {"to nag", "to checkin"}.

times can be wrong

I've noticed that sometimes the reported times are incorrect.

For example today I filed a bug. bugmotodo says it was changed "3 days ago" -- but that can't be, the bug is just hours old.

new UI still lets me select tabs

I love the new UI.

If I click on a tab, it turns bold. But in the new everything-always-visible scheme, it doesn't seem like clicking on a tab should do anything at all.

"To Review" does not show Feedback requests

Feedback is important. At least as important as official reviews because it is often used as a preliminary sanity check. "Does this code look ok? Should I keep going with it?"

We should add Feedback requests to the To Review section.

sort by priority?

would be cool if we could display bug priority and sort by it too

Favicon

Needs a favicon so you can identify it in an app tab.

bugs with patches added by gaia-autolander are not displayed on "to check in"or "to fix" tabs after r+

we started to use Autolander for gaia but bugzilla-todos doesn't handle it properly.

if I have a bug assigned to myself and Autolander creates the pull request, the bug disappears from the bugzilla todos app after r+, since it considers that Autolander is the responsible for doing the check-in - the correct behavior would be to keep the assignee as the responsible for the check-in.

Autolander documentation on MDN


edit: the bug does show up on "to nag" until reviewer r+ it.

App launch page 404s

  1. Go to http://harthur.github.io/bugzilla-todos/
  2. Click install app
  3. Launch app

Expected:
Page resembling http://harthur.github.io/bugzilla-todos/index.html

Actual:
"404 \n There isn't a github page here"

Broken in Nightly and Firefox for Android beta.

Guessing launch_path is incorrect here:
https://github.com/harthur/bugzilla-todos/blob/gh-pages/manifest.webapp#L4

Attempts to test adjusting it locally were unsuccessful, since the Firefox's MozApps.js doesn't seem to like installing from the local filesystem, even when adjusted for absolute paths. Testing from people didn't work either, with another set of unhelpful errors, sigh.

Leaks memory

After a couple days, my bugzilla-todos tab sucks more than 100MB according to about:memory, while it takes 9MB after closing and reopening the tab.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.