Commit Graph

27 Commits

Author SHA1 Message Date
Luke "Jared" Bennett b24cb99856
Updated specs 2017-04-13 12:50:03 +01:00
Luke "Jared" Bennett deb56f21cb
[ci skip] Use favicon full path 2017-04-13 11:09:20 +01:00
Kushal Pandya 28a4e9d8d0 Show CI status as Favicon on Pipelines, Job and MR pages 2017-04-06 10:40:39 +00:00
Filipa Lacerda 76b2fa3eeb Fixes method not replacing URL parameters correctly 2017-04-03 10:40:30 +01:00
Luke "Jared" Bennett c5eb5aa998 group links select2 infinite scroll 2017-03-30 12:14:32 +00:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Regis 55df55367f move param helper to common utils 2017-01-09 10:26:43 -07:00
Fatih Acet 36412ee2c2 Fix review comments. 2017-01-05 00:44:00 +03:00
Fatih Acet 09fc4f557b Review fixes. 2017-01-04 23:37:54 +03:00
Fatih Acet 9ae7e99a09 Use gl.utils.isInViewport and improve gl.utils.animateToElement. 2017-01-04 23:37:54 +03:00
Fatih Acet 0143573dd5 Separate edit form in Changes and Discussions tab.
if we are in the Merge Requests page, this change will clone existing note-edit-form and add a mr-discussion-edit-form class to cloned element so we will have two note-edit-form in place. One for Discussions tab one for Changes tab.

For MR page, we basically need two note-edit-form because you may want to edit your comment in both tabs at the same time and we shouldn't remove or discard note-edit-form in other tab.
2017-01-04 23:37:54 +03:00
Fatih Acet 2193ccec3d Fix warning styling for responsive design. 2017-01-04 23:37:54 +03:00
Fatih Acet 1100320b0c Refactor discussion edit widget to have only one at a time. 2017-01-04 23:37:54 +03:00
Kushal Pandya 6fe5bb40b6 Add `isInViewport` 2016-12-21 13:16:17 +05:30
Steffen Rauh 0966c6d2c6 Fix compatibility with Internet Explorer 11 for merge requests 2016-12-03 22:40:18 +01:00
winniehell f90b6200e4 Clean up common_utils.js (!7318) 2016-12-01 23:16:09 +01:00
Mike Greiling 131a04d796 remove underscore from user-content id namespace 2016-11-30 15:28:11 -06:00
Mike Greiling ff2026f40e add transparent namespace to all user-generated anchors in GitLab flavored markdown 2016-11-30 15:28:10 -06:00
Mike Greiling ffd2823261 remove duplicate functionality (bad merge conflict resolution?) 2016-11-30 15:28:10 -06:00
Nur Rony 58f78d0571 makes system notes less intrusive to a conversation
adds dicussion icon and color change in system note links

adds discussion icons and sticky note icon for other system notes for now

fixes scss lint error

adds faded commit lists

hides first paragraph in commit list box

css tweak for commit list system notes

adds commit-list toggle functionality, css tweaks and css classnames more readable

small css fix in header. makes links bold in system note

renames class no-shade to hide-shade

adds entry for this merge request in changelog

removes commented line

removes the avatar-icon from discussion header

minor css tweaks to make the commit list alignment with header text

uses monospaced font to make the commit list lined up with all

removes icon from system note and align bullet list

resolves scss lint warings

adds helper function to extract system note message from first p tag

adds helper functions to check commit list count and haml cleanup

adds changelog entry under 8.14

adds changelog entry with changelog cli

removes helper and regex and makes commit list li count using JS

makes link in system note normal

brakeman build failure resolved

fixing rspec test based on new design for discussion

shows system note in lowercase

removes extra spaces from comments

adds code commenting for functions

adds semi-colon in some lines

fixes rspec given when merge build success

removes commented codes

rewrite changelog yml file

moves isMetaKey to common utils file

fixes some indentation issues

removes unnecessary variables and resolves some discussions

replaces jQuery parent function with siblings

fixes scss issues and variable spelling mistake

uses constant rather using hardcoded number for visible li count in long commit list

makes system note header all lowercase

uses color variables and adjust gradient a little

some minor changes for adding css classes

renames functions name for readability

changes changelog title

minor scss newline changes

makes system note less intrusive to a conversation
2016-11-17 14:41:08 +06:00
Luke "Jared" Bennett 7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
Clement Ho fa1ac47ef1 Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06: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
Linus G Thiel 1ff140ea38 Close any open tooltips before page:fetch 2016-10-20 21:01:37 +02:00
Paco Guzman ca3c0c6cd9 MergeRequest new form load diff asynchronously 2016-10-06 11:19:14 +02:00
Fatih Acet aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00