Commit Graph

4326 Commits

Author SHA1 Message Date
Illya Klymov 7f5d86d82e Fix FormData usage in karma tests 2019-09-10 12:10:51 +03:00
Jose Vargas b5b2879e4a Add caret icons to the monitoring dashboard
The carets will function as a button that will allow the panels
from the monitoring dashboard to collapse and show panels
2019-09-09 13:52:14 -05:00
Winnie Hellmann 3d7b3300e7 Revert "Merge branch 'winh-fix-flaky-dashboard_spec' into 'master'"
This reverts merge request !32571
2019-09-06 14:03:32 +00:00
Winnie Hellmann b896a8536f Show weight on new board issue (CE-backport) 2019-09-06 10:46:12 +00:00
Winnie Hellmann d8f24afa6a Move monitoring dashboard_spec to Jest 2019-09-06 08:18:40 +00:00
Illya Klymov b435bbc596 Refactored spec to Jest for clientside_spec 2019-09-05 12:44:17 +00:00
Ammar Alakkad c2fb7f85b3 Update Pipelines Minutes expire banner (CE)
- remove hiding the alert functionality
- use `danger` class instead of `warning`

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14786
2019-09-04 20:48:58 +00:00
Filipa Lacerda be449e23e3 Creates base components for new job log
Creates a link component, a line component and
a clickable line component to handle the
new job log format
2019-09-04 14:10:29 +00:00
Lee Tickett e8c58d62fb Remove vue resource from group service
Addresses https://gitlab.com/gitlab-org/gitlab-ce/issues/66750
2019-09-04 03:45:28 +00:00
Mike Greiling 3399335602 Revert "Merge branch 'remove-vue-resource-from-sidebar-service' into 'master'"
This reverts merge request !32400
2019-09-03 22:44:56 +00:00
Lee Tickett 19371b9062 Revert "DB change, migratoin and changelog"
This reverts commit af5242ecb682189c5d8276e1ab1ffe5ce844f2e5.
2019-09-03 19:10:08 +00:00
Lee Tickett c487c7cf6a Revert "DB change, migratoin and changelog"
This reverts commit af5242ecb682189c5d8276e1ab1ffe5ce844f2e5.
2019-09-03 16:38:17 +00:00
Tim Zallmann 8c5d3fa63e Merge branch 'winh-quarantine-dashboard_spec' into 'master'
Quarantine flaky dashboard_spec.js

See merge request gitlab-org/gitlab-ce!32574
2019-09-03 10:03:09 +00:00
Fatih Acet 3741402a24 Make flash notifications sticky
This commit also unifies layout structure
and remove no_container flag
2019-09-03 09:03:35 +00:00
Winnie Hellmann cea72e9042 Quarantine flaky dashboard_spec.js 2019-09-03 08:23:04 +00:00
Tim Zallmann 407132bfd4 Merge branch '66393-proposal-remove-area-chart-in-favor-of-time-series' into 'master'
Remove area chart in favor of time series

Closes #66393

See merge request gitlab-org/gitlab-ce!32129
2019-09-02 20:04:02 +00:00
Kushal Pandya 4a67f74d4f Merge branch 'nfriend-add-anchor-tag-to-release-block' into 'master'
Add `id` attribute to release blocks

See merge request gitlab-org/gitlab-ce!32360
2019-08-30 07:11:37 +00:00
Paul Slaughter b1af2a78a2 Merge branch 'ce-13479-rename-atmtwps-to-mtwps' into 'master'
CE backport for gitlab-org/gitlab-ee!15535: Resolve "Rename `ATMTWPS` to `MTWPS` in code"

See merge request gitlab-org/gitlab-ce!32112
2019-08-30 06:45:15 +00:00
Stan Hu f6c7e38040 Make it harder to delete issuables accidentally
Previously submitting a DELETE request to an issuable URL would be
enough to destroy it, but this should require human confirmation.  We
now require that the `destroy_confirm` parameter is set to a truthy
value before this can complete.

