Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Koenig - Remove dev experiments flag requirement in admin
Browse files Browse the repository at this point in the history
refs TryGhost/Ghost#9505
- Koenig is entering beta so we no longer want to hide the checkbox behind a developer experiments flag
  • Loading branch information
kevinansfield committed May 15, 2018
1 parent 106e29f commit 5f92a9b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/services/feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default Service.extend({
notifications: service(),
lazyLoader: service(),

koenigEditor: feature('koenigEditor', {developer: true}),
koenigEditor: feature('koenigEditor'),
publicAPI: feature('publicAPI'),
subscribers: feature('subscribers'),
nightShift: feature('nightShift', {user: true, onChange: '_setAdminTheme'}),
Expand Down
24 changes: 11 additions & 13 deletions app/templates/settings/labs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,18 @@
{{/gh-uploader}}
</div>

{{#if config.enableDeveloperExperiments}}
<div class="gh-setting-header">⚠️ Developer-only Feature Testing ⚠️</div>
<div class="gh-setting">
<div class="gh-setting-content">
<div class="gh-setting-title">Koenig Editor</div>
<div class="gh-setting-desc">
Highly experimental (i.e. broken) editor. For developer use only.<br>
<strong>Warning:</strong> Stories created or edited with Koenig will no longer be compatible with the old markdown editor.</div>
</div>
<div class="gh-setting-action">
<div class="for-checkbox">{{gh-feature-flag "koenigEditor"}}</div>
</div>
<div class="gh-setting-header">⚠️ Developer-only Feature Testing ⚠️</div>
<div class="gh-setting">
<div class="gh-setting-content">
<div class="gh-setting-title">Koenig Editor</div>
<div class="gh-setting-desc">
Highly experimental (i.e. broken) editor. For developer use only.<br>
<strong>Warning:</strong> Stories created or edited with Koenig will no longer be compatible with the old markdown editor.</div>
</div>
{{/if}}
<div class="gh-setting-action">
<div class="for-checkbox">{{gh-feature-flag "koenigEditor"}}</div>
</div>
</div>

</section>
</section>
Expand Down

0 comments on commit 5f92a9b

Please sign in to comment.