Closed JohnONolan closed 7 years ago
Hannah on Slack:
facebook uses
sdk.js
- medium usesmedium-sdk
So ghost-sdk.js
sounds like a winner
@jloh Hey 🙃 Thanks for your feedback. Could you please move your comment to #8605? Thank you!
I ran into an issue today with a use case that wasn't covered by my initial implementation of this.
If you import from LTS, and didn't already have the public API enabled, it will be disabled after import.
The desired behaviour is that the Public API flag be enabled in 1.0.0 unless a user manually disables it.
Casper 2.0 has some features which depend on the
{{#get}}
helper, which needs the Public API flag to be enabled in order to work. I think it might make sense for 1.0 to take the next step of moving the Public API flag to being checked-by-default in/ghost/settings/labs/
?A secondary issue to this is that it would be really good to rename the file which is injected into
{{ghost_head}}
- currentlyghost-url.js
to something that makes a bit more sense, likeghost-api.js
orghost-sdk.js
.However the latte issue may be better suited to post-1.0?