Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
18e0fca4
Commit
18e0fca4
authored
Mar 14, 2022
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename new_environment_folder and new_environments_app
- These aren't new anymore
parent
d333bec4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
app/assets/javascripts/environments/components/environment_folder.vue
...avascripts/environments/components/environment_folder.vue
+0
-0
app/assets/javascripts/environments/components/environments_app.vue
.../javascripts/environments/components/environments_app.vue
+1
-1
app/assets/javascripts/environments/index.js
app/assets/javascripts/environments/index.js
+1
-1
app/assets/javascripts/pages/projects/environments/index/index.js
...ts/javascripts/pages/projects/environments/index/index.js
+2
-2
spec/frontend/environments/environment_folder_spec.js
spec/frontend/environments/environment_folder_spec.js
+2
-2
spec/frontend/environments/environments_app_spec.js
spec/frontend/environments/environments_app_spec.js
+3
-3
No files found.
app/assets/javascripts/environments/components/
new_
environment_folder.vue
→
app/assets/javascripts/environments/components/environment_folder.vue
View file @
18e0fca4
File moved
app/assets/javascripts/environments/components/
new_
environments_app.vue
→
app/assets/javascripts/environments/components/environments_app.vue
View file @
18e0fca4
...
...
@@ -10,7 +10,7 @@ import environmentToRollbackQuery from '../graphql/queries/environment_to_rollba
import
environmentToStopQuery
from
'
../graphql/queries/environment_to_stop.query.graphql
'
;
import
environmentToChangeCanaryQuery
from
'
../graphql/queries/environment_to_change_canary.query.graphql
'
;
import
{
ENVIRONMENTS_SCOPE
}
from
'
../constants
'
;
import
EnvironmentFolder
from
'
./
new_
environment_folder.vue
'
;
import
EnvironmentFolder
from
'
./environment_folder.vue
'
;
import
EnableReviewAppModal
from
'
./enable_review_app_modal.vue
'
;
import
StopEnvironmentModal
from
'
./stop_environment_modal.vue
'
;
import
EnvironmentItem
from
'
./new_environment_item.vue
'
;
...
...
app/assets/javascripts/environments/
new_
index.js
→
app/assets/javascripts/environments/index.js
View file @
18e0fca4
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue';
import
VueApollo
from
'
vue-apollo
'
;
import
{
parseBoolean
}
from
'
../lib/utils/common_utils
'
;
import
{
apolloProvider
}
from
'
./graphql/client
'
;
import
EnvironmentsApp
from
'
./components/
new_
environments_app.vue
'
;
import
EnvironmentsApp
from
'
./components/environments_app.vue
'
;
Vue
.
use
(
VueApollo
);
...
...
app/assets/javascripts/pages/projects/environments/index/index.js
View file @
18e0fca4
import
init
NewEnvironments
from
'
~/environments/new_
index
'
;
import
init
Environments
from
'
~/environments/
index
'
;
const
el
=
document
.
getElementById
(
'
environments-table
'
);
init
New
Environments
(
el
);
initEnvironments
(
el
);
spec/frontend/environments/
new_
environment_folder_spec.js
→
spec/frontend/environments/environment_folder_spec.js
View file @
18e0fca4
...
...
@@ -6,13 +6,13 @@ import createMockApollo from 'helpers/mock_apollo_helper';
import
{
mountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
{
stubTransition
}
from
'
helpers/stub_transition
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
import
EnvironmentsFolder
from
'
~/environments/components/
new_
environment_folder.vue
'
;
import
EnvironmentsFolder
from
'
~/environments/components/environment_folder.vue
'
;
import
EnvironmentItem
from
'
~/environments/components/new_environment_item.vue
'
;
import
{
resolvedEnvironmentsApp
,
resolvedFolder
}
from
'
./graphql/mock_data
'
;
Vue
.
use
(
VueApollo
);
describe
(
'
~/environments/components/
new_
environments_folder.vue
'
,
()
=>
{
describe
(
'
~/environments/components/environments_folder.vue
'
,
()
=>
{
let
wrapper
;
let
environmentFolderMock
;
let
nestedEnvironment
;
...
...
spec/frontend/environments/
new_
environments_app_spec.js
→
spec/frontend/environments/environments_app_spec.js
View file @
18e0fca4
...
...
@@ -6,8 +6,8 @@ import createMockApollo from 'helpers/mock_apollo_helper';
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
setWindowLocation
from
'
helpers/set_window_location_helper
'
;
import
{
sprintf
,
__
,
s__
}
from
'
~/locale
'
;
import
EnvironmentsApp
from
'
~/environments/components/
new_
environments_app.vue
'
;
import
EnvironmentsFolder
from
'
~/environments/components/
new_
environment_folder.vue
'
;
import
EnvironmentsApp
from
'
~/environments/components/environments_app.vue
'
;
import
EnvironmentsFolder
from
'
~/environments/components/environment_folder.vue
'
;
import
EnvironmentsItem
from
'
~/environments/components/new_environment_item.vue
'
;
import
EmptyState
from
'
~/environments/components/empty_state.vue
'
;
import
StopEnvironmentModal
from
'
~/environments/components/stop_environment_modal.vue
'
;
...
...
@@ -16,7 +16,7 @@ import { resolvedEnvironmentsApp, resolvedFolder, resolvedEnvironment } from './
Vue
.
use
(
VueApollo
);
describe
(
'
~/environments/components/
new_
environments_app.vue
'
,
()
=>
{
describe
(
'
~/environments/components/environments_app.vue
'
,
()
=>
{
let
wrapper
;
let
environmentAppMock
;
let
environmentFolderMock
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment