Skip to content
Snippets Groups Projects

Search bar first iteration ee

Merged username-removed-408677 requested to merge search-bar-first-iteration-ee into master
All threads resolved!

Includes weight filter :tada:

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • @ClemMakesApps LGTM, just a couple of questions.

  • @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 :slight_smile:

    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 :smile:

    I just realized that weight filters also included the following options (Everything and Any Weight) that are not in this MR as of yet. Based on my initial investigation, it looks like Everything will return all issues while Any Weight returns issues with weight (which is opposite to what the other Any 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 the Everything option is redundant (same as not selecting that filter). Any Weight should be the same as weight:any. WDYT?

  • added 1 commit

    Compare with previous version

  • 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
  • username-removed-408677 resolved all discussions

    resolved all discussions

  • added 1 commit

    Compare with previous version

  • @ClemMakesApps : That makes sense to me. I like Any Weight and weight: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?

  • Looks good can I merge? Fix conflicts.

    Edited by Jacob Schatz
  • added 270 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Looks like CE got merged into EE, so I just squashed the commit into one. Ready for final review and merge @jschatz1

  • merged

  • Jacob Schatz mentioned in commit 759a2eb8

    mentioned in commit 759a2eb8

  • Please register or sign in to reply
    Loading