-
-
Notifications
You must be signed in to change notification settings - Fork 784
Remove internal usage of deprecated controlTypes constants #12549
Copy link
Copy link
Closed
Labels
deprecated/2022.1Label used to track deprecations due for removal in the 2022.1 releaseLabel used to track deprecations due for removal in the 2022.1 releasep2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Milestone
Metadata
Metadata
Assignees
Labels
deprecated/2022.1Label used to track deprecations due for removal in the 2022.1 releaseLabel used to track deprecations due for removal in the 2022.1 releasep2https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Type
Fields
Give feedbackNo fields configured for issues without a type.
In #12510 several
enums were introduced to replace constants. The usage of those constants was deprecated, the constants will be removed in 2022.1. Before the 2022.1 release process starts, the usages of the constants must be converted to use the enums instead.ROLE_*constants should be replaced to their equivalentRole.*before 2022.1. (caused by Backwards compatible control types refactor #12510, work done by Replace internal controlTypes.ROLE_* usages with controlTypes.Role.* #12649)STATE_*constants should be replaced to their equivalentState.*before 2022.1. (caused by Backwards compatible control types refactor #12510, fixed by replace controlTypes.STATE_* with controlTypes.State.* #12712)roleLabelshave been deprecated, usages such asroleLabels[ROLE_*]should be replaced to their equivalentRole.*.displayStringbefore 2022.1. (Backwards compatible control types refactor #12510, fixed by remove usages of controlTypes.roleLabels #12814)stateLabelshave been deprecated, usages such asstateLabels[STATE_*]should be replaced to their equivalentState.*.displayStringbefore 2022.1. (Backwards compatible control types refactor #12510, fixed by remove usages of controlTypes.stateLabels and negativeStateLabels #12821)characterProcessing.SYMLVL_*constants should be replaced using their equivalentSymbolLevel.*before 2022.1. (Speak all symbols when moving by words (#11779) #11856, fixed by Remove usages of deprecated characterProcessing.SYMLVL_ constants and controlTypes helper functions #12836)