Commit Graph
2034 Commits
Author SHA1 Message Date
Jacob Schatz 8dfa0a7649 Merge branch 'improved-issue-sidebar' into 'master'
Improved issue sidebar

Updated the spacing throughout the sidebar so that it fits better on smaller screens. Also adds a more participants button to show any other participants after the first row.

Closes #13353

See merge request !3097
2016-03-18 13:50:22 +00:00
Phil Hughes c51af604e5 Another CS style fix 2016-03-18 11:42:15 +00:00
Phil Hughes e8d52499db Fixed some CS styling issues
Fixed bug where wouldn't work on MR index
2016-03-18 11:42:15 +00:00
Phil Hughes 16d02de56e Fixed issue with dashboard issues not reloading 2016-03-18 11:40:16 +00:00
Phil Hughes 882ebfc296 Changing filter dropdowns shows loading
Instead of doing a full refresh of the page - i've modified the filterResults method on the Issues object to work for this form as well
2016-03-18 11:40:16 +00:00
Phil Hughes 4885423fea Fixes issue with close button not working on MR
Closes #14383
2016-03-18 11:36:48 +00:00
Jacob Schatz 4cd87d31bd Merge branch 'optimistic-todos' into 'master'
Adds small AJAX optimistic functionality to todos.

Fixes #13656 <br/>
A good first step and boring solution. <br/>
Will make ajax call to remove each issue.  <br/>
If issue is last in group of issues will refresh page.  <br/>
If issues remain in group will remove row with JS.  <br/>
Adds loading spinner to button and disables. <br/>

![todos-optimistic](/uploads/c6aec4a688e5125d4df55a2a3a55d4d7/todos-optimistic.gif) <br/>

cc @dzaporozhets @JobV @dbalexandre 

See merge request !2946
2016-03-18 11:23:16 +00:00
Phil Hughes 3b6e2a68f3 Removed modal hide 2016-03-18 11:16:34 +00:00
Phil Hughes 3d6573fd71 Updated to fix issues risen during feedback
Correctly updates the on-screen CI text feedback
2016-03-18 11:08:03 +00:00
Phil Hughes 33aeaf6a9c Merge request title is in the notification
Short commit instead of long commit sha
2016-03-18 10:26:48 +00:00
Phil Hughes fcba255153 Commit SHA comes from JSON
Removed page refresh - instead clicking takes to the builds tab
2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes c1c786fe65 Using status from ajax call.
Removing icon changes because refresh.
2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes 1a482bfbc2 Removes name from file
Changes `:not_found` to `nil`
2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes e33e0de24d Checks if Notification API exists before requesting permission. 2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes 00deaaafb1 removing ci_enable 2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes fcc0f7c68e Remove repeated build listing 2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes b2f2df3b38 Add page reload as a temporary boring solution 2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes e9c5e31281 Add icon as a opt for notifier 2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes f7e2109905 Adds notifications API to MR page.
When a build status changes a notification will popup.
Fixes #10851
2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes 51ceb3802f Adds JSON callback, which is currently not working. 2016-03-18 10:26:48 +00:00
Jacob SchatzandPhil Hughes 91880e13df initial ajax build 2016-03-18 10:26:48 +00:00
Phil Hughes fa6fae18a9 Changed any variable name to save confusion 2016-03-18 09:49:44 +00:00
Phil Hughes 72830aa809 Removed comparing against text 2016-03-18 09:48:47 +00:00
Phil Hughes 8357a23ac8 Fixes issue with any milestone value in dropdown not being selectable
Closes #14293
2016-03-18 09:48:47 +00:00
Phil Hughes b2e673e523 Removed global JS var 2016-03-18 09:46:20 +00:00
Phil Hughes 38ea9c6cf7 Reused some variables
Set global JS variable to sync view up
2016-03-18 09:46:20 +00:00
Phil Hughes 3e98e5971b Improved issue sidebar
Updated the spacing throughout the sidebar so that it fits better on smaller screens
Added more participants button

