vickychijwani / quill

:ghost: [MOVED TO https://github.com/TryGhost/Ghost-Android] The beautiful Android app for your Ghost blog.
MIT License
553 stars 84 forks source link

Ghost 1.0 #162

Closed vickychijwani closed 7 years ago

vickychijwani commented 7 years ago

Ghost 1.0 is releasing ~this month~, which means big breaking changes are imminent. I'm tracking all of the potential changes on this wiki page: https://github.com/vickychijwani/quill/wiki/Changes-for-Ghost-1.0. Specific todos will be added to this issue as they are formulated.

All work for this issue is happening in the wip-ghost-1.0 branch.

Mandatory changes

Bugs

Optional changes

Misc stuff

kirrg001 commented 7 years ago

Hey @vickychijwani πŸ‘‹

This is Kate from Ghost. It's very exciting for us to see how much you care about the Ghost 1.0 changes. Very impressive! Our goal is to release the beta on Thursday. It's finally happening 😝

I wanted to share some details about our mobiledoc editor.

The initial plan was to ship the new mobiledoc editor with 1.0, but the complexity of edge cases and the wish to finally release 1.0 forced us to revert the editor for now. Instead we have added SimpleMDE, a new and better markdown editor, which fills this gap for now.

But the idea is still to ship the mobiledoc editor as soon as possible. And that's why we decided to keep the mobiledoc post field and mobiledoc format, to be able to switch to mobiledoc easily.

That means:

Format in Ghost 0.11.x

{ 
  "markdown": "## headline"
}

Format in Ghost 1.0

{
  "version":"0.3.1",
  "markups":[],
  "atoms":[],
  "cards":[
     ["card-markdown", {
         "cardName": "card-markdown", 
         "markdown": "# headline"
      }]
    ],
 "sections":[[10,0]]   // a static value for now
}

External clients (like quill) are required to send this format for 1.0.

We thought about keeping the ability to send/receive markdown to/from the Ghost API, which then get's transformed into mobiledoc format, which would be easier for external clients like quill. But we would like to wait how complicated this requirement is and that the reason keeping the mobiledoc format is understood from our external clients.

Thanks so much for quill! If you have any questions, come say hello on slack!

vickychijwani commented 7 years ago

Hi @kirrg001 πŸ™‚

I'm looking forward to the 1.0 beta!

Your comment clarifies the changes I would need to make, and having visibility into the Ghost team's thought process provides useful context. I'll need to dig deeper into the mobiledoc format to understand what all those fields mean, but this is a great starting point. Thank you!

I'll reach out via Slack for any questions.