summaryrefslogtreecommitdiff
path: root/spec/javascripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ce-xanf-move-file-icon-spec-to-jest' into 'master'65822-allow-smaller-ip-range-when-creating-gke-clusterClement Ho2019-08-281-92/+0
|\ | | | | | | | | Resolve "Migrate spec/javascripts/vue_shared/components/file_icon_spec.js to Jest" See merge request gitlab-org/gitlab-ce!32278
| * Refactored Karma spec to Jest for file_iconce-xanf-move-file-icon-spec-to-jestIllya Klymov2019-08-281-92/+0
| |
* | Merge branch 'id-change-total-notes-calculation' into 'master'Ash McKenzie2019-08-281-1/+1
|\ \ | | | | | | | | | | | | Change the way totalNotes is calculated See merge request gitlab-org/gitlab-ce!32191
| * | Change the way totalNotes is calculatedid-change-total-notes-calculationIgor Drozdov2019-08-281-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | totalNotes is only used to prerender a number of skeleton containers until real notes are loaded issuable.discussions makes multiple requests, so too expensive for this This commit uses mere notes for this and sends actual totalNotes number if it's less than 10; otherwise it sends 10 - it allows us to avoid bunch of skeleton prerenderings, which are not necessary since they doesn't fit into the whole screen and disappear quite fast
* | Move gke_cluster_dropdowns to create_cluster dirEnrique Alcantara2019-08-278-14/+14
|/ | | | | | | | | | | This commit creates a create_cluster directory to collect all Vue applications related to creating kubernetes applications using gitlab. It also moves the gke_cluster_dropdowns collection of apps to the create_cluster directory. gke_cluster_dropdowns contains dropdown components used to select configuration options to create a Kubernetes cluster in Google Cloud.
* Add edit_note and spec for editing quick actionsPatrick Derichs2019-08-261-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call QuickActionsService on Note update Add support for notes which just contain commands after editing Return http status gone (410) if note was deleted Temporary frontend addition so it is not failing when a note is deleted Move specs to shared examples Fix rubocop style issue Deleting note on frontend when status is 410 Use guard clause for note which got deleted Simplified condition for nil note This method should no longer be called with nil note Refactoring of execute method to reduce complexity Move errors update to delete_note method Note is now deleted visually when it only contains commands after update Add expectation Fix style issues Changing action to fix tests Add tests for removeNote and update deleteNote expectations
* Merge branch ↵Tim Zallmann2019-08-241-3/+4
|\ | | | | | | | | | | | | | | | | '66073-use-time-series-chart-instead-of-area-chart-in-panel_types' into 'master' Enable line charts in dashbaord panels and embedded charts Closes #66073 See merge request gitlab-org/gitlab-ce!31920
| * Replace the area with time series where usedMiguel Rincon2019-08-211-3/+4
| | | | | | | | | | | | | | - Replace in panel_type.vue - Replace in embed.vue - Port changes to support embed in 2 cols in large screens - Update specs
* | fix charts scroll handle iconLaura Montemayor2019-08-231-0/+8
| |
* | Always pre-select "Start a new merge request"Denys Mishunov2019-08-226-194/+559
| | | | | | | | | | | | | | | | | | | | One exception: there is an existing MR for the current branch and the branch is non-default and non-protected. Extended mock_data for ide/stores to have different types of branches: default, protected and regular Cleaned new MR checkbox view
* | Merge branch 'ce-6878-add-epic-select-dropdown' into 'master'Nick Thomas2019-08-221-0/+39
|\ \ | | | | | | | | | | | | Add `searchBy` helper & `SidebarItemEpicsSelect` placeholder component See merge request gitlab-org/gitlab-ce!31859
| * | Add `searchBy` helper & `SidebarItemEpicsSelect`ce-6878-add-epic-select-dropdownKushal Pandya2019-08-221-0/+39
| | | | | | | | | | | | | | | - Adds `searchBy` util in common utils - Adds placeholder `SidebarItemEpicsSelect`
* | | Remove mergeTrain from FE since it's used only in EEIgor2019-08-221-42/+0
|/ /
* | Merge branch 'refactor/notes-getters' into 'master'Paul Slaughter2019-08-211-41/+89
|\ \ | | | | | | | | | | | | | | | | | | Refactor nextUnresolvedDiscussionId and previousUnresolvedDiscussionId getters Closes #65817 See merge request gitlab-org/gitlab-ce!31754
| * | Refactor nextUnresolvedDiscussionId and previousUnresolvedDiscussionId gettersArun Kumar Mohan2019-08-151-41/+89
| | |
* | | Backport: Issue sidebar trackingDonald Cook2019-08-214-0/+39
| | | | | | | | | | | | Added snowplow event tracking to Edit buttons
* | | Fixed tech debt of using custom componentNick Kipling2019-08-211-7/+4
| | | | | | | | | | | | | | | Changed the container registry to use the empty state component Removed the custom svg-component
* | | Resolve "HTML code shown in merge request"Ezekiel Kigbo2019-08-211-0/+18
| |/ |/| | | | | - Fixes double escaped text in `mr_widget_rebase.vue`
* | This commit adds a new time series componentMiguel Rincon2019-08-212-1/+338
| | | | | | | | | | | | | | | | Adds a time series component for line and area charts. Displays new charts in the dashboard. - Use dynamic components for line/area swapping - Add new line charts to dashboard in 2 panels
* | Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master'Rémy Coutable2019-08-211-180/+26
|\ \ | | | | | | | | | | | | Improve UX multi assigness in MR See merge request gitlab-org/gitlab-ce!31545
| * | Apply patch and update spec per MR commentsSamantha Ming2019-08-202-12/+0
| | | | | | | | | | | | | | | | | | - Use wrapper instead of global Vue object - Use vue utils helper method - Remove redundant spec tests
| * | Improve UX multi assigness in MRSamantha Ming2019-08-202-180/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add merge warning on avatar in: - open view assigness - collapsed view assigness - dropdown (search) view assigness Add can_merge option to MR sidebar entity
* | | Fix to show renamed file in mrSamantha Ming2019-08-211-1/+1
| | |
* | | Throw error for multiple RecaptchaModal instancesWinnie Hellmann2019-08-211-0/+2
| | |
* | | CE Port: Use EE panel type to display alert menu correctly in dashboardsMiguel Rincon2019-08-211-1/+1
|/ /
* | Embed metrics undefined param fixTristan Read2019-08-201-0/+20
| |
* | Merge branch 'kp-add-vue-input-autofocus-directive' into 'master'Filipa Lacerda2019-08-201-0/+38
|\ \ | | | | | | | | | | | | Add `autofocusonshow` directive for input elements See merge request gitlab-org/gitlab-ce!31584
| * | Add `autofocus` directive for input elementskp-add-vue-input-autofocus-directiveKushal Pandya2019-08-191-0/+38
| | |
* | | Merge branch '64677-delete-directory-webide' into 'master'Paul Slaughter2019-08-191-0/+35
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Fixed deletion of directories in Web IDE Closes #64677 See merge request gitlab-org/gitlab-ce!31727
| * | Fixed deletion of directories in Web IDE64677-delete-directory-webideDenys Mishunov2019-08-121-0/+35
| | |
* | | Add clipboard button to metric chart dropdownTristan Read2019-08-162-2/+86
| | | | | | | | | | | | | | | Adds a clipboard button to the metrics dashboard, that allows copying a link to an individual chart.
* | | Rewrite changed_file_icon_spec in JestPaul Slaughter2019-08-161-63/+0
| | | | | | | | | | | | | | | - Uses vue-test-utils - More complete coverage with parameterized tests
* | | Merge branch '24705-multi-selection-for-delete-on-registry-page' into 'master'Thong Kuah2019-08-152-27/+159
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Resolve "Multi selection for delete on registry page" Closes #24705 See merge request gitlab-org/gitlab-ce!30837
| * | | Adjustments to event removal and modal descriptionNick Kipling2019-07-301-0/+1
| | | |
| * | | Reworked how deletion works with multi vs singleNick Kipling2019-07-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Single deletion no longer requires a prop Modal description is now generated on demand Added dedicated functions for deleting Updated tests to match new function naming Updated css class name to be more specific
| * | | Applying feedback changesNick Kipling2019-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated table registry to remove singleItemToBeDeleted Renamed usages of idx to index Tidied and simplified css styling Added clarification comment to test regex Updated pot file
| * | | Updated select all to be more explicitNick Kipling2019-07-301-11/+8
| | | |
| * | | Updating with suggestions as per reviewNick Kipling2019-07-301-30/+53
| | | |
| * | | Updating table_registry testsNick Kipling2019-07-301-6/+12
| | | |
| * | | Implement multi select deletion for container registryNick Kipling2019-07-302-11/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added checkboxes to each image row Added delete selected images button Changed row delete button to appear on row hover Changed confirmation modal message Changed delete logic to support multi Added tests for multi select Updated pot file Updated rspec test for new functionality
* | | | Merge branch 'ce-11982-merge-trains-helper-text' into 'master'Paul Slaughter2019-08-151-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CE backport for gitlab-org/gitlab-ee!14097: Add merge train helper text to merge request widget See merge request gitlab-org/gitlab-ce!30686
| * | | | Add merge train helper text to MR widget (CE)ce-11982-merge-trains-helper-textNathan Friend2019-08-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a helper text that describes what will happen when a user clicks the "Start/Add to merge train when pipeline succeeds" button. This text appears at the bottom of the merge request widget. In addition, this commit renames the "merge_train_info" component to "merge_train_position_indicator" to avoid ambiguity with the "merge_train_helper_text" component.
* | | | | Adds download CSV functionality to dropdown in metricsLaura Montemayor2019-08-142-30/+34
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This MR adds the functionality to download metrics data as CSV. It also removes the exportMetricsToCsvEnabled feature flag which was used before the dropdown was implemented to display a button.
* | | | Merge branch 'ce-nfriend-fix-the-merge-button' into 'master'Filipa Lacerda2019-08-141-11/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CE backport for gitlab-org/gitlab-ee!14894: Fix the merge button dropdown See merge request gitlab-org/gitlab-ce!31248
| * | | | Fix merge button dropdown (CE)ce-nfriend-fix-the-merge-buttonNathan Friend2019-08-121-11/+13
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | This commit fixes an issue that was causing the merge button dropdown trigger to be shown even if the dropdown itself was hidden. This commit also fixes an issue that caused the "Merge Immediately" option not to be available when merge trains were enabled.
* | | | Convert spec/javascripts/environments/*rollback* tests to Jest61800-migrate-environment-rollback-tests-to-jestNathan Friend2019-08-122-131/+0
| |_|/ |/| | | | | | | | This commit converts two Jasmine tests into Jest tests.
* | | Merge branch 'update-graphicsmagick-to-1.3.33' into 'master'Stan Hu2019-08-121-2/+2
|\ \ \ | |/ / |/| | | | | | | | Update GraphicsMagick from 1.3.29 to 1.3.33 See merge request gitlab-org/gitlab-ce!31692
| * | Update GraphicsMagick from 1.3.29 to 1.3.33 for CI testsTakuya Noguchi2019-08-121-2/+2
| | | | | | | | | | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* | | Merge branch ↵docs-4453-external-exportersFilipa Lacerda2019-08-121-47/+64
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | '44036-someone-edited-the-issue-at-the-same-time-is-regularly-seen-despite-that-being-a-filthy-lie' into 'master' Fix incorrectly displayed conflict warning See merge request gitlab-org/gitlab-ce!31469
| * | | Fix conflict warning being incorrectly displayed44036-someone-edited-the-issue-at-the-same-time-is-regularly-seen-despite-that-being-a-filthy-lieHeinrich Lee Yu2019-08-121-47/+64
| | | | | | | | | | | | | | | | Hide warning when update request is in progress