Commit Graph
1268 Commits
Author SHA1 Message Date
Phil Hughes b9168b0759 Affix the build scroll controls
Closes #4709
2016-03-07 09:44:55 +00:00
Dmitriy Zaporozhets 14df110b78 Merge branch 'issue-sidebar-mobile' into 'master'
Issue sidebar mobile

Fixes #13592 
Fixes #14037 

See merge request !3050
2016-03-05 11:48:21 +00:00
Jacob Schatz 9cae8dbbfb Uses the correct variable names for this situation. 2016-03-04 14:40:52 -05:00
Jacob Schatz 9afab2963c Only save right sidebar position cookie if user did the collapsing. 2016-03-04 14:31:33 -05:00
Jacob Schatz cabd228f70 Fix bugs with open and close buttons 2016-03-04 09:06:57 -05:00
Jacob Schatz 61ce134fa9 Small outside aside shrink sidebar button for mobile only. 2016-03-04 09:06:57 -05:00
Jacob Schatz cabb61719d Open sidebar button on mobile. 2016-03-04 09:06:57 -05:00
Phil Hughes 692773c5a0 ctrl+enter on mac correctly submits forms
Closes #4177
2016-03-04 10:11:15 +00:00
Jacob Schatz f8c4dc9723 Merge branch 'issue_13300' into 'master'
Increase the notes polling timeout over time

Originally by @roperzh at https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2821

Fixes #13300 

See merge request !3071
2016-03-04 02:15:34 +00:00
Robert Speicher 9db57bc65a Move SSH key JS to Profile CS class 2016-03-03 16:13:56 -05:00
Alfredo Sumaran 74d41f8950 Use camelCase for variable names 2016-03-03 15:20:02 -05:00
Alfredo Sumaran d9a1b6629d Set @max_polling_steps to 4 so the last interval will be 120 seconds 2016-03-03 15:20:01 -05:00
Alfredo Sumaran 948ebfeb01 Provide @max_polling_steps instead of @limit_polling_interval 2016-03-03 15:20:01 -05:00
Alfredo Sumaran 5bd22b28fa Prevent multiple refreshes if a refresh is happening 2016-03-03 15:20:01 -05:00
Roberto DipandAlfredo Sumaran 3fbdca214c Increase the notes polling timeout over time
A file called notes is loaded every ~15 seconds which checks for
updates to content on the page. This commit increases the polling
timeout over time (15, 30, 60, 120 seconds) and resets
it to 15 seconds if the AJAX call returns new notes

Fixes issue #13300
2016-03-03 15:20:00 -05:00
Phil HughesandJacob Schatz 741cf430f7 Correcly updates the status of the comment buttons on reload
Closes #5534
2016-03-03 12:39:50 -05:00
Dmitriy Zaporozhets 7455d950bc Refactor projects list
1. Fix double bottom border if pagination
2. Fix broken search on forks page
4. Remove duplicate js logic
4. Remove unused show all link
5. Remove duplicate “no project” message in different views

After this merge request you can easily render shared projects template
with all necessary html/js included to make searchable list with
pagination. All you need to provide is controller that returns
projects list with seach nad pagination and render html form with
project-filter-form id and text field with filter_projects name.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-03 13:09:58 +01:00
Jacob Schatz 1fa7671f44 Merge branch 'improve-user-tabs' into 'master'
Add routes and actions for dynamic tab loading. Closes #13588 and #13584



