Commit Graph

20 Commits

Author SHA1 Message Date
GitLab Bot 8991d7b8a2 Add latest changes from gitlab-org/gitlab@master 2020-06-30 00:09:05 +00:00
GitLab Bot 45b4df3e57 Add latest changes from gitlab-org/gitlab@master 2020-03-30 09:07:58 +00:00
GitLab Bot 5064bf8c56 Add latest changes from gitlab-org/gitlab@master 2020-03-25 09:08:11 +00:00
GitLab Bot ca05512007 Add latest changes from gitlab-org/gitlab@master 2020-02-04 18:08:50 +00:00
GitLab Bot c0d8f9f3f9 Add latest changes from gitlab-org/gitlab@master 2020-01-03 09:07:33 +00:00
Filipa Lacerda 442dce052a Moves table pagination component
Move the table paginaiton component under the
new pagination folder in vue shared components
and updates all the paths
2019-06-12 10:19:36 +01:00
Filipa Lacerda e35163872b Removes EE differences for env store
Creates helpers file
Cleans up tests
2019-03-13 17:30:50 +00:00
Andrew Fontaine ba98e91c06 Add Component to Confirm Environment Rollback
Ensure a vue.js component to confirm the re-deployment/rollback of an
environment pops up when rollback/re-deploy has been clicked so the user
must confirm their actions before accidentally rolling back or
re-deploying an environment.

Only on the `environment-table` view.
2019-03-05 18:33:10 +00:00
Stan Hu 43ac2a964f Add pagination spec and improve filtering of null values 2019-02-26 23:01:09 -08:00
Stan Hu 7765e6ec10 Fix pagination and duplicate requests in environments page
This commit fixes two problems:

1. When a user clicked on another page, the app would fetch the new page
data but never update because the request and response parameters failed
to match the isEqual check. This was happening because the JSON response
omitted the `nested` attribute, so there was a comparison with a `null`
value.  We fix this by scrubbing undefined values before doing the
comparison.

2. There were duplicate requests made for the environments page because
the success handler of fetchPipelines() would cause the polling
component to make another XHR request.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58191
2019-02-26 17:00:58 -08:00
syasonik db054bc166 Support flat response for envs index route
To support environment folders in the UI on the Environments List
page, the environments index route previously returned one environment
per folder, excluding those other than the latest deploy. However, the
environtments dropdown on the metrics dashboard requires that any
environment be selectable.

To accommodate both use cases, support an optional 'nested' parameter
in the index route to return either a flat, complete response or a
nested response based on the use case in question. The new default
response structure is the flat response.
2019-01-21 14:51:16 -06:00
Mike Greiling 8b090caf82
Prettify environments feature_highlight and filtered_search modules 2018-10-16 11:52:35 -05:00
Clement Ho f815b48f39 Use gitlab-ui loading icon 2018-09-11 22:19:21 +00:00
Winnie Hellmann d79cef3a9a Support manually stopping any environment from the UI 2018-07-10 08:11:04 +00:00
Filipa Lacerda 068186555c
Update method name 2018-05-17 09:45:43 +01:00
Filipa Lacerda 1fa1858546
Replace vue resource with axios for environments 2018-05-14 18:29:21 +01:00
Phil Hughes ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Filipa Lacerda 4563156256 Improve environments performance 2017-11-23 12:04:03 +00:00
Filipa Lacerda aaa78199c2 Update vue-resource 2017-07-12 14:47:09 +00:00
Filipa Lacerda 4158342b50 Adds polling function to environments table
Adds missing eventhub to folder table
2017-05-22 21:56:12 +02:00