Fix order of tour
The tour now shows users how to add a book first, then bookshelves, lists, and finally groups.
This commit is contained in:
parent
06b4a55979
commit
a8940b8e12
8 changed files with 180 additions and 105 deletions
|
@ -7,7 +7,7 @@ const tour = new Shepherd.Tour({
|
|||
|
||||
tour.addSteps([
|
||||
{
|
||||
text: "{% trans 'This is your user profile. All your latest activities will be listed here, as well as links to your reading goal, groups, lists, and shelves. Other Bookwyrm users can see this page too - though exactly what they can see depends on your settings.' %}",
|
||||
text: "{% trans 'This is your user profile. All your latest activities will be listed here, as well as links to your reading goal, groups, lists, and shelves. Other Bookwyrm users can see parts of this page too - what they can see depends on your privacy settings.' %}",
|
||||
title: "{% trans 'User Profile' %}",
|
||||
buttons: [
|
||||
{
|
||||
|
@ -28,7 +28,7 @@ tour.addSteps([
|
|||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'This tab shows everything you have read towards your annual reading goal, or allows you to set one. You do not have to set a reading goal if that\'s not your thing!' %}",
|
||||
text: "{% trans 'This tab shows everything you have read towards your annual reading goal, or allows you to set one. You don\'t have to set a reading goal if that\'s not your thing!' %}",
|
||||
title: "{% trans 'Reading Goal' %}",
|
||||
attachTo: {
|
||||
element: "#reading_goal_tab",
|
||||
|
@ -50,52 +50,6 @@ tour.addSteps([
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'The Books tab shows your books, on various shelves.' %}",
|
||||
title: "{% trans 'Books' %}",
|
||||
attachTo: {
|
||||
element: "#shelves_tab",
|
||||
on: "right",
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
action() {
|
||||
return this.back();
|
||||
},
|
||||
secondary: true,
|
||||
text: "{% trans 'Back' %}",
|
||||
},
|
||||
{
|
||||
action() {
|
||||
return this.next();
|
||||
},
|
||||
text: "{% trans 'Next' %}",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'Here you can see your lists, or create a new one. A list is a collection of books that have something in common.' %}",
|
||||
title: "{% trans 'Lists' %}",
|
||||
attachTo: {
|
||||
element: "#lists_tab",
|
||||
on: "right",
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
action() {
|
||||
return this.back();
|
||||
},
|
||||
secondary: true,
|
||||
text: "{% trans 'Back' %}",
|
||||
},
|
||||
{
|
||||
action() {
|
||||
return this.next();
|
||||
},
|
||||
text: "{% trans 'Next' %}",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'Here you can see your groups, or create a new one. A group brings together Bookwyrm users and allows them to curate lists together.' %}",
|
||||
title: "{% trans 'Groups' %}",
|
||||
|
@ -120,8 +74,58 @@ tour.addSteps([
|
|||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'Now that you have seen the basics of your profile page, we\'re going to explore some of these concepts. Start by clicking on' %}<code>{% trans 'Groups' %}</code>.",
|
||||
title: "{% trans 'Groups' %}",
|
||||
text: "{% trans 'You can see your lists, or create a new one, here. A list is a collection of books that have something in common.' %}",
|
||||
title: "{% trans 'Lists' %}",
|
||||
attachTo: {
|
||||
element: "#lists_tab",
|
||||
on: "right",
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
action() {
|
||||
return this.back();
|
||||
},
|
||||
secondary: true,
|
||||
text: "{% trans 'Back' %}",
|
||||
},
|
||||
{
|
||||
action() {
|
||||
return this.next();
|
||||
},
|
||||
text: "{% trans 'Next' %}",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'The Books tab shows your book shelves. We\'ll explore this next.' %}",
|
||||
title: "{% trans 'Books' %}",
|
||||
attachTo: {
|
||||
element: "#shelves_tab",
|
||||
on: "right",
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
action() {
|
||||
return this.back();
|
||||
},
|
||||
secondary: true,
|
||||
text: "{% trans 'Back' %}",
|
||||
},
|
||||
{
|
||||
action() {
|
||||
return this.next();
|
||||
},
|
||||
text: "{% trans 'Next' %}",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "{% trans 'Now you understand the basics of your profile page, let\s add a book to your shelves. Search for a title or author here to continue the tour.' %}",
|
||||
title: "{% trans 'Find a book' %}",
|
||||
attachTo: {
|
||||
element: "#search_input",
|
||||
on: "right",
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
action() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue