Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Create UI for a "detect bugs with similar domain names" feature #307

Closed
karlcow opened this issue Oct 28, 2014 · 11 comments
Closed

Comments

@karlcow
Copy link
Member

karlcow commented Oct 28, 2014

When a user is entering a bug it might be useful to detect if bugs already exist with the same domain name.

  1. It can help the user to find out that the bug has been already created.
  2. It can help us to add automatically in the body a seeAlso: field with the list of bug numbers. When it's time to contact, we already know that there were previous bugs on the same topic.
seeAlso: #123 #456
@hallvors
Copy link
Contributor

Absolutely - this would be great.

To do this we can either have the data and most of the logic on the server side or on the client side (shipping a JSON file of known domains or some such). If we're worried about GitHub's usage limits client-side might be preferable. We could re-create the JSON or CSV data once a day or something. How worried are we?

(And we can use the code I just threw into https://github.com/webcompat/issue_parser to extract the data)

@miketaylr
Copy link
Member

+1, great suggestion. We could achieve this with the search API, I think--either from back or front end. Or create a simple database table that tracks/maps domains to issue numbers.

@miketaylr
Copy link
Member

This depends on creating a database with URLs (or maybe not). But this would be good.

@hallvors
Copy link
Contributor

It could use http://arewecompatibleyet.com/data/masterbugtable.js instead of a database..

@hallvors
Copy link
Contributor

hallvors commented Oct 1, 2015

@miketaylr can we run cron jobs on webcompat.com server?

@miketaylr
Copy link
Member

@hallvors yeah, I can set you up with a webcompat user login and you can knock yourself out. 💣

@hallvors
Copy link
Contributor

This is a really important issue to tackle when we start getting more people sent over from input.mozilla and other places.

This issue needs some UI/UX design, namely: what exactly should we do when / if we discover that there are one or more issues already for a given domain name. My suggestion would be to give the user a really easy way to transform their input to a comment on the existing issue, but this needs some clever UI.

Also, what if the existing issues are closed?

What if the domain is the same but the category of the existing issue is different?

Getting some design ideas on the table would be a great first step here.

@hallvors hallvors changed the title Detect bugs with similar domain names Create UI for a "detect bugs with similar domain names" feature Dec 15, 2015
@karlcow karlcow changed the title Create UI for a "detect bugs with similar domain names" feature [Feature] Create UI for a "detect bugs with similar domain names" feature Mar 16, 2016
@karlcow
Copy link
Member Author

karlcow commented Mar 16, 2016

This issue has been split into two coding parts:

Let me rephrase the title of this issue.

@miketaylr
Copy link
Member

Assigning to @zoepage, she's going to work on this in Q2.

I'd like to close #864 and #865 in the meantime -- we should revisit them for ideas and inspiration, but let's approach this with a fresh set of eyes (i.e., avoid some of the technical baggage in those issues).

@miketaylr
Copy link
Member

Let's do this in Q3, post #1480.

@zoepage
Copy link
Member

zoepage commented Sep 19, 2017

closing for now as we have #1826 as follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants