Commit Graph

16 Commits

Author SHA1 Message Date
Piotr Sarnacki
f64adfbc89 Use injected 'config' object instead of global Travis.config 2014-12-30 11:19:55 +01:00
Piotr Sarnacki
88ce89d34c [pro-merge] Update views and templates with travis-pro specific code 2014-12-29 18:20:21 +01:00
Piotr Sarnacki
66be22af68 Fix actions on views
Almost all actions on views were not properly handled, because they were still
methods directly on a view object rather than in `actions` property. This commit
fixes it.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
5f2f4c3852 First stab at fixing weird view errors
This commit starts refactoring of one of the remaining areas where we do weird
tricks to get the desired behaviour. Namely, we were treating "my_repositories"
and "recent" not as individual routes with separate URLs, but only different
states on the repos controller. Such approach leads to various problem with
connecting outlets on rerenders (ie. we don't explicitly connect outlets when
changing from one view to another programatically).

A new cleaner way is to change both tabs into routes.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
e6800c80c6 Refactor our layout handling
Layout handling in travis-web was implemented in a dynamic way, so we
could change a main layout from any of the routes. This needed a
`rerender` call which was making things harder and needed some hacks. It
also broke a few transitions when upgrading to 1.8.1.

After examining our usage of layouts I've noticed that we don't need to
change the entire layout dynamically and instead we can set layout on
root routes (like "index", "profile" and other root routes).
2014-12-29 18:16:14 +01:00
Mathias Meyer
3b2e8d69f3 Extend LinkView to allow click tracking.
Allows us to hook in to certain links and see how they're used.
2014-05-08 09:36:31 +02:00
Mathias Meyer
781a99edd8 Add button to add a new repository from sidebar.
It's currently not obvious where to click to add a new repository,
and if anything, we should make it easier for people to set up
new repositories.
2014-05-06 14:46:52 +02:00
Piotr Sarnacki
8801fe7e6c Replace all of the uses of translation helper with plain text
We're removing translations from Travis, the substitution was done using
this script: https://gist.github.com/drogus/8436273
2014-01-15 14:35:01 +01:00
Robert Jackson
cb3d41739b Use bind-attr instead of deprecated bindAttr. 2014-01-07 21:00:26 -05:00
Piotr Sarnacki
d1413516eb Use double qoutes for a route name in action and linkTo 2013-07-09 13:49:59 +02:00
Josh Kalderimis
55a58f275d remove the (i) from the top right of the tabs
the (i) is a miscommunication as it looks like it is to give information about the tabs instead of pop down descriptions underneath each of the repos in the recent and 'my repos' lists.
2013-05-10 19:54:52 +02:00
Fiona Tay
5cf2c65d2f make 'My Repos' come before 'Recent' in sidebar 2013-04-17 20:12:33 -07:00
Piotr Sarnacki
1b01581fb4 Use regular params instead of event in My Repositories list (closes #157) 2013-03-15 10:22:58 +01:00
Piotr Sarnacki
cfbec29978 Fix some of the places still using Travis.app 2013-02-21 23:22:54 +01:00
Kirill Lashuk
3d896d6a57 Fix info icon overlapping tabs. 2012-11-12 12:10:32 +03:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00