Commit graph

21 commits

Author SHA1 Message Date
Annabel Dunstone Gray
d41f30d56e Remove tooltips and titles from label subscription buttons 2017-03-03 13:11:15 -06:00
Sean McGivern
bf93a9f50c Remove issue and MR counts from labels index
We were performing two (quite slow, because of the need to do access
checks) queries for each label on the page: one to get the count of
issues with that label, and one to get the count of merge requests with
that label.

Until we have a performant way of doing this, remove the counts.
2017-02-17 12:44:10 +00:00
Sean McGivern
86af3ed55e Merge branch '24021-Migrate-Projects-Labels-to-Group-Labels' into 'master'
Promote project labels to group labels

Closes #24021

See merge request !7242
2017-01-31 13:35:26 +00:00
Ritave
5d871dccbe Abillity to promote project labels to group labels
Fixes #24021
2017-01-31 12:50:52 +01:00
Luke "Jared" Bennett
bfbdc62a3f Added labels empty state and priority label empty state
Fixed delete labels not working

Review changes
2017-01-30 17:54:48 +03:00
Kushal Pandya
fb3e365412 HAMLLint: Fix SpaceInsideHashAttributes offences 2016-12-31 11:58:36 +05:30
Douglas Barbosa Alexandre
d533c0e728 Avoid code duplication for label subscription status on label partial 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
e2865c232e Rename LabelSubscription javascript to ProjectLabelSubscription 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
a0accaf7cc Fix label subscription menu on small screens resolution 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
1af4d29b94 Allow users to subscribe to a group label at group or project level 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
733fbebe0e Use button instead of an icon to subscribe/unsubscribe to labels 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
4a29fde577 Allow users to subscribe to group labels at project-level 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
48d851d201 Refactoring label subscription toggle button text to accept a project 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
d45c6eca27 Refactoring label subscription status to accept a project 2016-11-17 15:10:13 -02:00
Douglas Barbosa Alexandre
7e1ddfb81b Assign local_assigns[:subject] to a variable on the shared label partial 2016-10-31 23:27:49 -02:00
Douglas Barbosa Alexandre
bc7895fff8 Use label subject to calculate number of issues/mrs within the group 2016-10-31 23:27:49 -02:00
Douglas Barbosa Alexandre
355389d065 Disable subscribing to group-level labels 2016-10-19 14:58:28 -02:00
Douglas Barbosa Alexandre
4c9241075d Warn user deleting a group label affect all projects within the group 2016-10-19 14:58:27 -02:00
Douglas Barbosa Alexandre
b654229dcd Fix LabelsHelper#link_to_label to use the subject argument 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre
32c663ff24 Use policies to handle with global/project label permissions 2016-10-19 14:58:24 -02:00
Douglas Barbosa Alexandre
2910896b53 Remove duplication between global and the regular label partials 2016-10-19 14:58:24 -02:00
Renamed from app/views/projects/labels/_label.html.haml (Browse further)