Commit Graph

20 Commits

Author SHA1 Message Date
Sam Rose 1e0c6439ff Disable reference prefixes in notes for Snippets 2017-05-18 08:10:59 +00:00
Eric Eastwood b8b6de4c75 Make `gfm_auto_complete` into a module and fix up tech debt 2017-05-16 18:42:06 +00:00
Eric Eastwood cf34b07e80 Add real-time note edits 🐿️ 2017-05-03 17:41:16 +00:00
Luke "Jared" Bennett 2a18425e97
phil review changes 2017-04-06 13:04:57 +01:00
Luke "Jared" Bennett 9c4a06a8f9
Fix close buttob bug when toggling dropdown 2017-04-05 20:50:41 +01:00
Luke "Jared" Bennett 0085592670
Move CommentTypeToggle use from gl_form to notes 2017-04-05 18:46:53 +01:00
Luke "Jared" Bennett 5e3fa02553
Added resolvable discussion frontend 2017-04-05 18:34:13 +01:00
Mike Greiling 8796d17a26 remove IIFEs in preparation for ES module refactor 2017-03-13 14:41:32 -05:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Luke "Jared" Bennett fed94dceaf
remove ba-resize
refactor js-autosize code now that ba-resize is gone

Added specs
2017-01-20 20:42:49 +00:00
Mike Greiling ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Fatih Acet 09fc4f557b Review fixes. 2017-01-04 23:37:54 +03:00
Luke Bennett 1356e40f22
Changed autocomplete_sources into an action that returns a single 'at' type of sources at a time
Finished up autocomplete_sources action and added frontend to fetch data only when its needed

Added wait_for_ajax to specs

Fixed builds and improved the setup/destroy lifecycle

Changed global namespace and DRYed up loading logic

Added safety for accidentally loading data twice

Removed destroy as its not necessary and is messing with click events from a blur race condition

Created AutocompleteSourcesController and updated routes

Fixed @undefined from tabbing before load ends

Disable tabSelectsMatch until we have loaded data

Review changes
2016-12-15 15:20:33 +00:00
Mike Greiling 8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
José Iván b1b51b774b Cleaned up global namespace JS
Moved most of the functions that contained "window.doSomething" that were located at:
- app/assets/javascripts/application.js
To the following file:
- app/assets/javascripts/lib/utils/common_utils.js

The functions listed here:
- window.ajaxGet
- window.split
- window.extractLast
- window.rstrip
- window.disableButtonIfEmptyField
- window.disableButtonIfAnyEmptyField
- window.sanitize
- window.unbindEvents
- window.shiftWindow

Now will be accessible from the "gl.utils" namespace
2016-11-03 23:00:21 -05:00
winniehell 02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Jared Deckard 7f6474b269 Restore comments lost when converting CoffeeScript to JavaScript 2016-09-08 12:23:12 -05:00
Douwe Maan 3f2f4bda45 Remove delay when hitting Reply... button on page with a lot of discussions 2016-08-01 16:55:24 -07:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00