Closed patrickmcelwee closed 8 years ago
Thanks for catching this Patrick . Just pushed an update to fix.
wow, you're fast! ... there also seems to be an issue with the /discovery-app
prefix here and here. In particular, changing the title or metadata ui-config does not have an effect on the search results.
This is because the cookingshow demo script instructs them to change that prefix to /cookingshow
in ml-manage.js. Changing that line back fixed it.
I think, in this case, the demo script is wrong and they just shouldn't change that line in manage-ml.js. Agreed? If so, do you know who can change the script?
Yeah. I agree that in that case it is best not to change ml-manage.js. The URI prefixes should definitely be left alone, but I think I need to refactor ml-manage.js so it doesn't rely on knowing the default database name.
Alright, I think now it should be covered. I'll close this and send an email to Tom about adjusting the cooking show demo script.
thanks!
The app name was recently hard-coded into 2 modules: here, 5 lines below that, and here.
This breaks anyone who changes the app-name, including any SEs following the cookingshow demo script, which instructs them to change the name to cookingshow. We could alternatively update that script to include more changes, or to tell them not to change the name - but this would disallow someone from installing more than one instance of this app on their server.