-
Notifications
You must be signed in to change notification settings - Fork 192
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
Organize labels #436
Comments
OK, who volunteers to do this? ^_^ |
Maybe we should list the tasks to do:
In #402 (comment), we had the proposal
|
This should only need to be modified in the issue label bot (to tell it to add whatever prefix/namespace we come up with).
Shouldn't need any changes here. The JS doesn't know or care what the labels are, it just passes along whatever is there from/to the server. |
I have a different impression :) |
Yes, forgot about that. |
btw somehow, this might makes our life easier to have namespaces in the code. At first I was thinking about moving the category status list to The pitfall on basing that on the namespace is that you have to request the label list each time, when it should not be necessary given that it is not changing that often. On the other hand when it is changed it's always up to date. Intermediate solution the list in a |
I wonder if |
Yes probably a lot better to be explicit. Less confusion. Plus it's something we mostly do not type. And the UI will cater for the namespace anyway. |
Fixing also the difference in between the labels and the URI.
ok so far so good. My local instance behaves normally after renaming the labels, aka it fails. Let's see if I can get the refiltering right. |
First let's fix the test.
|
Fixed.
|
ok now logically we get UI issues to solve (which is a good thing). The most obvious one being the labels in each bug description. We could just remove the |
I think the functional tests are breaking but it might not be necessary to fix them. |
I can help with that if you need. Would probably be easiest if you pushed your WIP code to a branch on the webcompat repo. |
I would recommend just making the changes required to add the namespaces, then iterate on the rest in a separate task. |
That would be neat. Guidance might be cool too. Let me do a PR first. so you have the code handy. Note that you need to update your own test repo for adding labels with the right terms. See what I did in my own labels. TODO: before/if we merge (later on) this PR, stats on the current usage labels and clean up them.
Agreed. I'm dumping my ideas when they come. My comments are a bit like a notebook. |
Also checking the current milestone. We still have a couple of things to do. |
#436 436/1 Preliminary pull request for reorganizing the labels
OK, merged your WIP code into webcompat
Documenting for myself, copy the labels from here: https://github.com/karlcow/webcompat-test/labels And then what's left to close this issue and move on to other issues in the milestone?
Am I forgetting anything? |
(Not sure if this is the right time or place for this request, but I think it would be easier to have separate lists of labels for statuses and browsers. They can still go into the same "labels" field, but if they could be set from different "dropdowns" it would be more usable IMHO) |
@hallvors that's the plan. :) |
I think the webcompat summit made this escape my TODO list. @karlcow would you like me to proceed with #436 (comment), or would you like to take a stab? Happy either way. |
@miketaylr @magsout In local these two commits don't seem to do anything. They don't break anything, but they don't fix anything. What am I doing wrong? |
Ah, now I see. @karlcow you're not doing anything wrong you just haven't changed enough. ^_^ The (sub)template (crappy name, yes) that you changed only comes into play when the labels of an issue are re-rendered, after an edit. So if you try your code right now and add a "status-needsinfo" label, for example, it should work as expected after that happens. In order for the labels to display like you want elsewhere you'll need to do something similar here: https://github.com/webcompat/webcompat.com/blob/master/webcompat/templates/issue-list.html#L78 That should be it, I think. One small suggestion, I'd get rid of the
->
|
❤️ |
houla, I had forgotten about this one. |
When working on a new patch, I realized we have an issue.
Reminder: The objective is to be able to treat separately in the future the status and the browser. |
@karlcow are you going to open a pull request? |
Uh. Nevermind. You did. >_< |
@karlcow code deployed, label bot updated, and (most) labels renamed. What do you suggest we do with the following labels:
I just left them for now. |
|
See discussion starting at #402 (comment)
Also hide status/step/progress category from labels.
The text was updated successfully, but these errors were encountered: