Skip to content

Require the consumer to provide a dismiss closure to the editor#19

Merged
prachigauriar merged 1 commit intomainfrom
editor-dismiss
Mar 29, 2026
Merged

Require the consumer to provide a dismiss closure to the editor#19
prachigauriar merged 1 commit intomainfrom
editor-dismiss

Conversation

@prachigauriar
Copy link
Copy Markdown
Contributor

  • Rename ConfigVariableEditor.onSave to dismiss
  • If no dismiss is provided, default to dismissing the view
  • Remove requiresRelaunch metadata key, as we don’t want to encourage
    requiring relaunch vs. responding to the change live

  - Rename ConfigVariableEditor.onSave to dismiss
  - If no dismiss is provided, default to dismissing the view
  - Remove requiresRelaunch metadata key, as we don’t want to encourage
    requiring relaunch vs. responding to the change live
@github-actions
Copy link
Copy Markdown

Code Coverage Report

Overall Coverage: 96.99% (3,380 of 3,485)

DevConfiguration: 96.99% (3,380 of 3,485)
File Coverage Covered Lines Executable Lines
CodableValueRepresentation.swift 100.00% 86 86
ConfigContent+Additions.swift 100.00% 137 137
ConfigSnapshot+ConfigContent.swift 100.00% 22 22
ConfigVariable.swift 100.00% 84 84
ConfigVariableAccessFailedEvent.swift 100.00% 4 4
ConfigVariableAccessSucceededEvent.swift 100.00% 5 5
ConfigVariableContent.swift 96.03% 1,936 2,016
ConfigVariableDecodingFailedEvent.swift 100.00% 5 5
ConfigVariableMetadata.swift 100.00% 30 30
ConfigVariableReader.swift 95.61% 196 205
DisplayNameMetadataKey.swift 100.00% 2 2
EditorControl.swift 100.00% 24 24
EditorDocument.swift 98.50% 395 401
EditorOverrideProvider.swift 98.75% 315 319
EventBusAccessReporter.swift 100.00% 32 32
IsEditableMetadataKey.swift 100.00% 2 2
Localization.swift 50.00% 3 6
NamedConfigProvider.swift 100.00% 5 5
RegisteredConfigVariable.swift 96.77% 90 93
String+NonEmptyTrimmedLines.swift 100.00% 7 7

@prachigauriar prachigauriar merged commit b816765 into main Mar 29, 2026
6 checks passed
@prachigauriar prachigauriar deleted the editor-dismiss branch March 29, 2026 20:48
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.

1 participant