refactor: remove advanced-checklist editor (moved to community plugins) (#1740)
This commit is contained in:
@@ -28,7 +28,6 @@ export enum FeatureIdentifier {
|
||||
SolarizedDarkTheme = 'org.standardnotes.theme-solarized-dark',
|
||||
TitaniumTheme = 'org.standardnotes.theme-titanium',
|
||||
|
||||
AdvancedChecklist = 'org.standardnotes.advanced-checklist',
|
||||
CodeEditor = 'org.standardnotes.code-editor',
|
||||
MarkdownProEditor = 'org.standardnotes.advanced-markdown-editor',
|
||||
MarkdownVisualEditor = 'org.standardnotes.markdown-visual-editor',
|
||||
@@ -51,4 +50,4 @@ export enum FeatureIdentifier {
|
||||
*/
|
||||
export const LegacyFileSafeIdentifier = 'org.standardnotes.legacy.file-safe'
|
||||
|
||||
export const ExperimentalFeatures = [FeatureIdentifier.AdvancedChecklist]
|
||||
export const ExperimentalFeatures = []
|
||||
|
||||
@@ -1,23 +1,5 @@
|
||||
import { SubscriptionName } from '@standardnotes/common'
|
||||
import { NoteType } from '../Component/NoteType'
|
||||
import { PermissionName } from '../Permission/PermissionName'
|
||||
import { EditorFeatureDescription, FeatureDescription } from '../Feature/FeatureDescription'
|
||||
import { FeatureIdentifier } from '../Feature/FeatureIdentifier'
|
||||
import { FillEditorComponentDefaults } from './Utilities/FillEditorComponentDefaults'
|
||||
import { FeatureDescription } from '../Feature/FeatureDescription'
|
||||
|
||||
export function experimentalFeatures(): FeatureDescription[] {
|
||||
const advancedChecklist: EditorFeatureDescription = FillEditorComponentDefaults({
|
||||
availableInSubscriptions: [SubscriptionName.PlusPlan, SubscriptionName.ProPlan],
|
||||
name: 'Advanced Checklist [Beta]',
|
||||
identifier: FeatureIdentifier.AdvancedChecklist,
|
||||
note_type: NoteType.Task,
|
||||
spellcheckControl: true,
|
||||
file_type: 'json',
|
||||
interchangeable: false,
|
||||
permission_name: PermissionName.AdvancedChecklist,
|
||||
description: 'A task editor with grouping functionality.',
|
||||
index_path: 'build/index.html',
|
||||
})
|
||||
|
||||
return [advancedChecklist]
|
||||
return []
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
export enum PermissionName {
|
||||
AccountSwitcher = 'app:account-switcher',
|
||||
AdvancedChecklist = 'editor:advanced-checklist',
|
||||
AutobiographyTheme = 'theme:autobiography',
|
||||
BoldEditor = 'editor:bold',
|
||||
CloudLink = 'component:cloud-link',
|
||||
|
||||
Reference in New Issue
Block a user