add barcode reader to home feed tour

This commit is contained in:
Hugh Rundle 2022-06-12 20:11:21 +10:00
parent c614aeb28e
commit e768cf49a3

View file

@ -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.",
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) {
if (tourName === 'home') {
homeTour.start()