In addition, we log a Sentry error if a deletion arrived without
confirmation.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62387
2019-08-29 12:54:19 -07:00
Kushal Pandya e54747fc94 Merge branch 'ce-xanf-move-auto-merge-failed-to-jest' into 'master'
Resolve "Migrate spec/javascripts/vue_mr_widget/components/states/mr_widget_auto_merge_failed_spec.js to Jest"

See merge request gitlab-org/gitlab-ce!32282
2019-08-29 06:50:34 +00:00
Kushal Pandya 8049a8f1dc Merge branch '56130-operations-environments-shows-incorrect-deployment-date-for-manual-deploy-jobs' into 'master'
Show correct deployment date for a manual job

Closes #56130

See merge request gitlab-org/gitlab-ce!32072
2019-08-29 06:47:18 +00:00
Clement Ho 1ca42a2479 Merge branch 'ce-xanf-move-file-icon-spec-to-jest' into 'master'
Resolve "Migrate spec/javascripts/vue_shared/components/file_icon_spec.js to Jest"

See merge request gitlab-org/gitlab-ce!32278
2019-08-28 20:32:37 +00:00
Illya Klymov 3a34a2dcd6 Refactored Karma spec to Jest for file_icon 2019-08-28 22:23:13 +03:00
Nathan Friend ade2a5a644
Add id to release block
This commit adds an id attribute to release blocks to allow them to be
targeted as anchor links.
2019-08-28 16:13:07 -03:00
jakeburden a3edfab1a9 Show correct deployment date for a manual job
Only display time if the job has deployed

Update JS tests for displaying job deployment time

Simplify boolean check in deployedDate
2019-08-28 08:48:14 -04:00
Ash McKenzie 4576d55f44 Merge branch 'id-change-total-notes-calculation' into 'master'
Change the way totalNotes is calculated

See merge request gitlab-org/gitlab-ce!32191
2019-08-28 08:27:21 +00:00
Igor Drozdov 72544449cf Change the way totalNotes is calculated
totalNotes is only used to prerender a number of
skeleton containers until real notes are loaded

issuable.discussions makes multiple requests, so
too expensive for this

This commit uses mere notes for this and sends
actual totalNotes number if it's less than 10;
otherwise it sends 10 - it allows us to avoid
bunch of skeleton prerenderings, which are not
necessary since they doesn't fit into the whole
screen and disappear quite fast
2019-08-28 08:30:13 +03:00
Illya Klymov 6bbba7017b Refactored Karma spec to Jest for mr_widget_auto_merge_failed 2019-08-27 18:50:22 +03:00
Enrique Alcantara b4cc539d3c
Move gke_cluster_dropdowns to create_cluster dir
This commit creates a create_cluster directory to collect
all Vue applications related to creating kubernetes applications
using gitlab.

It also moves the gke_cluster_dropdowns collection of apps to
the create_cluster directory. gke_cluster_dropdowns contains
dropdown components used to select configuration options to
create a Kubernetes cluster in Google Cloud.
2019-08-27 09:16:01 -04:00
Patrick Derichs a13abd6731 Add edit_note and spec for editing quick actions
Call QuickActionsService on Note update

Add support for notes which just contain
commands after editing

Return http status gone (410) if note was deleted

Temporary frontend addition so it is not
failing when a note is deleted

Move specs to shared examples

Fix rubocop style issue

Deleting note on frontend when status is 410

Use guard clause for note which got deleted

Simplified condition for nil note

This method should no longer be called
with nil note

Refactoring of execute method to reduce
complexity

Move errors update to delete_note method

Note is now deleted visually when it only
contains commands after update

Add expectation

Fix style issues

Changing action to fix tests

Add tests for removeNote and update
deleteNote expectations
2019-08-26 09:20:00 +00:00
Miguel Rincon 86268f750f Remove area.vue component 2019-08-24 12:18:56 -05:00
Tim Zallmann b15f03883e Merge branch '66073-use-time-series-chart-instead-of-area-chart-in-panel_types' into 'master'
Enable line charts in dashbaord panels and embedded charts

