mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-18 05:06:01 +00:00
add barcode reader to home feed tour
This commit is contained in:
parent
c614aeb28e
commit
e768cf49a3
1 changed files with 35 additions and 0 deletions
|
@ -27,6 +27,29 @@ homeTour.addSteps([
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: "Search book records by scanning an ISBN barcode using your camera.",
|
||||||
|
title: "Barcode reader",
|
||||||
|
attachTo: {
|
||||||
|
element: ".icon-barcode",
|
||||||
|
on: "bottom",
|
||||||
|
},
|
||||||
|
buttons: [
|
||||||
|
{
|
||||||
|
action() {
|
||||||
|
return this.back();
|
||||||
|
},
|
||||||
|
secondary: true,
|
||||||
|
text: "Back",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
action() {
|
||||||
|
return this.next();
|
||||||
|
},
|
||||||
|
text: "Next",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: "The latest books to be added to your reading shelves will be shown here.",
|
text: "The latest books to be added to your reading shelves will be shown here.",
|
||||||
title: "Your Books",
|
title: "Your Books",
|
||||||
|
@ -98,6 +121,18 @@ homeTour.addSteps([
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// TODO: User Profile
|
||||||
|
// TODO: Groups
|
||||||
|
// TODO: creating groups and adding users
|
||||||
|
// TODO: visibility
|
||||||
|
// TODO: Lists
|
||||||
|
// TODO: creating lists and adding books
|
||||||
|
// TODO: visibility - followers-only
|
||||||
|
// TODO: Books
|
||||||
|
// TODO: reading status shelves
|
||||||
|
// TODO: creating a shelf
|
||||||
|
// TODO: importing
|
||||||
|
|
||||||
function startTour(tourName) {
|
function startTour(tourName) {
|
||||||
if (tourName === 'home') {
|
if (tourName === 'home') {
|
||||||
homeTour.start()
|
homeTour.start()
|
||||||
|
|
Loading…
Reference in a new issue