Commit Graph
1447 Commits
Author SHA1 Message Date
Phil Hughes 35b3c7096d Fixed multiselect 2016-03-29 12:17:22 +01:00
Phil Hughes f3b162a9ac Fixed issue with milestone not being un-selectable 2016-03-29 11:59:42 +01:00
Phil Hughes 88024b17c0 Standardised the output of the JSON to always include the name
The frontend will then always use the name as the ID - like previous
2016-03-29 11:59:13 +01:00
Phil Hughes 3aeda8c94f Removed un-used code 2016-03-29 11:58:11 +01:00
Phil Hughes a6d7c69521 Updated to only include upcoming on filters
Fixes tests
2016-03-29 11:58:11 +01:00
Phil Hughes 7ff6af19cc Dropdown bug fixes
Added back upcoming to milestone filter
Fixed bug that would cause the currently selected value to disappear on filters
Fixed bug that throw an error when filtering by upcoming when there is only a milestone in the past
2016-03-29 11:57:04 +01:00
Jacob Schatz 88007c3d77 Update, so filtering works properly.
Bulk update works as well
2016-03-26 09:30:37 -04:00
Jacob Schatz 1445bfa18d Use hidden inputs instead of data-selected 2016-03-25 12:44:33 -04:00
Jacob Schatz 1cc6d786e4 Fix minor code style issues
Fix underscore template error.
Fix `=` spacing
2016-03-25 09:54:05 -04:00
Jacob Schatz 53a831124e Edit button leaves modal open
Add user avatar to user selection
2016-03-25 09:54:05 -04:00
Jacob Schatz 6835f19c2b Add back in currentUser 2016-03-25 09:54:05 -04:00
Jacob Schatz 42389ea8d2 Fix features until tests pass.
Milestones needed a none selector
Assignee needed unassign.
2016-03-25 09:54:05 -04:00
Phil HughesandJacob Schatz 139c255a92 Fixed JS error that was failing the builds 2016-03-25 09:54:05 -04:00
Jacob Schatz 201101dfff Add Assign to me button and unassigned. 2016-03-25 09:53:14 -04:00
Jacob Schatz 5db2622aea Assign current user when no user is assigned link 2016-03-25 09:53:14 -04:00
Jacob Schatz 3fc887ea02 Remove console log 2016-03-25 09:48:12 -04:00
Jacob Schatz 43a8e3a693 Fix subscription button by hooking it back up. 2016-03-25 09:48:12 -04:00
Jacob Schatz 6f48cb8609 Fix broken functionality in sidebar after merge.
Added nice animations too.
2016-03-25 09:48:12 -04:00
Alfredo SumaranandJacob Schatz a971880e5f Fix endpoint 2016-03-25 08:10:25 -04:00
Jacob Schatz 8c1e3c77cd Add multi select stay open functionality 2016-03-25 08:10:25 -04:00
Jacob Schatz 22aef62808 New dropdowns work on merge requests too! 2016-03-25 08:07:57 -04:00
Jacob Schatz e8d8411016 Adds new dropdown ajax to user selection 2016-03-25 08:07:57 -04:00
Jacob Schatz 74c7a537ed Adding dropdown for users 2016-03-25 08:07:57 -04:00
Jacob Schatz 9da87709c4 Remove api calls from api.js.coffee.
Using respond to instead
2016-03-25 08:07:57 -04:00
Jacob Schatz d17b549935 Make remove multi and remove single work.
Make add single and add multi work properly.
Multiple inputs for multiselect
2016-03-25 08:07:57 -04:00
Jacob Schatz c81b261374 Fix bugs with select dropdown and multiselection 2016-03-25 08:07:57 -04:00
Jacob Schatz ed517c5ab7 Removes bugs with selection.
Adds deselect still a WIP.
2016-03-25 08:07:57 -04:00
Jacob Schatz fdb703d790 Fix up commit message 2016-03-25 08:07:57 -04:00
Jacob Schatz 3753ace9ba Add labels as proper POST arrays using new dropdown 2016-03-25 08:07:57 -04:00
Jacob Schatz 024dc8073e Add milestone sidebar update via JSON 2016-03-25 08:04:57 -04:00
Jacob Schatz aa4da38435 Make label search work with JSON data 2016-03-25 08:04:57 -04:00
Jacob Schatz a76ee508fb Ajax call to milestones via new dropdowns 2016-03-25 08:04:57 -04:00
Jacob Schatz ff86138d76 Sidebar milestone updatable via JSON 2016-03-25 08:04:57 -04:00
Jacob Schatz 1c8fff965c Adds milestone API JS call 2016-03-25 08:04:09 -04:00
Jacob Schatz 16ba5eb4d8 Updates sidebar milestone to use new dropdowns 2016-03-25 08:03:16 -04:00
Jacob Schatz 4a4a79aa9e Merge branch 'dropdown-alignment-fixes' into 'master'
Dropdown pixel perfect 🎉

Closes #14333, #14331, #14472, #14515 

See merge request !3337
2016-03-23 22:13:31 +00:00
Jacob Schatz 4798b927ab Merge branch 'issue_7959' into 'master'
Crop avatars on the client before upload

<img src="/uploads/535d69956cc5904870ae5d95132a35af/Screen_Shot_2016-03-17_at_9.55.56_AM.png" width="700">

closes #7959
closes #600 

See merge request !3270
2016-03-23 20:29:30 +00:00
Phil Hughes 2d7183bbe8 Fixed failing tests
Moved the scss out of a mixin as it was really confusing the hell out of the CSS
2016-03-23 17:15:14 +00:00
Alfredo Sumaran 3bab5976c0 Move cropper.js to vendor folder 2016-03-23 11:54:04 -05:00
Phil Hughes 0141d3654f Disable new label form in dropdown until fields are complete 2016-03-23 13:29:41 +00:00
Phil Hughes fee01133ea Changed colour of no matching results bg
Highlights first row when filtering
2016-03-23 10:40:07 +00:00
Phil Hughes 4c5babd94b Removed bold on any/unassigned authors 2016-03-23 10:40:07 +00:00
Phil Hughes aec0e22669 Adjusted alignment for the new label form 2016-03-23 10:40:07 +00:00
Phil Hughes 6d40eee5ea Added label color box in dropdown 2016-03-23 10:37:33 +00:00
Phil Hughes 8d147219cd Added clear button to dropdown filter 2016-03-23 10:37:33 +00:00
Jacob Schatz 62ffdbeb2d Merge branch 'merge-request-sidebar' into 'master'
Fixed bug where participants would not work correctly on merge requests

Also fixed alignment bug with can't merge badge

Closes #14478, #14494

See merge request !3329
2016-03-22 20:37:31 +00:00
Jacob Schatz 16f05230a6 Merge branch 'auto-collapse-nav' into 'master'
Auto collapses the navigation when resizing

Closes #14475 

![auto-collapse](/uploads/332c6261acb6bc30d7d30cbdfafe92eb/auto-collapse.gif)

See merge request !3343
2016-03-22 20:31:15 +00:00
Alfredo Sumaran 444e92f400 Clear original input after crop
This fixes the case when the user selects the same image consecutively. It failed because no 'change' event was fired.
2016-03-22 13:43:32 -05:00
Alfredo Sumaran d5479eb062 Remove unnecessary line 2016-03-22 12:55:42 -05:00
Alfredo Sumaran 10ffbb8559 Add comment explaining why we enable form submit button 2016-03-22 12:54:51 -05:00