Commit Graph

29 Commits

Author SHA1 Message Date
Justine Arreche
d324319a96 changes made to profile page including increased type size for readability, color styling and gravatar border radius increase 2014-01-03 19:10:58 -05:00
Piotr Sarnacki
b40d0acf9c Return empty array from userRepos when there is no user 2013-08-05 03:28:43 +02:00
Piotr Sarnacki
218a078164 Fix messages on empty repos list 2013-08-05 02:35:28 +02:00
Piotr Sarnacki
d9d833d1b4 No need to prefetch repos in recentRepos
Repo#withLastBuilds already does a fetch, so this is redundant
2013-08-03 15:11:23 +02:00
Piotr Sarnacki
53951c3691 Don't reload user repositories each time my repos tab is clicked 2013-07-31 16:18:37 +02:00
Piotr Sarnacki
3a4d52f52b Change URL when clicking on repos tabs 2013-06-12 19:55:34 +02:00
Piotr Sarnacki
75784da25e Render information about no repos into main template 2013-06-12 15:27:15 +02:00
Piotr Sarnacki
704bd9434e Redirect to getting started page if user has no repositories 2013-06-11 17:22:52 +02:00
Piotr Sarnacki
8004766cfe Don't set sortProperties to null
Sorting could be triggered on controller and then when tab would be
switched, nullified sortProperties can result in an error.
2013-05-29 13:51:21 +03:00
Piotr Sarnacki
05859a5a3c Use visibility.js to run timer updates
Visibility.js provides a thin wrapper over page visibility API, which
allows to detect if page is currently visible by user. This allows us to
stop live updates when it's not needed. This is especially easy in case
of timers, because Visibility.js provides setInterval replacement, which
runs given code only when page is visible.

A lot of ❤️ for @tchack, who showed me visibility.js!
2013-05-29 13:42:51 +03:00
Piotr Sarnacki
4288e79044 Change Ember.run.later to setTimeout in periodic actions
It seems that running Ember.run.later periodically can cause CPU usage
to increase over time. Such increase adds up to already increasing CPU
usage because of data amount growing.

This commit tries to mitigate the issue by using setTimeout instead
2013-05-29 11:17:58 +03:00
Piotr Sarnacki
eb065a0eee Sort owned repositories 2013-05-16 02:10:10 +02:00
Piotr Sarnacki
df9db80c42 A few improvements for tabs on repos list
* if user is logged out, the default tab should be 'recent'
* when user logs in, the tab is switched to 'my repositories'
* when user logs out, my repositories is hidden again and tab is
  switched to 'recent'
2013-04-30 02:45:16 +02:00
Fiona Tay
5cf2c65d2f make 'My Repos' come before 'Recent' in sidebar 2013-04-17 20:12:33 -07:00
Piotr Sarnacki
46643e8315 Run Travis.Repo.find() before using recent repos
Becuase we use filter() now to get just the repos with the last build
into the sidebar, it will not fetch the request automatically.
2013-03-14 18:01:13 +01:00
Piotr Sarnacki
63559f4c4c Show appropriate message when the repository has no builds 2013-03-11 20:11:43 +01:00
Piotr Sarnacki
712389efdb Fix more specs 2013-03-04 03:46:04 +01:00
Piotr Sarnacki
0f89da6dea Fix selected class on repos list 2013-02-28 15:54:47 +01:00
Piotr Sarnacki
cfbec29978 Fix some of the places still using Travis.app 2013-02-21 23:22:54 +01:00
Piotr Sarnacki
50a69cccad Don't do request to get repos every time home page is reloaded 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
f0e95ddd3f Main view mostly works on new router 2013-02-21 23:22:51 +01:00
Piotr Sarnacki
b4ea261ee3 Delegate isLoaded in ArrayProxy on repos list 2013-01-22 01:58:20 +01:00
Piotr Sarnacki
23a58866bd Fix LimitedArray to work properly with SortableMixin 2012-12-14 04:31:28 +01:00
Sven Fuchs
216724af64 changes for pro 2012-11-15 16:31:54 +01:00
Sven Fuchs
d94b001e81 restore isLoaded for repos controller 2012-11-10 04:21:49 +01:00
Piotr Sarnacki
a3826fbeb3 Show all repos accessible by current user in 'My repositories' 2012-10-12 14:42:04 +02:00
Piotr Sarnacki
a15836c50a Buffer search phrase to fire only after 500ms of last key press 2012-10-10 19:20:43 +02:00
Piotr Sarnacki
7fc77e66ea Limit repos list to 30 items 2012-10-09 18:23:11 +02:00
Sven Fuchs
6e4413d5a2 finally rename repository to repo 2012-10-06 20:08:46 +02:00