Commit Graph

306 Commits

Author SHA1 Message Date
Filipa Lacerda 941e00121c Merge branch 'ce-9262-move-project-search-bar-into-modal-dialog-on-operations-dashboard-page' into 'master'
CE backport: Add reusable project_selector component

See merge request gitlab-org/gitlab-ce!25036
2019-04-05 16:25:45 +00:00
Sean McGivern 934dabaf6d Merge branch 'keyval-labels' into 'master'
[CE] Add mutually exclusive labels

See merge request gitlab-org/gitlab-ce!26804
2019-04-05 10:28:19 +00:00
Paul Slaughter c1a097e1ce
Refactor new_dropdown/index to receive isOpen prop
**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.
2019-04-04 15:35:45 -05:00
Oswaldo Ferreira e540c0d71e Fixed test specs
- added suggestions to mock data
- fixed props to be not required
2019-04-04 13:08:34 +00:00
Rajat Jain 97ab853996 [frontend] backport of scoped labels
Scoped labels in EE require additional changes in CE code.
2019-04-04 08:06:48 +02:00
mfluharty eb95100c06
Make corrections to address review feedback
Refactor tests to follow conventions
Add XSS test
Eliminate a few unnecessary lines, comments, and parameters
Use Vue.set for nested state changes
2019-04-02 23:58:20 -06:00
Nathan Friend 06b88af046
Add reusable project_selector component
This commit adds a resuable UI component that allows a user to search
for a project name, shows the search results, and allows the user to
select one or more projects.  This component communicates with its
parent using props and events.

This component was originally created for use in the EE-specific
"Operations Dashboard" page, but it is applicable for CE use cases as
well, and so was added as a CE shared component.

In addition, some logic was extracted from the frequent_items_list_item
component into shared filters to avoid logic duplication.
2019-04-02 23:58:01 -06:00
Annabel Dunstone Gray 01c40ae29f Merge branch 'dm-md-css' into 'master'
Untangle Markdown/Diffs/Notes CSS mess

See merge request gitlab-org/gitlab-ce!26493
2019-03-26 16:40:25 +00:00
Winnie Hellmann ad985a7a28 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430

(cherry picked from commit 79a45f7f02)
2019-03-26 16:03:28 +00:00
Douwe Maan 63792707f9
Remove now-unnecessary md-preview class 2019-03-26 14:35:43 +01:00
Winnie Hellmann 514ee63826 Move some tests from Karma to Jest 2019-03-23 17:53:46 +01:00
Filipa Lacerda 022968764c Revert "Merge branch 'winh-remove-sushi' into 'master'"
This reverts merge request !26430
2019-03-22 11:03:15 +00:00
Mike Greiling 79a45f7f02 Merge branch 'winh-remove-sushi' into 'master'
Remove .raw from JavaScript fixture file names

Closes #59201

See merge request gitlab-org/gitlab-ce!26430
2019-03-21 19:46:55 +00:00
Winnie Hellmann 3e9bb4ad31 Remove .raw from JavaScript fixture file names
There is nothing more to say but

"Commits that change 30 or more lines across at least three files
must describe these changes in the commit body"
2019-03-21 17:16:53 +01:00
Nathan Friend a24cb6de02
Update pipeline list view
This commit updates the pipeline page  and related components to include
new pipeline information added by the post-merge pipeline feature.
2019-03-20 12:39:27 -03:00
Brandon Labuschagne 193362482d Fix failing tests
A number of the karma tests looked for the .fa-spinner class or the
icon element used for the font awesome spinner class.

These instances have been refactored to now look for the .spinner
class instead.
2019-03-18 14:09:07 +02:00
Phil Hughes 8c2a5b75d2 Merge branch '57991-frontend-pagination-needs-to-handle-cases-where-the-x-total-pages-header-isn-t-present' into 'master'
Improve the JS pagination to handle the case when the `X-Total` and `X-Total-Pages` headers aren't present

Closes #57991

See merge request gitlab-org/gitlab-ce!25601
2019-03-01 14:30:21 +00:00
Fatih Acet 529c570c02
Move related issues shared components from EE
We will rewrite Related MRs widget in CE with Vue.
It’s pretty much the same with Related Issues in EE.
I made EE only components reusable and this is the CE
backward compatability commit.

Links:

Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/57662
MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9730
2019-03-01 12:49:16 +01:00
Rémy Coutable d9dd52092f
Make JS pagination handle missing 'X-Total-Pages' header
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-02-28 13:42:55 +01:00
Clement Ho d63483a2da Fix inconsistent pagination styles 2019-02-27 10:16:46 +00:00
Filipa Lacerda fea813ab93 Merge branch 'diff-tree-resizable' into 'master'
Make the file tree in merge requests resizable

Closes #51857

