Search bar first iteration ee
Includes weight filter
Merge request reports
Activity
assigned to @ClemMakesApps
added Deliverable frontend ~149424 labels
changed milestone to %8.15
added Stretch and removed Deliverable ~149424 labels
changed milestone to %8.16
added 2 commits
@smcgivern and @jschatz1 can you review? There is just a small change from (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7345) so that we have weight filters as part of the search bar filters
assigned to @smcgivern
- Resolved by username-removed-443319
- Resolved by username-removed-443319
- Resolved by username-removed-408677
@ClemMakesApps LGTM, just a couple of questions.
assigned to @ClemMakesApps
@ClemMakesApps @jschatz1 also note that in general we shouldn't merge the CE MR until the EE MR is ready to go. If this MR has issues that stop it from being merged, and there are merge conflicts, then this will hold up the CE -> EE merge, which can also block RCs.
That isn't the case here, but I just wanted to make that clear - something isn't done until it's in both CE and EE
See https://gitlab.slack.com/archives/core/p1483981149001672 for more info.
Actually, this did cause a (small) problem with the CE -> EE merge in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1054, because
spec/features/issues/filter_by_weight_spec.rb
needs to be deleted. We'll remove it there, but that means RC2 for EE won't have this feature working properly, because the MRs weren't merged together.@smcgivern Ops, my bad. Will merge EE first next time
I just realized that weight filters also included the following options (
Everything
andAny Weight
) that are not in this MR as of yet. Based on my initial investigation, it looks likeEverything
will return all issues whileAny Weight
returns issues with weight (which is opposite to what the otherAny
filters do).@victorwu @awhildy @cperessini can you let me know which one of those options we should add and what should we call them? If the functionality described above from my initial investigation is correct, I suggest we only keep
Any Weight
since theEverything
option is redundant (same as not selecting that filter).Any Weight
should be the same asweight:any
. WDYT?Also, does anyone know if weight filters are used anywhere else besides the issues page?
Edit: looks like it's not being used elsewhere, so I've removed some old code.
I also noticed that the weight filters don't filter as you type (because the data is not received from json). Shouldn't be too difficult to add but I will leave that for next iteration (#1523 (closed))
Edited by username-removed-408677@ClemMakesApps : That makes sense to me. I like
Any Weight
andweight:any
.Great @victorwu. In that case, I've already added that change to this MR. @smcgivern can you give your final blessing and @jschatz1 can you review?
assigned to @jschatz1
Looks good can I merge? Fix conflicts.
Edited by Jacob Schatzadded 270 commits
-
ee368f2e...90e5de3c - 268 commits from branch
master
- ac3b4efd - Add filtered search from CE
- 8068c1ec - Add weight filter
-
ee368f2e...90e5de3c - 268 commits from branch
Looks like CE got merged into EE, so I just squashed the commit into one. Ready for final review and merge @jschatz1
mentioned in commit 759a2eb8