Skip to content

Commit

Permalink
Migrate to shepherd.js failed, commenting out tour.js
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Nov 5, 2024
1 parent 1bd07f6 commit 763a667
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 18 deletions.
3 changes: 0 additions & 3 deletions app/assets/javascripts/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,3 @@
//= require_tree ./values
//= require_tree ../templates
//= require_tree ./components
//= require tether-shepherd/dist/js/tether
//= require tether-shepherd/dist/js/shepherd
//= require tour
2 changes: 1 addition & 1 deletion app/assets/stylesheets/core.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@import "admin2";

// Tour/Guides
@import "tether-shepherd/dist/css/shepherd-theme-arrows";
@import "shepherd.js/dist/css/shepherd";
@import "tour";

// Screens
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/application2.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ import "theme-chrome";
//import "worker-javascript"
//import "ace_config"


//import "tour" // Can't figure out how to get Shepherd.js to load
import "footer"
2 changes: 2 additions & 0 deletions config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
pin "mode-lucene", to: "ace-builds/src-min-noconflict/mode-lucene.js"
pin "theme-chrome", to: "ace-builds/src-min-noconflict/theme-chrome.js"
pin 'footer', preload: true

# pin 'tour' // Can't figure out how to get Shepherd.js to load
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"ngclipboard": "^2.0.0",
"party-js": "^2.2.0",
"popper.js": "^1.16.1",
"shepherd.js": "^14.1.0",
"splainer-search": "2.33.0",
"tether-shepherd": "latest",
"vega": "^5.27.0"
},
"devDependencies": {
Expand Down
51 changes: 39 additions & 12 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 763a667

Please sign in to comment.