Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved mobiledoc/markdown converters to apps/default-cards #9338

Merged
merged 1 commit into from
Dec 14, 2017

Conversation

kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Dec 14, 2017

refs #9178

  • they definitely don't belong to server/utils
  • i think the best place is putting them into the card apps
  • the post model needs to ask the app for it's converters
  • i guess in the future Ghost offers an easier access to apps (get rid of dirty requires)
  • move tests as well

@kevinansfield Assigning you to share this knowledge. We are currently killing our big utils folder and put the files into new places. I think the best place is inside the app. I've tested with the client, looks like everything is still working 👍

refs TryGhost#9178

- they definitely don't belong to server/utils
- i think the best place is putting them into the card apps
- the the post model needs to ask the app for it's converters
- move tests as well
@ErisDS
Copy link
Member

ErisDS commented Dec 14, 2017

Hey @kate - there's some context here - if you read up you'll see there was a discussion around this.

@kevinansfield
Copy link
Member

kevinansfield commented Dec 14, 2017

@kirrg001 do we want to merge this as part of the current cleanup then refactor into lib/mobiledoc or drop this now in favour of lib/mobiledoc?

@kirrg001
Copy link
Contributor Author

kirrg001 commented Dec 14, 2017

Ah okay, we want to get rid of the whole app, yeah let's do that - i was wondering a couple of times in the past anyway why it's an app. I would still merge it, because we have to move these converters anyway and then move the whole folder to lib/mobiledoc.

@kevinansfield kevinansfield merged commit 9de13ae into TryGhost:master Dec 14, 2017
@kevinansfield kevinansfield deleted the move-converters branch December 14, 2017 11:09
kirrg001 added a commit to kirrg001/Ghost that referenced this pull request Dec 14, 2017
kevinansfield pushed a commit that referenced this pull request Dec 14, 2017
kevinansfield pushed a commit to kevinansfield/Koenig that referenced this pull request Mar 20, 2020
kevinansfield pushed a commit to TryGhost/Koenig that referenced this pull request Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants