refactor: remove advanced-checklist editor (moved to community plugins) (#1740)

This commit is contained in:
Mo
2022-10-05 06:43:48 -05:00
committed by GitHub
parent ec41d082ff
commit 8ef5a33994
145 changed files with 42 additions and 7918 deletions

View File

@@ -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 = []

View File

@@ -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 []
}

View File

@@ -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',