Commit Graph

45 Commits

Author SHA1 Message Date
Heinrich Lee Yu f2371988bf Change string concat to template string 2018-11-13 15:27:42 +08:00
Heinrich Lee Yu 13a8eb1d38 Update documentation 2018-11-13 15:27:42 +08:00
Heinrich Lee Yu 91f235df08 Fix tests 2018-11-13 15:27:42 +08:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Johann Hubert Sonntagbauer 2a76e04091 enable jasmine/new-line-between-declarations 2018-10-09 19:01:49 +02:00
Mike Greiling d76190371c Resolve "Harmonize prettier and eslint configs" 2018-10-09 15:25:53 +00:00
Mike Greiling 05f403cf04
Move search autocomplete from dispatcher to main.js 2018-09-14 01:22:53 -05:00
Lukas Eipert 0e6441164f
remove all unused eslint-disable rules 2018-06-20 14:28:28 +02:00
Mike Greiling 704e866134
fix more instances of "import *" with spyOnDependency 2018-04-23 00:54:20 -05:00
Winnie Hellmann 0296871112 Use template strings in search_autocomplete_spec.js 2018-04-05 10:37:57 +02:00
Jan Provaznik d10416e231 Fixed dashboard filtering tests 2018-04-03 20:19:20 +02:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Filipa Lacerda aa90e8ea5b Export old code into es6 modules 2017-12-13 09:26:44 +00:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Filipa Lacerda 2c7ba7a1d8
Updates the dropdown to match the docs and remove old hack of stop event propagation 2017-12-06 16:41:24 +00:00
Clement Ho b22f4d2aad Merge branch '20666-404-error-issue-assigned-with-issues-disabled' into 'master'
Fixes 404 error to `Issues assigned to me` and `Issues I've created` when issues are disabled

Closes #20666

See merge request gitlab-org/gitlab-ce!15021
2017-11-06 22:39:07 +00:00
Jacopo d4a9aedf55 Fixes 404 error to `Issues assigned to me` and `Issues I've created` when issues are disabled
The dropdown options `Issues assigned to me` and `Issues I've created` in project search are now
hidden when issues are disabled on the project.
2017-11-06 21:30:18 +01:00
Tim Zallmann e148f1f9f2 Resolve "Convert fuzzaldrin-plus.js library to be a Yarn managed library" 2017-11-01 08:58:41 +00:00
Eric Eastwood 03cd536b54 Cleanup data-page attribute after each Karma test
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38871
2017-10-11 11:02:55 -05:00
Mike Greiling 283f968ef2 update frontend specs to use ES module syntax 2017-05-16 16:01:51 -05:00
Filipa Lacerda 269c0fe007 Replace old isObject for underscore methods 2017-05-10 16:17:31 +00:00
Clement Ho 649c095a67 Add filtered search to MR page 2017-02-21 12:40:57 -06:00
Mike Greiling c74b7eb271 fix overlooked window binding in spec files 2017-02-17 17:02:14 -06:00
Clement Ho e369323d2e Fix filtered search user autocomplete for gitlab instances that are hosted on a subdirectory 2017-02-06 16:38:31 -06:00
Mike Greiling 04dc2b76d7 Merge branch 'master' into go-go-gadget-webpack
* master: (181 commits)
  Fixed adding to list bug
  Remove unnecessary queries for .atom and .json in Dashboard::ProjectsController#index
  Fixed modal lists dropdown not updating when list is deleted
  Fixed remove btn error after creating new issue in list
  Removed duplicated test
  Removed Masonry, instead uses groups of data
  Uses mixins for repeated functions
  Fixed up specs
  Props use objects with required & type values
  Removes labels instead of closing issue when clicking remove button
  Fixed JS lint errors
  Fixed issue card spec
  Added webkit CSS properties
  Fixed bug with empty state showing after search Fixed users href path being incorrect
  Fixed bug where 2 un-selected issues would stay on selected tab
  Fixed DB schema Changed how components are added in objects
  Added remove button
  Add optional id property to the issue schema
  Fixed issue link href
  Disabled add issues button if no lists exist
  ...
2017-02-03 13:17:03 -06:00
Bryce Johnson fbd09871ca Remove turbolinks. 2017-02-02 14:03:12 -05:00
Mike Greiling 69e4072f89 Merge branch 'master' into go-go-gadget-webpack
* master: (389 commits)
  Document "No gems fetched from git repositories" policy [ci skip]
  Typos
  Small gramatical tweaks
  Typos
  Added PHP & NPM doc
  Use `:empty_project` where possible in request specs
  Add caching of droplab ajax requests
  Use `:empty_project` where possible in model specs
  Revert 3f17f29a
  Remove unused js response from refs controller
  Add MR id to changelog entry
  fixed small mini pipeline graph line glitch
  Prevent form to be submitted twice
  Fix Error 500 when repositories contain annotated tags pointing to blobs
  Fix /explore sorting (trending)
  Simplify wording in "adding an image" docs
  Remove "official merge window" from CONTRIBUTING.md [ci skip]
  Update repository check documentation
  Fixed flexbox and wrap issues
  Update two_factor_authentication.md
  ...
2017-01-27 19:33:58 -06:00
Mike Greiling ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Phil Hughes 639bca4362 Merge branch 'master' into go-go-gadget-webpack 2017-01-13 10:30:40 -05:00
Mike Greiling d2649bf8e3 bypass Chrome "focus" event bugs and prevent Turbolinks from triggering 2017-01-10 12:30:45 -06:00
Mike Greiling 8d2099cb53 use ~ to reference non-local scripts instead of resolve.root 2017-01-10 12:30:43 -06:00
Mike Greiling 52c6702ec7 include spec_helper within karma config rather than each individual test 2017-01-10 12:30:43 -06:00
Mike Greiling 663936878f include common libraries within spec_helper 2017-01-10 12:30:42 -06:00
Mike Greiling eb1bbe73d0 fix spec_helper missing/broken references 2017-01-10 12:30:41 -06:00
Luke "Jared" Bennett 7c47cc94c5 Swapped out teaspoon for karma 2017-01-10 12:30:40 -06:00
Clement Ho 410e223597 Fix search autocomplete jasmine test 2017-01-09 16:01:27 -06:00
Mike Greiling 7a2a9bb45e replace Teaspoon fixture methods with jasmine-jquery methods to reduce dependency on Teaspoon 2017-01-05 14:11:07 -06:00
Mike Greiling 5f192c77e0 update all frontend tests to point to precompiled fixtures 2017-01-03 10:56:39 -06:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Brennan Roberts f3c55164d2
Prevent conflict b/w search field and its dropdown
Stop the global search form's default "action" from fighting with
dropdown items when using the keyboard to navigate the dropdown.
`e.preventDefault()` is now called on the enter key when a dropdown item
is already selected.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-10 10:16:09 +02:00
Bryce Johnson 4721766619 Fix test for SearchAutocomplete. 2016-10-05 11:25:04 +02:00
Jared Deckard 7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Luke Bennett 3e1e9b670f
Fixed specs 2016-08-18 18:17:56 +01:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00