Commit Graph
1458 Commits
Author SHA1 Message Date
Alfredo Sumaran d5b4b4e030 Hide suggestions when deleting all input value using other than backspace 2016-03-27 13:53:22 -05:00
Alfredo Sumaran 07a0278d63 Do not show dropdown menu if when no suggestions returned 2016-03-27 13:28:45 -05:00
Alfredo Sumaran d681623c71 Add option to submit the typed query 2016-03-27 13:27:49 -05:00
Alfredo Sumaran b169046e57 Initialize autocomplete only when search form is present 2016-03-26 17:56:51 -05:00
Alfredo Sumaran 55afebe141 Always display suggestions 2016-03-26 16:52:16 -05:00
Alfredo Sumaran 9d51f86694 Makes autocomplete dropdown look the same as others 2016-03-25 01:55:46 -05:00
Alfredo Sumaran 8e53cf94e6 Use separators between categories 2016-03-24 17:13:37 -05:00
Alfredo Sumaran 69166b226f Add separator as a line divider 2016-03-24 17:13:09 -05:00
Alfredo Sumaran 5447d8b36c Add separator at the end of categories 2016-03-24 13:32:05 -05:00
Alfredo Sumaran 8b68142a79 Prevent creating autocomplete dropdown is user is not logged in 2016-03-24 13:31:19 -05:00
Alfredo Sumaran 91cb078648 Increase time because of Safari 2016-03-24 12:55:32 -05:00
Alfredo Sumaran 187f1c41aa Add param to skip enterCallback 2016-03-23 22:07:07 -05:00
Alfredo Sumaran d7350dea6a Make sure we are looking inside dropdpown wrapper 2016-03-23 19:45:00 -05:00
Alfredo Sumaran 98e2273030 Fix input reference 2016-03-23 19:44:24 -05:00
Alfredo Sumaran 8f2587c2ee Pass proper input element 2016-03-23 19:43:57 -05:00
Alfredo Sumaran 0dff7b4444 Merge branch 'master' into issue_3400_port
# Conflicts:
#	app/assets/javascripts/gl_dropdown.js.coffee
2016-03-23 18:49:49 -05:00
Alfredo Sumaran 62b260cce2 Change key name to match input Id
Fixes input not being restored with its original value
2016-03-23 17:58:18 -05:00
Alfredo Sumaran 8c1d50e69c Fixes removing the location badge with backspace on the last character 2016-03-23 17:30:11 -05: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
Alfredo Sumaran abe56ad6f5 Prevents unwanted menu toggling 2016-03-23 16:36:44 -05:00
Alfredo Sumaran 30eeb453bd Remove unused instance variable 2016-03-23 16:13:46 -05: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
Alfredo Sumaran c37735841b Restore menu content when emptying the search input 2016-03-23 14:24:46 -05:00
Alfredo Sumaran 44817726fe Fixes empty menu when typing on search input for the very first time 2016-03-23 14:12:33 -05: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
Alfredo Sumaran 3ade8de55a Explain regular expression 2016-03-22 12:37:54 -05:00
Alfredo Sumaran f2ad7aabf9 Use _this instead of self 2016-03-22 11:45:37 -05:00
Alfredo Sumaran 0a14de843c Rename method for better understanding 2016-03-22 11:45:23 -05:00
Alfredo Sumaran a42b2c388d Merge branch 'master' into issue_7959 2016-03-22 11:13:27 -05:00
Phil Hughes 07da865113 Shows error messages when trying to create label in dropdown menu
Closes #14495
2016-03-22 14:56:00 +00:00
Phil Hughes 21f5524926 Auto collapses the navigation when resizing
Closes #14475
2016-03-22 14:08:27 +00:00
Alfredo Sumaran 521c0f5f08 Reduce the use of loops 2016-03-21 23:01:19 -05:00
Alfredo Sumaran a477d604f6 Add ability to clear location badge 2016-03-21 16:00:53 -05:00
Jacob Schatz 0305dd98b3 Merge branch 'change_css_class_has_tooltip_to_has-tooltip' into 'master'
change the css class has_tooltip to has-tooltip universally

closes #14432 

See merge request !3321
2016-03-21 20:40:14 +00:00
Alfredo Sumaran eff98ffe05 TAB is not used 2016-03-21 14:23:29 -05:00
Alfredo Sumaran 3a8c4ebb43 Loop through form inputs 2016-03-21 14:01:20 -05:00
Alfredo Sumaran 6e9ff2e574 Delete .remove-badge from badge 2016-03-21 13:18:34 -05:00
Alfredo Sumaran 80174538a8 Use .empty() 2016-03-21 12:31:21 -05:00