summaryrefslogtreecommitdiff
path: root/spec/javascripts/lib
Commit message (Collapse)AuthorAgeFilesLines
* Display scoped labels in Issue BoardsRajat Jain2019-04-151-0/+10
| | | | | This change brings new Scoped labels to Issue board as well. With the last change, this was missed.
* Improve diff navigation headerSam Bigelow2019-04-051-3/+3
| | | | | | | | | | | | | | - Compare versions header is full width except in the unified diff mode with no tree sidebar - Bar is always full width, but the content within stays centered when unified and no tree sidebar - File header is the same height as the "Compare versions header" - aligns with the design system grid guidelines => 56px - Diff file headers use a button group, switch icon order to open file externally being the last option, all buttons will become icon buttons (icon delivery by @dimitrieh) - If a file header becomes sticky no rounded corner/double border problem is visible anymore
* Add reusable project_selector componentNathan Friend2019-04-021-0/+43
| | | | | | | | | | | | | | This commit adds a resuable UI component that allows a user to search for a project name, shows the search results, and allows the user to select one or more projects. This component communicates with its parent using props and events. This component was originally created for use in the EE-specific "Operations Dashboard" page, but it is applicable for CE use cases as well, and so was added as a CE shared component. In addition, some logic was extracted from the frequent_items_list_item component into shared filters to avoid logic duplication.
* Scroll to diff file when clicking on file name57669-fix-bug-clicking-file-header-refreshes-pageSam Bigelow2019-03-291-0/+33
| | | | | | - Add an ID to the diff content - handle clicking on file name in diffFileHeader when it is not a link to another page but rather a link to an element on the page
* Move some tests from Karma to JestWinnie Hellmann2019-03-235-387/+0
|
* Moves utility function into CEFilipa Lacerda2019-03-011-0/+11
|
* Merge branch 'sh-fix-double-xhr-pipelines' into 'master'Filipa Lacerda2019-02-251-0/+32
|\ | | | | | | | | | | | | Remove duplicate XHR request when requesting new pipeline page Closes #58095 See merge request gitlab-org/gitlab-ce!25506
| * Remove duplicate XHR request when requesting new pipeline pageStan Hu2019-02-231-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a user clicked on another page in the pipeline page, the following would happen: 1. PipelinesService.getPipelines() would be called to fetch the new page 2. In the success handler, Poll.restart() would be called 3. This would invoke Poll.makeRequest(), which would fire off a new request. To fix this, we introduce a enable(), which will: 1. Update the request data accordingly 2. Clear the old timeout if necessary and start a new timer Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58095
* | Remove convertPermissionToBoolean() from common_utils.jsWinnie Hellmann2019-02-211-7/+0
|/
* Move ajax_cache_spec.js to JestWinnie Hellmann2019-02-211-184/+0
|
* CE Port of fix for roadmap forward timeline scrollConstance Okoghenun2019-02-131-0/+1
| | | | EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9530
* Merge branch 'fix-repo-settings-file-upload-error' into 'master'Nick Thomas2019-02-071-8/+36
|\ | | | | | | | | | | | | Fix bug causing repository mirror settings UI to break Closes #55134 See merge request gitlab-org/gitlab-ce!23712
| * Fix bug causing repo mirror settings UI to breakfix-repo-settings-file-upload-errorLuke Bennett2019-01-081-8/+36
| | | | | | | | | | | | Fixes an exception relating to the new project cleanup settings in 11.6 that causes the mirror repo settings UI to become unusable.
* | Use svg icon for deployment seriesAdriel Santiago2019-02-051-0/+67
| | | | | | | | Use the rocket GitLab SVG to show deployment data
* | Merge branch 'fe-grammar-util' into 'master'Phil Hughes2019-02-051-0/+35
|\ \ | | | | | | | | | | | | FE grammar util See merge request gitlab-org/gitlab-ce!24893
| * | Add grammar utilPaul Slaughter2019-02-041-0/+35
| | | | | | | | | | | | | | | This contains the function `toNounSeriesText` which can be used to build i18n noun series fragments (i.e. "A, B, and C").
* | | Handle window and container resize eventsAdriel Santiago2019-02-041-0/+15
|/ / | | | | | | Resizes metrics graph on window and sidebard width changes
* | Support for ignore rules in 'convertObjectPropsToCamelCase' helperKushal Pandya2019-01-311-36/+116
| | | | | | | | | | | | | | | | Does following enhancements to `convertObjectPropsToCamelCase` helper; - Adds support for `dropKeys` within options param to discard properties. - Adds support for `allowKeys` within options param to skip converting property names.
* | Make favicon tests more fault resistentLukas Eipert2019-01-211-10/+30
| | | | | | | | | | | | | | It seems like every new version of Chrome renders the favicon canvas differently. This reduces the problems with it by creating a more fault tolerant check, which compares the color values in the pixels and is okay if they are within a certain threshold.
* | Make parseBoolean idempotentWinnie Hellmann2019-01-151-4/+15
| |
* | Addressing feedback from most recent reviews.Scott Escue2019-01-101-15/+1
| |
* | Fixing static analysis issuesScott Escue2019-01-101-2/+15
| |
* | Removing the URL manipulation functions added to 'common_utils.js' in favor ↵Scott Escue2019-01-102-72/+71
| | | | | | | | of the functions that already existed in 'url_utility.js'. Refactoring 'removeParams' function in 'url_utility.js' to allow url to be passed and to preserve the original host and/or path provided in the url.
* | Addressing peer review feedback.Scott Escue2019-01-101-0/+61
| | | | | | | | Replacing inline JS with ES 2015 functions included in pages/sessions/new. Also applying suggested server-side syntax improvements to OmniAuthCallbacksController.
* | Merge branch 'kp-7325-add-lib-helpers' into 'master'Fatih Acet2019-01-082-1/+64
|\ \ | | | | | | | | | | | | CE Backport: Add library helpers to use in Roadmap See merge request gitlab-org/gitlab-ce!24232
| * | Add `newDate` helper, update `getTimeframeWindowFrom`Kushal Pandya2019-01-081-1/+39
| | | | | | | | | | | | | | | | | | Adds `newDate` helper to copy date object without keeping reference. Adds negative length support in `getTimeframeWindowFrom` to go back in time.
| * | Add support for `offset` values in `isInViewport`Kushal Pandya2019-01-081-0/+25
| |/
* | Add headers to files in the tree list on merge requestsPhil Hughes2019-01-081-0/+16
|/ | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54807
* Add markdown buttons to file editor27861-add-markdown-editing-buttons-to-the-file-editorSam Bigelow2019-01-021-153/+234
| | | | | | | Currently, we have markdown files in many places (e.g. comments, new issues, etc.). This Merge Request detects if the file being edited is a markdown file and adds markdown buttons and their functionality to the single file editor (Not the web IDE)
* Resolve "Extended user centric tooltips"Tim Zallmann2018-12-081-1/+109
|
* CE Port of "Web Terminal FE"Paul Slaughter2018-12-071-1/+53
|
* Use BFG object maps to clean projectsNick Thomas2018-12-061-0/+36
|
* Resolve "mergeUrlParams wrong with fragment url"Thomas Holder2018-11-301-1/+23
|
* Add parseBoolean helper functionWinnie Hellmann2018-11-271-0/+18
|
* Prettify all the thingsMike Greiling2018-11-201-7/+9
|
* Refine cursor positioning in Markdown Editor for wrap tags.Johann Hubert Sonntagbauer2018-11-201-1/+30
|
* Resolve "Issue board card design"Constance Okoghenun2018-11-071-0/+6
|
* Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'Achilleas Pipinellis2018-11-012-3/+3
|\ | | | | | | | | Fix typos in comments and specs See merge request gitlab-org/gitlab-ce!22683
| * Fix typos in comments and specsGeorge Tsiolis2018-11-012-3/+3
| |
* | Fix eslint violationsMike Greiling2018-10-311-0/+1
| |
* | Prettify remaining files with differences in CE and EEMike Greiling2018-10-312-103/+125
|/
* Merge branch '52115-Link-button-in-markdown-editor-should-recognize-URLs' ↵Phil Hughes2018-10-261-0/+27
|\ | | | | | | | | | | | | | | | | into 'master' Link button in markdown editor recognize URLs Closes #52115 See merge request gitlab-org/gitlab-ce!22547
| * Link button in markdown editor recognize URLsJohann Hubert Sonntagbauer2018-10-241-0/+27
| |
* | Add calculateRemainingMilliseconds() helper functionWinnie Hellmann2018-10-251-0/+18
| |
* | Move datetime_utility_spec.js to correct locationWinnie Hellmann2018-10-251-0/+354
| |
* | Add pikaday parsing methodsKushal Pandya2018-10-251-27/+0
|/ | | | | Adds methods from `app/assets/javascripts/lib/utils/datefix.js` and deletes the files
* Prettify all spec filesMike Greiling2018-10-178-110/+156
|
* enable jasmine/new-line-before-expectJohann Hubert Sonntagbauer2018-10-175-0/+22
|
* enable jasmine/no-promise-without-done-failJohann Hubert Sonntagbauer2018-10-161-7/+6
|
* Merge branch '51712-prefer-jasmine-matcher' into 'master'Mike Greiling2018-10-111-1/+1
|\ | | | | | | | | 4. enable jasmine/prefer-jasmine-matcher See merge request gitlab-org/gitlab-ce!22236