summaryrefslogtreecommitdiff
path: root/spec/javascripts/ide/components
Commit message (Collapse)AuthorAgeFilesLines
* Encapsulate file view modes with constantsChris Toynbee2019-07-231-4/+4
|
* Initiate editor for any file without content60856-deleting-binary-fileDenys Mishunov2019-07-051-0/+40
| | | | | | Important to get file data for any file that has no content set yet: we need this information in order to build a previe for changed/staged files if they were not yet opened in the editor
* Merge branch '45120-fix-ide-editor-to-update-size-on-show-change' into 'master'Phil Hughes2019-07-011-7/+56
|\ | | | | | | | | | | | | Fix IDE editor to update dimensions on show change Closes #45120 See merge request gitlab-org/gitlab-ce!30135
| * Fix IDE editor to update dimensions on show change45120-fix-ide-editor-to-update-size-on-show-changePaul Slaughter2019-06-281-7/+56
| |
* | Re-name entries in one commitDenys Mishunov2019-06-261-0/+14
|/ | | | | | | | Update window's URL after entry's re-name Set proper hook for correct fileLanguage Filtered out `moved` entries from the tree
* Default MR checkbox to true in most cases60034-default-web-ide-s-merge-request-checkbox-to-trueSam Bigelow2019-06-062-43/+73
| | | | | | | | | | | - Pull the new MR option out into it's own component - Default MR checkbox to true when creating a new MR and committing to a branch that does not have an MR - Still change the MR checkbox to false when a user is on a branch that already has an MR - Hide MR option when on a branch that already has an MR and committing to current branch - Don't default to true when committing directly to master
* Updated heading for default state in Web IDEDenys Mishunov2019-05-292-45/+106
| | | | Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/60107
* Rename vue_component_helper to text_helperfe-rename-vue-component-helper-cePaul Slaughter2019-05-163-3/+3
| | | | | | **Why?** This file only contains a few text based helper functions. It has nothing to do with Vue or Vue components.
* Stores 'binary' and 'rawPath' attr after uploadDenys Mishunov2019-04-181-0/+4
| | | | | | | | | | - When uploading a file, we need to flag binary files correspondingly so that it gets propagated all the way to RepoEditor as it decides on whether to show editor for this or that file or not (shouldHideEditor()) - rawPath needs to be propagate all the way to ContentViewer as well so that uploaded images could be rendered as a base64 image right away instead of raw base64 string
* Merge branch '57482-shortcut-to-create-merge-request-from-web-ide' into 'master'Phil Hughes2019-04-051-11/+73
|\ | | | | | | | | | | | | Resolve "Shortcut to create merge request from Web IDE" Closes #57482 See merge request gitlab-org/gitlab-ce!26792
| * Shortcut to create MR in web IDE57482-shortcut-to-create-merge-request-from-web-ideSam Bigelow2019-04-041-11/+73
| | | | | | | | | | | | | | | | | | Before the user had to choose between committing to a new branch, committing to a new branch AND creating an MR, or committing to the current branch regardless of whether or not it already has an MR. This commit separates the creation of an MR from whether or not they commit to an existing or new branch
* | Refactor new_dropdown/index to receive isOpen prop60021-fix-ide-file-dropdownPaul Slaughter2019-04-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | **Why?** Previously it managed this as an internal data property, but there was extra complexity involved because the component doesn't have all the information it needs (i.e. the `mouseOver` prop). This is a good opportunity to colocate the data prop with the component that has the information to change it (i.e. `file_row`) and let `new_dropdown/index` receive this value as a prop.
* | Fix vue render error for IDE status barPaul Slaughter2019-04-041-7/+24
|/ | | | | | | | | | | | | | | | | | | | | **What?** A Vue warning that `ide_status_bar` sent a `Boolean` to a `String` property (`img-src). **What was the fix?** Previously, `latestPipeline` could be one of the following values: | | | |----------|--------| | `null` | The pipeline hasn't loaded yet | | `false` | The pipeline has loaded, but nothing was returned. | | `Object` | The piepline has loaded. | Giving a semantic meaning to different falsey values hurts maintainability. This commit fixes the above problem by removing the `false` value and introducing a `hasLoadedPipeline` state property.
* Upgraded Vue to 2.6.8Tim Zallmann2019-03-271-1/+1
| | | | Upgrade to latest Version
* Fixed commit logic to pick a branchNatalia Tepluhina2019-03-251-0/+7
| | | | - fixed getter spec with correct getter name
* Implemented trimming for item's name in Web IDEDenys Mishunov2019-03-181-0/+12
| | | | Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/57540
* Fixed mutation for rootNatalia Tepluhina2019-03-041-1/+54
| | | | | - fixed test spec - added warning only if file is deleted
* Dont show file template options for new directorySam Bigelow2019-02-131-0/+9
|
* Added fuzzy file finder to merge requestsPhil Hughes2019-02-053-512/+0
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53304
* Resolve "Add Avatar from author of the last commit to WebIDE status bar"Jose2019-01-311-0/+3
|
* Changed failing karma specPhil Hughes2019-01-071-1/+0
|
* Eliminate duplicated wordsTakuya Noguchi2018-11-221-1/+1
| | | | Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Remove base64 encoding from files that contain plain textJacques Erasmus2018-10-221-23/+17
|
* Prettify all spec filesMike Greiling2018-10-1712-46/+31
|
* enable jasmine/new-line-before-expectJohann Hubert Sonntagbauer2018-10-177-0/+13
|
* Added file tree to merge request diffsPhil Hughes2018-10-033-52/+6
| | | | | | | | | | | | | | | This file tree displays all the diff files in a tree like format Each file is taken and converted into a tree with folders Each folder can be toggled open & closed Clicking a file will scroll to the diff file & highlight with a glow affect Searching the tree list will search only files & return a list of the files without any folders Each file row contains an icon to show changed, new file or deleted Each row will also contain the added & removed lines count Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14249
* Keep IDE RightPane views aliveide-keep-right-pane-tabs-alivePaul Slaughter2018-09-283-15/+18
| | | | | | | | | | | **Why?** - This is needed for the Web Terminal feature. https://gitlab.com/gitlab-org/gitlab-ee/issues/5426 **Notes:** - Introduces a `pane` Vuex module. - Some views should not be kept alive (i.e. job details). This is why a `keepAlive` flag was introduced for views.
* Add gitlab-ui skeleton loadingClement Ho2018-09-251-63/+0
|
* Updated specs to account for removed buttonsPhil Hughes2018-09-212-63/+0
|
* Decouple file row from IDEPhil Hughes2018-09-172-145/+159
| | | | | | This makes the file row component re-usable ouside of the Web IDE Pre-request for https://gitlab.com/gitlab-org/gitlab-ce/issues/14249
* fixed `list_item_spec.js`Phil Hughes2018-09-071-1/+1
|
* update components to match designs in commit sectionPhil Hughes2018-09-072-4/+4
|
* fixed double scrollPhil Hughes2018-09-072-3/+5
| | | | improved variable & prop names
* fixed some bugs around with the template dropdownsPhil Hughes2018-09-072-8/+8
|
* added component specsPhil Hughes2018-09-072-0/+316
|
* Fixed IDE file row jumping into view on hoverPhil Hughes2018-08-311-0/+21
| | | | Closes #50751
* Enabled multiple uploads in the Web IDEPhil Hughes2018-08-291-0/+17
| | | | Closes #50405
* Merge branch 'ide-header-buttons-tooltip' into 'master'Filipa Lacerda2018-08-131-0/+16
|\ | | | | | | | | | | | | Added tooltips to tree list header buttons in Web IDE Closes #50141 See merge request gitlab-org/gitlab-ce!21138
| * added specPhil Hughes2018-08-131-0/+16
| |
* | fixed karma specPhil Hughes2018-08-101-2/+4
|/
* Create Web IDE MR and branch pickerPaul Slaughter2018-08-078-95/+456
|
* Web IDE & CodeSandboxPhil Hughes2018-08-073-0/+560
| | | | | | | | | | | | | | | | | | | | | | | | | This enables JavaScripts projects to have live previews straight in the browser without requiring any local configuration. This uses the CodeSandbox package `sandpack` to compile it all inside of an iframe. This feature is off by default and can be toggled on in the admin settings. Only projects with a `package.json` and a `main` key are supported. Updates happen in real-time with hot-reloading. We just watch for changes to files and then send them to `sandpack` to allow it to reload the iframe. The iframe includes a very simple navigation bar, the text bar is `readonly` to stop users navigating away from the preview and the back and forward buttons just pop/splice the navigation stack which is tracked by a listener on `sandpack` There is a button inside the iframe which allows the user to open the projects inside of CodeSandbox. This button is only visible on **public** projects. On private or internal projects this button get hidden to protect private code being leaked into an external public URL. Closes #47268
* Web IDE context header redesignPaul Slaughter2018-08-071-20/+0
|
* Merge branch 'ide-rename-files' into 'master'Filipa Lacerda2018-08-032-3/+46
|\ | | | | | | | | | | | | Enable renaming files & folders in the Web IDE Closes #44845 See merge request gitlab-org/gitlab-ce!20835
| * fixed karmaPhil Hughes2018-07-311-3/+14
| |
| * karma fixesPhil Hughes2018-07-302-2/+2
| |
| * Enable renaming files & folders in the Web IDEPhil Hughes2018-07-301-1/+33
| | | | | | | | Closes #44845
* | Fixed Web IDE row dropdowns scrolling list incorrectlyPhil Hughes2018-08-021-1/+3
| | | | | | | | Closes #49892
* | Merge branch 'ide-warn-staged-files' into 'master'Filipa Lacerda2018-07-311-0/+27
|\ \ | |/ |/| | | | | Warn in IDE when user navigates away with staged changes See merge request gitlab-org/gitlab-ce!20857
| * Warn in IDE when user navigates away with staged changesPhil Hughes2018-07-261-0/+27
| |