Commit Graph
1253 Commits
Author SHA1 Message Date
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
Alfredo Sumaran ccabbaa9b3 Wait until listeners are set before triggering a 'click' event 2016-02-24 15:53:39 -05:00
Alfredo Sumaran 4d23af7507 Move script inside of MergeRequestTabs class 2016-02-24 15:39:56 -05:00
Alfredo Sumaran a4e522a889 Merge branch 'master' into minimize-on-diff 2016-02-24 14:06:55 -05:00
Alfredo Sumaran 0104ab79b3 Merge branch 'master' into avatar-cropping 2016-02-24 10:42:51 -05:00
Jacob Schatz 89fc80beb5 Merge branch 'activity-tabs-single-select' into 'master'
Treats activity tabs as single select

Fixes #8092

![activity-tabs](/uploads/1fb4d9233492252cfd93c74579e97514/activity-tabs.gif)

See merge request !2940
2016-02-24 11:49:47 +00:00
Rémy Coutable d74cfe7db3 Merge branch 'bugfix/jschatz1/missing-project-button' into 'master'
Fix group projects styles

Makes new project button visible when no projects are available.
Fixes #13193 

# BEFORE
![Screen_Shot_2016-02-04_at_1.08.27_PM](/uploads/36be9d5892506e7d1abcf4eb2a622e12/Screen_Shot_2016-02-04_at_1.08.27_PM.png)

# AFTER (w/projects)
![Screen_Shot_2016-02-04_at_1.07.48_PM](/uploads/fa257a1965017ff1274572dc66fccf90/Screen_Shot_2016-02-04_at_1.07.48_PM.png)

# AFTER (no projects)
![Screen_Shot_2016-02-04_at_1.07.28_PM](/uploads/326f6fdac24b56e8408efd0d11dc2805/Screen_Shot_2016-02-04_at_1.07.28_PM.png)

cc @creamzy @skyruler 

See merge request !2714
2016-02-24 10:58:05 +00:00
Phil Hughes 74d87db977 changed bind to on for activity link click event 2016-02-24 08:28:33 +00:00
Phil Hughes 30b56fb017 Treats activity tabs as single select
Fixes #8092
2016-02-24 08:28:33 +00:00
Robert Speicher dba47f680d Merge branch 'issue_13301_emoji-menu' into 'master'
Load award emoji picker with ajax request

Fixes #13301.

See merge request !2888
2016-02-24 02:50:45 +00:00
Alfredo Sumaran 798c220037 Initialize navigation shortcuts on project's files page 2016-02-23 20:17:16 -05:00
Alfredo Sumaran be0f97a6d4 Initialize navigation shortcuts on project's files page 2016-02-23 20:04:20 -05:00
Alfredo Sumaran af978cd5bc Merge branch 'master' into avatar-cropping 2016-02-23 16:52:43 -05:00
Alfredo Sumaran a3713050f7 Ability to toggle sidebar on smaller screens 2016-02-23 15:28:21 -05:00
Alfredo Sumaran 13047483b3 Update scrollbars after toggle sidebar 2016-02-23 15:12:59 -05:00
Alfredo Sumaran 8129d1675f Add "e" shortcut to edit issuable 2016-02-23 11:28:23 -05:00