| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| |
| | |
Fix IDE editor to update dimensions on show change
Closes #45120
See merge request gitlab-org/gitlab-ce!30135
|
| | |
|
|/
|
|
|
|
|
|
| |
Update window's URL after entry's re-name
Set proper hook for correct fileLanguage
Filtered out `moved` entries from the tree
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/60107
|
|
|
|
|
|
| |
**Why?**
This file only contains a few text based helper functions.
It has nothing to do with Vue or Vue components.
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|\
| |
| |
| |
| |
| |
| | |
Resolve "Shortcut to create merge request from Web IDE"
Closes #57482
See merge request gitlab-org/gitlab-ce!26792
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
**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.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**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.
|
|
|
|
| |
Upgrade to latest Version
|
|
|
|
| |
- fixed getter spec with correct getter name
|
|
|
|
| |
Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/57540
|
|
|
|
|
| |
- fixed test spec
- added warning only if file is deleted
|
| |
|
|
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53304
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
**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.
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
improved variable & prop names
|
| |
|
| |
|
|
|
|
| |
Closes #50751
|
|
|
|
| |
Closes #50405
|
|\
| |
| |
| |
| |
| |
| | |
Added tooltips to tree list header buttons in Web IDE
Closes #50141
See merge request gitlab-org/gitlab-ce!21138
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Enable renaming files & folders in the Web IDE
Closes #44845
See merge request gitlab-org/gitlab-ce!20835
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes #44845
|
| |
| |
| |
| | |
Closes #49892
|
|\ \
| |/
|/|
| |
| | |
Warn in IDE when user navigates away with staged changes
See merge request gitlab-org/gitlab-ce!20857
|
| | |
|