Tour fixes/improvements:

- Use a placeholder for the container id and repo name
- Add a skip button for docker login
- Add better messaging around permissions
This commit is contained in:
Joseph Schorr 2014-02-07 12:47:53 -05:00
parent dc230a1004
commit 798b6fd1bc
7 changed files with 18 additions and 11 deletions

View file

@ -52,8 +52,6 @@ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) {
$scope.tour = {
'title': 'Quay.io Tutorial',
'initialScope': {
'repoName': 'myfirstrepo',
'containerId': 'containerId'
},
'steps': [
{
@ -76,7 +74,8 @@ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) {
function(message) {
return message['data']['action'] == 'login';
}),
'waitMessage': "Waiting for docker login"
'waitMessage': "Waiting for docker login",
'skipTitle': "I'm already logged in"
},
{
'title': 'Step 2: Create a new container',
@ -162,13 +161,13 @@ function TutorialCtrl($scope, AngularTour, AngularTourSignals, UserService) {
},
{
'title': 'Permissions',
'content': "The permissions tab displays all the users, robot accounts and tokens that have access to the repository",
'templateUrl': '/static/tutorial/permissions.html',
'overlayable': true,
'element': '#permissions'
},
{
'title': 'Adding a permission',
'content': 'To add a permission, enter a username or robot account name into the autocomplete ' +
'content': 'To add an <b>additional</b> permission, enter a username or robot account name into the autocomplete ' +
'or hit the dropdown arrow to manage robot accounts',
'overlayable': true,
'element': '#add-entity-permission'