Closes #13353
2016-03-18 09:46:20 +00:00
Robert Speicher 423e006840 Expand the issuable sidebar when coming back from the Changes tab
Unless the user explicitly requested the collapsed sidebar.
2016-03-17 21:24:17 -04:00
Robert Speicher dc396d0fa4 Merge branch 'edited-text' into 'master'
Edited timeago text on comments

Unified the 'edited text' to be the same in descriptions and comments

Closes #5538 

See merge request !3063
2016-03-17 20:35:06 +00:00
Alfredo Sumaran 647f28bd1d Make it generic 2016-03-17 15:02:42 -05:00
Robert Speicher 1525885648 Merge branch 'hide-builds-feature' into 'master'
Hide builds from Project's settings when the feature is disabled

Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/13944

See merge request !3220
2016-03-17 19:49:48 +00:00
Alfredo Sumaran bc70597908 Fix failing spec 2016-03-17 14:30:38 -05:00
Alfredo Sumaran 9ed1cbf217 Show filename after setting a cropped image 2016-03-17 13:20:30 -05:00
Alfredo Sumaran 95cc46a44a Allow to set crop box and export image dimensions 2016-03-17 11:34:21 -05:00
Alfredo Sumaran 707be371ee Handle form submit via ajax and crop avatar on the client 2016-03-17 09:46:50 -05:00
Alfredo Sumaran 8ffc04ebc9 Add GitLabCrop class 2016-03-17 09:44:08 -05:00
Alfredo Sumaran 7853016226 Add cropper library 2016-03-17 09:40:32 -05:00
Phil Hughes 41c107becc Mark all as done through AJAX 2016-03-17 13:08:59 +00:00
Phil Hughes 421215e338 Removed the flash success message
Removes the group if empty
2016-03-17 12:54:02 +00:00
Jacob SchatzandPhil Hughes 8f8720209f Remove Flash from todos when finished 2016-03-17 12:20:14 +00:00
Jacob SchatzandPhil Hughes fa570525db Adds small AJAX optimistic functionality to todos.
Fixes #13656
A good first step and boring solution.
2016-03-17 12:20:14 +00:00
Grzegorz Bizon 5e3c9475a9 Add minor improvements in code related to issue move 2016-03-17 07:39:16 +01:00
Grzegorz Bizon 1dd279d833 Use helper to create list of projects issue can be moved to
This also adds confirmation message if issue move has been requested.
2016-03-17 07:39:16 +01:00
Grzegorz Bizon 4145589393 Revert changes in js used to create project select
This will preserve those changes in history, we may need them in future.
Currently we will use a issues helpers to create options to choose
project whem moving issue to it.
2016-03-17 07:39:16 +01:00
Grzegorz Bizon 93812f2594 Add initial notifications and hooks for issue move 2016-03-17 07:39:16 +01:00
Grzegorz Bizon 58df72fac1 Make it possible to exclude project in projects select 2016-03-17 07:39:16 +01:00
Grzegorz Bizon bcd5806960 Add access-level filter support for projects select
This also refactores ProjectSelect adding some decorator-like functions.
2016-03-17 07:39:16 +01:00
Grzegorz Bizon 11f817b3fd Add ability to choose id attribute in project select helper 2016-03-17 07:39:15 +01:00
Rémy Coutable 54ec7e9599 Improving the original label-subscribing implementation
1. Make the "subscribed" text in Issuable sidebar reflect the labels
   subscription status

2. Current user mut be logged-in to toggle issue/MR/label subscription
2016-03-15 18:22:02 +01:00
Timothy AndrewandRémy Coutable 0444fa560a Original implementation to allow users to subscribe to labels
1. Allow subscribing (the current user) to a label

- Refactor the `Subscription` coffeescript class
  - The main change is that it accepts a container, and conducts all
    DOM queries within its scope. We need this because the labels
    page has multiple instances of `Subscription` on the same page.

2. Creating an issue or MR with labels notifies users subscribed to those labels

- Label `has_many` subscribers through subscriptions.

3. Adding a label to an issue or MR notifies users subscribed to those labels

- This only applies to subscribers of the label that has just been
  added, not all labels for the issue.
2016-03-15 17:25:37 +01:00