Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActivityIndicator component parity for Fabric #11162

Closed
139 of 156 tasks
Tracked by #11135
jonthysell opened this issue Feb 2, 2023 · 1 comment
Closed
139 of 156 tasks
Tracked by #11135

ActivityIndicator component parity for Fabric #11162

jonthysell opened this issue Feb 2, 2023 · 1 comment
Assignees
Labels
API: Completion Area: ActivityIndicator Area: Component Views Area: Fabric Support Facebook Fabric Deliverable Major item tracked for top-level planning in ADO enhancement New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric Parity: Fabric vs. Paper RNW Fabric does not look or behave like RNW Paper
Milestone

Comments

@jonthysell
Copy link
Contributor

jonthysell commented Feb 2, 2023

This task captures the work to reach parity between Paper and Fabric for the native code for the <ActivityIndicator> component.

ComponentView

  1. Create the ActivityIndicatorComponentView (AICV)
  2. Register the ComponentView in the ComponentViewRegistry
  3. Fix sizing issue in AcitivityIndicator (size always comes back as small)
  4. Adjust animation speed to match XAML ProgressIndicator
  5. Future: Use Fluent Lottie Animation for Fabric ActivityIndicator #11566

APIs

See latest spec at https://reactnative.dev/docs/activityindicator.

ActivityIndicator Props

4/4

API Platform RNW Paper RNW Fabric Notes
  • animating
AIVM AICV Fabric: #12124
  • color
CVM AICV Fabric: #11537
  • hidesWhenStopped
iOS No No?
  • size
JS JS

View Props

48/59

API Platform RNW Paper RNW Fabric Notes
  • accessibilityActions
FEVM Pri 2
  • accessibilityElementsHidden
iOS No No?
  • accessibilityHint
FEVM CBCV+CDAP Fabric: #12036
  • accessibilityIgnoresInvertColors
iOS No No?
  • accessibilityLabel
FEVM CBCV+CDAP Fabric: #11674
  • accessibilityLanguage
iOS No No?
  • accessibilityLiveRegion
Android FEVM Pri 2
  • accessibilityRole
FEVM CDAP Fabric: #11412
  • accessibilityState
FEVM CBCV+CDAP Fabric: Partial impl in #11674
  • accessibilityValue
FEVM CBCV+CDAP Fabric: #12287
  • accessibilityViewIsModal
iOS No No?
  • accessible
CVM+FEVM CBCV+CDAP Fabric: #11719
  • collapsable
Android No No?
  • focusable
Android CVM CBCV+CDAP Fabric: #11674
  • hitSlop
JS JS
  • importantForAccessibility
Android No No?
  • nativeID
No No?
  • needsOffscreenAlphaCompositing
No No?
  • nextFocusDown
Android No No?
  • nextFocusForward
Android No No?
  • nextFocusLeft
Android No No?
  • nextFocusRight
Android No No?
  • nextFocusUp
Android No No?
  • onAccessibilityAction
VMB Pri 2
  • onAccessibilityEscape
iOS No No?
  • onAccessibilityTap
No CDAP Fabric: #11874
  • onLayout
VMB Pri 1
  • onMagicTap
iOS No No?
  • onMoveShouldSetResponder
JS JS
  • onMoveShouldSetResponderCapture
JS JS
  • onResponderGrant
JS JS
  • onResponderMove
JS JS
  • onResponderReject
JS JS
  • onResponderRelease
JS JS
  • onResponderTerminate
JS JS
  • onResponderTerminationRequest
JS JS
  • onStartShouldSetResponder
JS JS
  • onStartShouldSetResponderCapture
JS JS
  • pointerEvents
VMB Pri 1
  • removeClippedSubviews
No No?
  • renderToHardwareTextureAndroid
Android No No?
  • shouldRasterizeIOS
iOS No No?
  • style
See Below See Below Supports View Style Props, Layout Props, Shadow Props
  • testID
FEVM CDAP Fabric: #11412
  • accessibilityPosInSet
Windows FEVM Pri 2
  • accessibilitySetSize
Windows FEVM Pri 2
  • enableFocusRing
Windows JS CBCV+AICV Fabric: #11323, Focus ring impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • keyDownEvents
Windows VMB CBCV Fabric: #12146
  • keyUpEvents
Windows VMB CBCV Fabric: #12146
  • onBlur
Windows VMB Pri 1 Necessary? Fabric: #11323
  • onFocus
Windows VMB Pri 1 Necessary? Fabric: #11323
  • onKeyDown
Windows VMB CBCV+CEH Fabric: #12146
  • onKeyDownCapture
Windows VMB Pri 1
  • onKeyUp