See merge request !2961
2016-03-03 00:13:19 +00:00
Alfredo Sumaran d4981e9b4a Re-use previous line 2016-03-02 19:00:12 -05:00
Robert Speicher 97c909bd01 Contextually teach the user about the quick submit hotkey
When a user tabs to the submit button (i.e., the "wrong" way), we
display a tooltip with the quick submit hotkey so they can learn the
"right" way.
2016-03-02 15:11:44 -05:00
Robert Speicher 76ed2afcfc Change js-quick-submit behavior to expect the class on the form
Now it will work on any field inside that form, and it's easier to scope
new behavior, which is what we're adding next!
2016-03-02 15:11:15 -05:00
Alfredo Sumaran c3d3e34e81 Remove unnecesary assignment 2016-03-02 14:53:46 -05:00
Alfredo Sumaran bb1eb4b5de Set actions dinamically and offer defaultAction as a optional parameter 2016-03-02 14:37:09 -05:00
Alfredo Sumaran 3c9e860f5e Provide defaults and make sure we everything is container into a parent element 2016-03-02 14:08:03 -05:00
Alfredo Sumaran 85e672b150 Turn off existing event listeners 2016-03-02 12:30:01 -05:00
Alfredo Sumaran 7ff635d946 Remove trailing slashes 2016-03-02 12:26:02 -05:00
Alfredo Sumaran 2b9e5c9996 Group similar conditionals 2016-03-02 10:40:07 -05:00
Phil Hughes 834eea0856 Profile settings
Closes #13853
2016-03-02 11:41:52 +00:00
Artem Sidorenko 8be19db9d4 Fix help keyboard shortcut for relative URL setups 2016-03-01 20:30:14 +01:00
Alfredo Sumaran 9f1c3bb765 Merge branch 'master' into improve-user-tabs 2016-03-01 13:37:03 -05:00
Alfredo Sumaran 69a76baed9 Add inline documentation 2016-03-01 13:21:25 -05:00
Alfredo Sumaran 3b489ad1d7 Rename attribute from url to href for consistency 2016-03-01 12:45:20 -05:00
Alfredo Sumaran 9062f14617 Remove unneded method call
@activateTab will call @setTab via .tab('show') this will trigger the method binded to this event which is @tabShown
2016-03-01 12:39:57 -05:00
Alfredo Sumaran f0b8779047 Make url and actions to be the same name 2016-03-01 11:43:22 -05:00
Alfredo Sumaran 48ae8ef165 Activate tab according URL 2016-03-01 11:20:52 -05:00
Alfredo Sumaran 8c90b6ecca Pass options to UserTabs 2016-03-01 11:19:26 -05:00
Alfredo Sumaran ef9b78c1e3 Initialize User class on the view 2016-03-01 11:19:05 -05:00
Alfredo Sumaran eed8b179b6 Handle default tab 2016-02-29 19:12:06 -05:00
Alfredo Sumaran 4c4d742431 Activities will load when the according tab is opened 2016-02-29 19:09:16 -05:00
Alfredo Sumaran 2888cc93bd Select just the first matched element
This a generic selector. It was also affecting spinner icon of the tabs
2016-02-29 19:08:11 -05:00
Alfredo Sumaran 97400ef852 Handle user tabs 2016-02-29 16:39:20 -05:00
Alfredo Sumaran d941aee400 Create user_tabs.js.coffee 2016-02-29 16:39:09 -05:00
Alfredo Sumaran 99d75a2770 Delete unnecesary script 2016-02-29 16:36:05 -05:00
Alfredo Sumaran 4f529a8806 Merge branch 'master' into issue_13212 2016-02-29 12:04:45 -05:00
Alfredo Sumaran 9f2eb025d3 Apply nice date when diff page loads 2016-02-29 10:50:35 -05:00
Josh Frye cc9f93f9d2 Add routes and actions for dynamic tab loading 2016-02-29 08:24:07 -05:00
Phil Hughes cb0e26d1f7 Removed NGProgress
In an effort to get the JS file size down, i've removed NGProgress and replaced with TurboLinks own loading indicator

Ref #13820
2016-02-29 09:47:22 +00:00
Alfredo Sumaran 08ec838ed5 Merge branch 'master' into avatar-cropping 2016-02-26 09:32:07 -05:00
Marin Jankovski b2c641de21 Fix syntax error in autosave coffeescript. 2016-02-26 13:22:35 +01:00
Jacob Schatz 856153d712 Merge branch 'feature/jschatz1/sidebar-sizing' into 'master'
Sidebar overlaps content when screen is below 1200px.

When screen is below 1200px, the sidebar overlaps.
When screen is above 1200px, the sidebar pushes content out.
z-index change to make sure hamburger stays on top.
Fixes #12717 
![screensize](/uploads/9a21fa06d583a49d6ebbf1ada34c6792/screensize.gif)

![screensize-small](/uploads/7c25f46e962248a40840562a01c83f8f/screensize-small.gif)

Also sorry I couldn't get the collapse button in the screen cap. It's there. 


See merge request !2620
2016-02-24 23:09:29 +00:00