kaijagahm / greenT

A web app for exploring grapheme-color synesthesia
3 stars 0 forks source link

Bookmarking isn't working #10

Closed kaijagahm closed 3 years ago

kaijagahm commented 3 years ago

When the app is run locally, the link bookmarking restores normally.

When the app is deployed, the link correctly restores the colors themselves, but the graph doesn't load--you just see blankness. What on earth is going on?

I tried deploying the app both with and without the collapse panel and it doesn't work either way, so that's not the problem.

I'm trying to figure out whether something about this app is a complex reactive state, which might require use of onBookmark and onRestore. But I think the app has pretty simple logic! And it's weird that it works locally but not when deployed.

Next step, I think, is to try to make a reproducible example. The app is simple enough that I have some level of confidence that that will actually be possible.

kaijagahm commented 3 years ago

Will work on this together via vid

kaijagahm commented 3 years ago

Oops we fixed it, by adding setBookmarkExclude(c("kaijaColors", "allWhite")). See https://github.com/kaijagahm/greenT/commit/c00aa8e9d590f175e37b1d577f4985786c3f2c8b