Windows VMB CBCV+CEH Fabric: #12146
  • onKeyUpCapture
Windows VMB Pri 1
  • onMouseEnter
Windows VMB CEH
  • onMouseLeave
Windows VMB CEH
  • tabIndex
Windows CVM Pri 1
  • tooltip
Windows FEVM Pri 1

View Style Props

29/32

API Platform RNW Paper RNW Fabric Notes
  • backfaceVisibility
No CBCV+PCV Fabric: #12115 Impl in CBCV and CV must call updateTransformProps
  • backgroundColor
CVM Pri 1
  • borderBottomColor
No CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderBottomEndRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderBottomLeftRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderBottomRightRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderBottomStartRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderBottomWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderColor
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderEndColor
No CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderEndWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderLeftColor
No CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderLeftWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderRightColor
No CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderRightWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderStartColor
No CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderStartWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
No CBCV Fabric: Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopColor
No CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopEndRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopLeftRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopRightRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopStartRadius
CVM CBCV+AICV Fabric: #11537, Border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • elevation
Android No No?
  • opacity
FEVM Pri 1
  • transform
FEVM Pri 1 Fabric: #12115 Impl in CBCV and CV must call updateTransformProps

Layout Props

51/53

API Platform RNW Paper RNW Fabric Notes
  • alignContent
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • alignItems
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • alignSelf
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • aspectRatio
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • borderBottomWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderEndWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderLeftWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderRightWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderStartWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderTopWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • borderWidth
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics, but border impl in CBCV and CV must call updateBorderProps / updateBorderLayoutMetrics
  • bottom
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • direction
FEVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • display
FEVM+NUIM AICV Fabric: #11537
  • end
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • flex
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • flexBasis
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • flexDirection
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • flexGrow
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • flexShrink
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • flexWrap
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • height
VMB+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • justifyContent
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • left
VMB+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • margin
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginBottom
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginEnd
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginHorizontal
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginLeft
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginRight
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginStart
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginTop
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • marginVertical
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • maxHeight
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • maxWidth
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • minHeight
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • minWidth
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • overflow
NUIM Pri 1
  • padding
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingBottom
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingEnd
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingHorizontal
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingLeft
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingRight
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingStart
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingTop
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • paddingVertical
CVM+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • position
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • right
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • start
NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • top
VMB+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • width
VMB+NUIM CBCV+AICV Fabric: #11537, RN Core resolves LayoutMetrics
  • zIndex
FEVM Pri 1

Shadow Props

4/4

API Platform RNW Paper RNW Fabric Notes
  • shadowColor
No CBCV+AICV Fabric: #12108, Shadow props impl in CBCV and CV must call updateShadowProps
  • shadowOffset
iOS No CBCV+AICV Fabric: #12108, Shadow props impl in CBCV and CV must call updateShadowProps
  • shadowOpacity
iOS No CBCV+AICV Fabric: #12108, Shadow props impl in CBCV and CV must call updateShadowProps
  • shadowRadius
iOS No CBCV+AICV Fabric: #12108, Shadow props impl in CBCV and CV must call updateShadowProps

Native Component Methods

2/2

API Platform RNW Paper RNW Fabric Notes
  • blur()
Windows VMB CBCV Fabric: #11323
  • focus()
Windows VMB CBCV Fabric: #11323

Glossary

See the Glossary to decode the abbreviations above and/or the RNW Fabric Inventory.xlsx.

@jonthysell jonthysell added the Area: Fabric Support Facebook Fabric label Feb 2, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Feb 2, 2023
@chrisglein chrisglein added Area: ActivityIndicator enhancement and removed Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) labels Feb 2, 2023
@chrisglein chrisglein added this to the Backlog milestone Feb 2, 2023
@YajurG YajurG added Recommend: Backlog Recommend that issue should be given Backlog milestone. and removed Recommend: Backlog Recommend that issue should be given Backlog milestone. labels Aug 31, 2023
@jonthysell jonthysell added New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric Parity: Fabric vs. Paper RNW Fabric does not look or behave like RNW Paper Area: Component Views Deliverable Major item tracked for top-level planning in ADO API: Completion labels Mar 7, 2024
@jonthysell
Copy link
Contributor Author

Closing this deliverable, all remaining component properties required for parity are now being tracked by individual issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API: Completion Area: ActivityIndicator Area: Component Views Area: Fabric Support Facebook Fabric Deliverable Major item tracked for top-level planning in ADO enhancement New Architecture Broad category for issues that apply to the RN "new" architecture of Turbo Modules + Fabric Parity: Fabric vs. Paper RNW Fabric does not look or behave like RNW Paper
Projects
Status: Done
Development

No branches or pull requests

4 participants