Jacob Schatz
2e8fe0bdb2
Add JS style changes.
...
Thanks @rspeicher
2016-02-05 11:31:13 -05:00
Jacob Schatz
80812a5d46
Edited time ago location change.
...
Change edited icon to word.
Change edited text color to gray
cc/ @creamzy
2016-02-05 11:31:13 -05:00
Dmitriy Zaporozhets
34edb3abe7
Merge branch 'feature/jschatz1/issuable-sidebar' into 'master'
...
Implement new design for issue and merge request right sidebar
Fixes #3981
See merge request !2645
2016-02-04 18:01:29 +00:00
Jacob Schatz
f25ba6e03c
Resize sidebar on initial page refresh.
2016-02-04 08:50:25 -05:00
Jacob Schatz
e0efdc4bf7
Make size changes based on screen resize.
2016-02-03 20:35:26 -05:00
Jacob Schatz
599e554ad4
Sidebar works after sidebar ajax calls.
2016-02-02 19:42:19 -05:00
Jacob Schatz
9c2bd8b70e
Sidebar collapse and expand work with whole page.
2016-01-28 18:26:47 -05:00
Jacob Schatz
f64e35069e
Add js to expand and contract side menu
2016-01-27 23:47:37 -05:00
Robert Speicher
05697adb42
Limit jquery-ui requires to what we actually use
...
This commit is a smoke test to run CI and see if we get back any JS
errors.
2016-01-25 18:42:45 -08:00
Jacob Schatz
d3f24a2221
Adds base64 background search icon.
...
All inputs of type `search` will have the gray background
and search icon centered.
Because the search magnifier is a bg image,
I had to hide it with `[value=""]`.
I added a little javascript to make sure each input always has it's
own value.
2016-01-24 20:20:03 -05:00
Douglas Barbosa Alexandre
e9fb875588
Don't vendor minified fuzzaldrin-plus
...
This version was compiled to use in the browser through Browserify.
More info or how to compile a new version:
https://gitlab.com/dbalexandre/fuzzaldrin-plus-browserify
2016-01-20 01:25:22 -02:00
Douglas Barbosa Alexandre
e202564a3a
Don't vendor minified jQuery.nicescroll
2016-01-20 01:25:22 -02:00
Douglas Barbosa Alexandre
f3c33b3303
Don't vendor minified g.bar.js
2016-01-20 01:25:22 -02:00
Douglas Barbosa Alexandre
37d3728dc5
Don't vendor minified g.raphael.js
2016-01-20 01:25:22 -02:00
Robert Speicher and Douglas Barbosa Alexandre
2922dfce79
Don't vendor minified Chart.js
...
The filename is titlecased because that's how it came from the vendor,
and we're not touching it.
2016-01-20 01:25:22 -02:00
Jacob Vosmaer
41b8a238ce
Merge branch 'master' of github.com:gitlabhq/gitlabhq
2016-01-07 12:56:18 +01:00
Robert Speicher
ad42441d2d
Remove jquery.blockUI.js plugin
...
It was only used to block the issue (but not merge request) list when
the sort was changed.
2016-01-04 13:12:29 -05:00
Jacob Schatz
770517d3e7
Revert "Merge branch 'rs-remove-jquery-blockui' into 'master'
"
...
This reverts commit bc12750fcc , reversing
changes made to 8a04b84e09 .
2016-01-04 09:42:10 -05:00
Dmitriy Zaporozhets
bc12750fcc
Merge branch 'rs-remove-jquery-blockui' into 'master'
...
Remove jquery.blockUI.js plugin
It was required but no longer used.
See merge request !2273
2016-01-04 10:25:15 +00:00
Dmitriy Zaporozhets
8a04b84e09
Merge branch 'rs-remove-jquery-history-js' into 'master'
...
Remove jquery.history.js plugin
We're not concerning ourselves with non-HTML5 browser compatibility, and
this removes 21 KB from our compiled JavaScript.
Bonus fix: There was an extra space after the query string in the URLs
that has now been removed.
See merge request !2272
2016-01-04 10:24:12 +00:00
Robert Speicher
4caf0433b7
Reorder JS requires
...
The old way broke d3, for some reason.
2016-01-01 22:10:48 -05:00
Robert Speicher
3c4d24b71e
Remove jquery.blockUI.js plugin
...
It was required but never used.
2016-01-01 17:52:40 -05:00
Robert Speicher
f3ea2f29a5
Remove jquery.history.js plugin
...
We're not concerning ourselves with non-HTML5 browser compatibility, and
this removes 21 KB from our compiled JavaScript.
Bonus fix: There was an extra space after the query string in the URLs
that has now been removed.
2016-01-01 17:44:21 -05:00
Robert Speicher
5ad192ced2
Fix paths for jquery-ui assets
2015-12-22 17:14:01 -05:00
Douwe Maan
05224ae64a
Restore sidebar tooltips and fix logo tooltip location
2015-12-02 14:05:10 +01:00
Han Loong Liauw
95411f7151
fixed positioning of hamburger menu on header
...
- Changed to margin for vertical allign as used in bootstrap 3 original
- Also added an `active` state to show when the extra items are enabled
2015-10-09 14:05:55 +11:00
Stan Hu
1fdf56c95d
Prevent anchors from being hidden by header upon a new page load.
...
Browsers change the scroll position after the page is loaded, and the current 1 ms
delay wasn't long enough for the browser to jump to the anchor. Even then, it appears
another 100ms delay is necessary to adjust the scroll properly:
http://stackoverflow.com/questions/19057731/scrolltop-on-page-reload-doesnt-work-possible-script-conflict
Add a little more of an offset to see a few lines before the anchor.
Closes #1614
Closes #1024
2015-08-29 02:05:37 -07:00
Dmitriy Zaporozhets
e02b7bf443
Improve abuse reports management
...
* Link to user profile instead of user admin page
* One button for remove user and report
* Remove user and report with page reloading
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-08-25 10:52:10 +02:00
Robert Speicher
cad0e848b0
Fix and style the "Changes suppressed" link.
2015-07-23 16:07:45 -04:00
Dmitriy Zaporozhets
98cb6256fa
Add nice scroll for sidebar
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-07-14 12:29:57 +02:00
Dmitriy Zaporozhets
919e702c86
Revert "Diff headers made sticky"
...
This reverts commit af44c65030 .
2015-07-06 11:30:30 +02:00
Robert Speicher
2efb0b6e93
Remove duplicate timeago call
2015-06-17 16:37:10 -04:00
Robert Speicher
29626b0885
Remove unused showAndHide, simpleFormat, and linkify functions
...
Also removes redundant `unbind` call
2015-06-02 20:32:07 -04:00
Robert Speicher
4560954404
Move jQuery enable/disable extensions to extensions/jquery
...
Removes redundant enableButton/disableButton extensions, and adds specs
for the jQuery extensions.
2015-06-02 20:32:07 -04:00
Dmitriy Zaporozhets
01f6ae2351
improve navbar collapse for mobile views
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-01 17:55:20 +02:00
Stan Hu
310e08dc2c
Fix clone URL losing selection after a single click in Safari and Chrome
...
Closes #9326
2015-05-24 20:19:26 -04:00
Robert Speicher
bd85e8ea5a
Fix default tooltip placement
2015-05-17 18:13:27 -04:00
Robert Speicher
1e1785cc16
Place the logo's tooltip dynamically
...
When collapsed it's on the right like everything else, when expanded
it's on the bottom.
2015-04-25 16:03:18 -04:00
Robert Speicher
d30ceda7de
Add collapsed navbar links to the default tooltip selector
2015-04-25 16:00:30 -04:00
Robert Speicher
e8faf9178a
Remove the has_bottom_tooltip class
...
Bootstrap's tooltip JS can read the placement from a `data-placement`
attribute.
Further, when we supply the `selector` option to `tooltip`, tooltips
will be added to any dynamically-added elements matching the selector,
without us having to re-call the `tooltip` method.
2015-04-25 14:03:40 -04:00
Dmitriy Zaporozhets
a22f3139f3
Merge branch 'rs-reply-hotkey' into 'master'
...
"Reply quoting selected text" shortcut/hotkey
Adds the <kbd>r</kbd> hotkey for quoting selected text on Issuable forms.
This MR also updates the jasmine gem and adds jasmine-rails to let us use the asset pipeline (and Coffeescript) in JS specs.
See merge request !1775
2015-04-22 19:57:40 +00:00
Stan Hu
6fb1e80a26
Fix "Cannot move project" error message from popping up after a successful project transfer
...
Multiple event handlers were firing, causing multiple form submissions.
Closes #1448 and #1128
2015-04-20 12:46:02 -07:00
Robert Speicher
4d1878253e
Typo: Issueable -> Issuable
2015-04-18 15:20:15 -04:00
Dmitry Medvinsky
92544df8da
Fix auto-selection of URL field with X11 selection
...
We use `focusin` event instead of `click` because when using the latter,
when the selection is created it isn't put into X11 PRIMARY selection.
And as a Linux user I'm very used to such behaviour that when something
gets selected, it's ready for pasting, which is the primary purpose of
the clone URL field.
When `focusin` is used, the selection is copied to X11 buffer
automatically, so it works as expected (tested in Firefox and Chrome).
2015-04-17 10:16:18 +03:00
Dmitriy Zaporozhets
e0f8e022f7
Improve comment toggle button in diff
2015-03-18 17:53:43 -07:00
Dmitriy Zaporozhets
93447c4b14
Merge pull request #8760 from yglukhov/diff-sticky-headers
...
Diff headers made sticky
2015-02-23 23:50:07 -08:00
Dmitriy Zaporozhets
87b04868a1
Create Aside js class for handling all sidebars in UI for mobile devices
2015-02-21 22:01:27 -08:00
yglukhov
af44c65030
Diff headers made sticky
2015-02-09 15:34:06 +02:00
Douwe Maan
463d9f76e4
Autosave and autorestore unsaved comments.
...
Closes #1738 .
2015-02-07 20:55:17 +01:00
Hannes Rosenögger
792ced2f41
Add a commit calendar to the user profile
2015-01-29 01:25:26 +01:00