See merge request gitlab-org/gitlab-ce!25097
2019-02-18 12:53:03 +00:00
Natalia Tepluhina bf8f32da7f Replaced part of diff file properties with diff viewer
- replaced file.too_large
- replaced file.text
- replaced file.collapsed
2019-02-15 17:56:50 +00:00
Phil Hughes d17de657fe
Make the file tree in merge requests resizable
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51857
2019-02-15 10:33:33 +00:00
Phil Hughes 9a642f7adc
Fixes alignment of changed icon in Web IDE
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57649
2019-02-13 16:01:32 +00:00
Winnie Hellmann 7430149d4d Convert noteable_note_spec.js to Vue test utils
(cherry picked from commit 861f93e6fc)
2019-02-12 20:55:56 +00:00
Phil Hughes 6e5461d67f
Added fuzzy file finder to merge requests
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53304
2019-02-05 11:29:49 +00:00
Dennis Tang 1658f5b62e
Use sanitized user status message for user popover 2019-01-31 16:52:49 +01:00
Filipa Lacerda 355d8ef72a Adds create option in filtered dropdown
In the filtered search dropdopwn adds a button
to enable creation of missing element.
2019-01-24 11:46:38 +00:00
Jacques Erasmus 0cd37ad9d9 Remove unwanted margin above suggested changes. 2019-01-18 19:35:06 +00:00
Paul Slaughter 3420ec15dd
Handle emptyText in user_avatar_list
**Why?**
To reduce duplicate code, it's helpful to encapsulate this behavior
here.
2019-01-16 09:39:35 -06:00
Jacques Erasmus f3b9eda913 Add syntax highlighting to suggestion preview 2019-01-15 13:37:49 +00:00
Annabel Dunstone Gray 7e802feefa Add syntax highlighting to suggestion diff 2019-01-10 09:54:39 +00:00
Phil Hughes 12edecd002
Add headers to files in the tree list on merge requests
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54807
2019-01-08 09:31:23 +00:00
Kushal Pandya 77de006319 Merge branch 'ee1979-user-avatar-list-component' into 'master'
Create shared user-avatar-list component

See merge request gitlab-org/gitlab-ce!24139
2019-01-07 09:05:18 +00:00
Kushal Pandya 32f80629bd Merge branch 'suggestion-dashes' into 'master'
Fixes diff sugestions removing dashes from diff

Closes #55634

See merge request gitlab-org/gitlab-ce!23994
2019-01-07 08:55:43 +00:00
Paul Slaughter ed7f44aaba
Create shared user-avatar-list component
**Why?**
We need a component that can expand / collapse a list of avatars for
approval rules table.

See issue https://gitlab.com/gitlab-org/gitlab-ee/issues/1979
2019-01-04 16:50:47 -06:00
Paul Slaughter 708df374f5
Create shared gl-modal-vuex component and module
**Why?**
It is significantly easier to manage the visibility of the modal in
Vuex. The module contains the state and mutations to manage this.
The component wraps GlModal and syncs the visibility with the module.
2019-01-03 23:34:15 -06:00
Clement Ho 0e20c8eb8b Merge branch 'tz-user-popover-follow-up' into 'master'
Added Comment to user avatar Image, Changed Fixtures to created ones, added shadow color

See merge request gitlab-org/gitlab-ce!23768
2019-01-03 21:04:16 +00:00
Paul Slaughter aedaef2b2c
Update callout component to receive slot
**Why?**
- This is needed to add buttons to the callout
2019-01-02 09:01:41 -06:00
Phil Hughes e6f1209ebf
Fixes diff sugestions removing dashes from diff
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55634
2018-12-21 17:22:59 +00:00
Martin Wortschack 63307ade1c Split bio into individual line in extended user tooltips
- Remove leading 'at' in organzation info
- Update karma tests
2018-12-21 11:18:37 +01:00
Tim Zallmann dac38419fe Merge branch '55276-encoding-issue-with-the-user-centric-tooltips' into 'master'
Resolve "Encoding issue with the user centric tooltips"

Closes #55276

See merge request gitlab-org/gitlab-ce!23794
2018-12-17 10:24:14 +00:00
Natalia Tepluhina 3c3701c97e Add a test for special characters 2018-12-14 20:23:29 +00:00
Oswaldo Ferreira ed3034bbb7 Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
Tim Zallmann 14d3b53aa8 Comment user avatar Image, Changed Fixtures, added new shadow color
Needed to reorder css variables

Neede to reorder vars again

Added Changelog
2018-12-12 22:49:45 +01:00
Phil Hughes 2155395025 Merge branch 'winh-markdown-preview-lists' into 'master'
Remove unnecessary div from MarkdownField to apply list styles correctly

Closes #55190

See merge request gitlab-org/gitlab-ce!23733
2018-12-12 09:31:22 +00:00
Winnie Hellmann 1285fe6874 Remove unnecessary div from MarkdownField to apply list styles correctly 2018-12-12 08:48:18 +01:00
Winnie Hellmann d0d776b69d Move timeline_entry_item_spec.js to Jest 2018-12-11 15:03:59 +01:00
Kushal Pandya 295e8b9bed CE Backport: Epic issue list and related issue list re-design 2018-12-08 09:58:45 +00:00
Tim Zallmann ddd4cc649f Resolve "Extended user centric tooltips" 2018-12-08 03:12:23 +00:00