Closes #66073

See merge request gitlab-org/gitlab-ce!31920
2019-08-24 07:26:17 +00:00
Laura Montemayor 3e5946335d fix charts scroll handle icon 2019-08-23 10:12:18 +00:00
Denys Mishunov 371e1ed371 Always pre-select "Start a new merge request"
One exception: there is an existing MR for the current branch and the
branch is non-default and non-protected.

Extended mock_data for ide/stores to have different types of branches:
default, protected and regular

Cleaned new MR checkbox view
2019-08-22 23:23:06 +00:00
Nathan Friend 37e4f51400
Rename ATMTWPS to MTWPS (CE)
This commit does a find-and-replace from ATMTWPS -> MTWPS.
2019-08-22 14:55:55 -03:00
Nick Thomas d852112776 Merge branch 'ce-6878-add-epic-select-dropdown' into 'master'
Add `searchBy` helper & `SidebarItemEpicsSelect` placeholder component

See merge request gitlab-org/gitlab-ce!31859
2019-08-22 16:01:04 +00:00
Igor 6a385b60f8 Remove mergeTrain from FE since it's used only in EE 2019-08-22 13:50:19 +00:00
Kushal Pandya 6044b3ed1e Add `searchBy` helper & `SidebarItemEpicsSelect`
- Adds `searchBy` util in common utils
- Adds placeholder `SidebarItemEpicsSelect`
2019-08-22 17:58:44 +05:30
Paul Slaughter 0bd2d27689 Merge branch 'refactor/notes-getters' into 'master'
Refactor nextUnresolvedDiscussionId and previousUnresolvedDiscussionId getters

Closes #65817

See merge request gitlab-org/gitlab-ce!31754
2019-08-21 19:38:27 +00:00
Donald Cook 293ef17e73 Backport: Issue sidebar tracking
Added snowplow event tracking to Edit buttons
2019-08-21 19:12:11 +00:00
Nick Kipling 646913f4e2 Fixed tech debt of using custom component
Changed the container registry to use the empty state component
Removed the custom svg-component
2019-08-21 18:55:42 +00:00
Ezekiel Kigbo b7e6c898c7 Resolve "HTML code shown in merge request"
- Fixes double escaped text in `mr_widget_rebase.vue`
2019-08-21 14:47:04 +00:00
Miguel Rincon 9cbb1b1093 Replace the area with time series where used
- Replace in panel_type.vue
- Replace in embed.vue
- Port changes to support embed in 2 cols in large screens
- Update specs
2019-08-21 09:32:51 -05:00
Miguel Rincon f2619e21be This commit adds a new time series component
Adds a time series component for line and area charts.
Displays new charts in the dashboard.

- Use dynamic components for line/area swapping
- Add new line charts to dashboard in 2 panels
2019-08-21 13:43:01 +00:00
Rémy Coutable 96b0379219 Merge branch 'ce-22058-improve-ux-multi-assignees-in-mr' into 'master'
Improve UX multi assigness in MR

See merge request gitlab-org/gitlab-ce!31545
2019-08-21 12:52:34 +00:00
Samantha Ming 261f4fe7ac Fix to show renamed file in mr 2019-08-21 08:23:22 +00:00
Winnie Hellmann a28c77f2ad Throw error for multiple RecaptchaModal instances 2019-08-21 08:06:50 +00:00
Miguel Rincon b6ea6d7f9b CE Port: Use EE panel type to display alert menu correctly in dashboards 2019-08-21 08:06:05 +00:00
Samantha Ming 1c7cbc25b9
Apply patch and update spec per MR comments
- Use wrapper instead of global Vue object
- Use vue utils helper method
- Remove redundant spec tests
2019-08-20 15:15:19 -05:00
Samantha Ming f1f34baf6f
Improve UX multi assigness in MR
Add merge warning on avatar in:
- open view assigness
- collapsed view assigness
- dropdown (search) view assigness

Add can_merge option to MR sidebar entity
2019-08-20 15:15:18 -05:00