Commit graph

21 commits

Author SHA1 Message Date
Filipa Lacerda
a96b9ebfbe Removes fetchStage actions and mutations
Updates tests
2019-05-24 10:04:05 +01:00
Winnie Hellmann
514ee63826 Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
Filipa Lacerda
be70cb7912 Moves shared quota getter into CE
In jobs store, moves the check for
`shouldRenderSharedRunnerLimitWarning` to the CE
codebase.
2019-03-07 09:50:36 +00:00
Fernando Arias
a536fe2850 Code cleanup of headerActions and tests
* Remove headerAction getter from job getters
* Remove prop from being passed into header_ci_component
* Remove no longer needed tests
2019-01-11 11:14:53 -05:00
Fernando Arias
f3465c7293 Update failing specs & linter errors & changelog 2019-01-10 10:36:27 -05:00
Fernando Arias
42bfffc495 Move job cancel/new button
* Move cancel button to where the Retry is normally placed
* Move new issue button to be in sidebar view for desktop versions
* Update specs

Add changelog entry for moving cancel btn

Remove mobile version job action buttons

* Remove buttons showing up on seperate row on job sidebar
* Show Retry button in mobile version next to build name

Improve flexbox usage for job action buttons

* Allow for cleaner scaling of job name and alignment of buttons

Adjust the debug button icon size

* Adjust debug icon size on the build sidebar so the debug button is the
same height as the other buttons

Tweak job name vertical margins

* Changes are only made to job side vue
* Remove old class that only changed margin on top
* Adjust veritcal margin uniformy set to 0 via bootstrap margin class

Update Karma tests for job side view

* Update karms tests for mobile version of side view
* Removed tests for new issue button since we are fixing in
https://gitlab.com/gitlab-org/gitlab-ce/issues/55944

Fix rspec and static-analysis failures

* Run Prettier
* Update rspec css selectors

Move job action buttons to new line

* Move "New Issue" and "Debug" buttons to seperate line in job sidebar
* Update specs

Run Prettier to format JS

Remove New Issue button from job header

Make sure button spacing follows styleguide
2019-01-10 09:04:17 -05:00
Mike Greiling
160157a92b
Prettify remaining files with differences in CE and EE 2018-10-31 14:33:12 -05:00
Filipa Lacerda
1cc093011f Fix stage dropdown rendering only in English 2018-10-26 07:49:01 +00:00
Steve Azzopardi
50f703f95a Move job stuck status to backend 2018-10-25 11:53:00 +00:00
Mike Greiling
f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
Filipa Lacerda
5ed91cf81b Resolve "Integrate new vue+vuex code base with new API and remove old haml code" 2018-10-17 10:34:19 +00:00
Johann Hubert Sonntagbauer
6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
Tim Zallmann
1103f589f0 Merge branch '52614-update-job-started-check' into 'master'
Updates the check for started in job header

See merge request gitlab-org/gitlab-ce!22329
2018-10-12 17:16:47 +00:00
Steve Azzopardi
464655edb2 Add stage name in job.json response 2018-10-12 17:13:41 +00:00
Filipa Lacerda
85c30d742c Updates the check for started in job header
The function that was checking if the job was started or not
was expecting a boolean, however it was receiving a null.
During the refactor the condition was changed, causing the function
to break with null

This commit fixes the check
2018-10-12 16:26:04 +01:00
Filipa Lacerda
0073be9bf7 Adds .json to the end of pipelines endpoint
When the job page is rendered we fetch the pipeline
endpoint to render the stages in the sidebar.
Without `.json` the response is cached, and when the
user goes back to the pipeline's page it renders the
json output instead of the Vue app
2018-10-11 14:29:35 +01:00
Filipa Lacerda
e13baff004 Renders empty states in the Vue app in Job page 2018-10-04 12:59:57 +00:00
Filipa Lacerda
9128e7849d Uses Vue app to render part of job show page 2018-10-03 15:29:07 +00:00
Filipa Lacerda
f72a1bf09c Moves stages dropdown into the new vue app 2018-10-03 14:13:20 +00:00
Filipa Lacerda
49bd01cf24 Uses new Vuex store in job log page
Removes old mediator and service pattern and uses the new store.
Middle step before moving everything into one single vue app
2018-09-27 14:13:17 +01:00
🌴🌴 Filipa Lacerda - OOO back on September 17th 🌴🌴
55582b4359 Adds Vuex store for the job log page 2018-09-03 07:49:52 +00:00