summaryrefslogtreecommitdiff
path: root/spec/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Project dropdown test span -> iPhil Hughes2016-02-051-1/+1
|
* Changed the project switcher dropdown togglePhil Hughes2016-02-051-2/+2
| | | | | | Moved the positioning of the dropdown to be more aligned with the title Closes #13219 and #13214
* Merge branch 'title-projects-dropdown' into 'master' Jacob Schatz2016-02-023-0/+54
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added dropdown to list all projects on project header Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4212 When clicking the current project name, it shows a dropdown menu with a list of all projects for that group or user. When closed: ![Screen_Shot_2016-01-14_at_19.17.44](/uploads/a7258ba388dba238fc2f0468711fc729/Screen_Shot_2016-01-14_at_19.17.44.png) When open: ![Screen_Shot_2016-01-14_at_19.17.51](/uploads/716533d9eb44b123c5fdff36a4740489/Screen_Shot_2016-01-14_at_19.17.51.png) cc. @jschatz1 See merge request !2438
| * added testsPhil Hughes2016-01-303-0/+54
| |
* | Allow manual resize of js-autosize textareasrs-relax-autosizeRobert Speicher2016-02-011-0/+11
|/ | | | | | | | | | | | | | First, the autosize library was being too controlling and removed the `resize` property from any elements to which it was attached, removing the drag handle. Second, we detect when the user manually resizes an autosize textarea, and then remove the autosize behavior from it and increase its max-height. This should allow for the best of both worlds. Closes #12832
* reverting more MR ajax files, will appear in different commitJacob Schatz2016-01-122-99/+1
|
* fixes conflictsJacob Schatz2016-01-113-37/+30
|\
| * Refactor ZenModers-zenmode-cleanupRobert Speicher2016-01-082-21/+14
| | | | | | | | | | | | | | | | - No longer depends on the "hidden checkbox". - No longer depends on manually storing/restoring the scroll position. Instead, we take advantage of jquery.scrollTo. - Event-based. - Simplifies the state-based styling.
| * fixes ajax issue with issue specajax-issues-fixJacob Schatz2016-01-071-16/+16
| |
* | adds tests (and passes them) for ajax open and close merge requests.Jacob Schatz2016-01-063-2/+100
|/
* Merge branch 'close-open-ajax-issue' into 'master' Robert Speicher2015-12-252-1/+97
|\ | | | | | | | | | | | | open and close issue via ajax request. With tests Close and Reopen issues with ajax request. See merge request !2164
| * removes unused `alert` from issue spec. Requires flash in the ↵close-open-ajax-issueJacob Schatz2015-12-232-8/+2
| | | | | | | | *implementation* instead of the spec.
| * adds test for issue close/reopen failureJacob Schatz2015-12-232-4/+60
| |
| * fixes tests to work with jasmine/jqueryJacob Schatz2015-12-232-13/+16
| |
| * adds alerts for when http request errors out in some way.Jacob Schatz2015-12-211-10/+1
| |
| * clarifies tests with methods like `toBeVisible()` etc.Jacob Schatz2015-12-211-12/+9
| |
| * updates tests style for four-phase-testing as per: ↵Jacob Schatz2015-12-211-1/+17
| | | | | | | | https://robots.thoughtbot.com/four-phase-test
| * open and close issue via ajax request. With testsJacob Schatz2015-12-212-1/+40
| |
* | Fix NewBranchForm specDouwe Maan2015-12-241-1/+1
| |
* | Add helper methods to JS validation spec for invalid branch namesbranch-invalid-nameDouglas Barbosa Alexandre2015-12-221-87/+92
| |
* | Fix minor stylistic complaintsDouglas Barbosa Alexandre2015-12-211-34/+34
| |
* | Add specs for JS validation for invalid characters in branch nameDouglas Barbosa Alexandre2015-12-172-0/+159
|/
* Rename .issuable-details to .detail-page (and -header and -description)Douwe Maan2015-12-162-2/+2
|
* Make tab target selectors less naiveRobert Speicher2015-12-081-3/+3
| | | | | | | | | Prior, any of the specified IDs could have been hijacked by a table of contents header, breaking the tab functionality. For example, a `## Notes` header would get the id `notes` and prevent the Discussion tab from being activated. Closes #3908
* Apply new design to files pageDmitriy Zaporozhets2015-10-132-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Check originalEvent.repeat *and* event.repeatrs-quick-submitRobert Speicher2015-10-071-4/+1
| | | | | phantomjs < 2.0 doesn't support creating `KeyboardEvent` so the tests were failing on CI
* Check originalEvent.repeatRobert Speicher2015-10-071-1/+9
|
* Add "Quick Submit" JS behaviorRobert Speicher2015-10-072-0/+71
|
* Require jquery.turbolinks in all JS specsRobert Speicher2015-10-071-0/+1
| | | | Side-effect: This simplifies the requiresInput handler
* Add specs for syntax_highlight JSRobert Speicher2015-09-101-0/+42
| | | | | | | Also makes it work when given a parent element containing a `.js-syntax-highlight` element so for dynamically-added things like notes or Markdown previews, we can more accurately target just the element we care about.
* Remove style attribute from textarea during ZenMode activationrs-dev-issue-2466Robert Speicher2015-09-041-0/+5
| | | | Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2466
* Fix the "Reload with full diff" URL buttonStan Hu2015-07-231-0/+6
| | | | | | | On the first load, the merge request tabs would be requested in JSON format to render the HTML. This would cause the "Reload with full diff" button to create a link to diff.json. Closes #2041
* Add test case for clicking line number anchor iconrs-issue-988-testRobert Speicher2015-07-172-1/+11
|
* Remove disableButtonIf[Any]EmptyField calls from formsRobert Speicher2015-06-261-2/+0
| | | | These have been replaced by the "requiresInput" behavior.
* Add "Requires Input" JS behaviorRobert Speicher2015-06-262-0/+67
|
* Update tests and use js-issuable class for context formDmitriy Zaporozhets2015-06-262-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'rs-dev-issue-2355' into 'master'Dmitriy Zaporozhets2015-06-222-0/+104
|\ | | | | | | | | | | | | | | | | | | | | | | MergeRequest#show performance improvements This is a first pass on improving the performance of the `MergeRequests#show` page. Notable changes: - The "Commits" tab is loaded lazily, so the initial page load should be much faster for MRs with many commits. - Relative timestamps via `timeago` are only initialized once per load instead of `O(n^2)`. This greatly improves frontend rendering times for a large number of commits. - Refactored `User.find_for_commit` to use a single ARel-generated SQL query instead of the old method which resulted in one query, and could result in up to three. See merge request !838
| * Add MergeRequestTabs specsrs-dev-issue-2355Robert Speicher2015-06-212-0/+104
| |
* | Refactor LineHighlighterrs-blobview-js-refactorRobert Speicher2015-06-191-41/+22
| |
* | Rename BlobView to LineHighlighterRobert Speicher2015-06-192-9/+9
| |
* | Refactor and spec BlobView JSRobert Speicher2015-06-192-0/+178
|/
* Add JS specs for Array extensionsRobert Speicher2015-06-021-0/+12
|
* Move jQuery enable/disable extensions to extensions/jqueryRobert Speicher2015-06-022-9/+43
| | | | | Removes redundant enableButton/disableButton extensions, and adds specs for the jQuery extensions.
* Add ZenMode javascript specsRobert Speicher2015-06-022-0/+61
|
* Stub ajax in JS specsRobert Speicher2015-05-282-2/+5
|
* Remove jasmine-fixture, use teaspoon fixturesRobert Speicher2015-05-288-58/+64
|
* teaspoon installRobert Speicher2015-05-281-0/+46
|
* Remove jasmine-rails; add teaspoonRobert Speicher2015-05-282-30/+0
|
* Update specs.commit-graphs-by-emailDouwe Maan2015-05-251-3/+5
|
* Remove unneeded jasmine setupRobert Speicher2015-05-062-5/+0
|