Skip to content

Conversation

@adids1221
Copy link
Contributor

@adids1221 adids1221 commented May 20, 2025

Description

Picker - migrate, getItemLabel, getItemLabel prop deprecation end, remove the migrate, getItemLabel, getItemLabel prop from component usage.
Based on #3718

Changelog

Picker - migrate, getItemLabel, getItemLabel prop deprecation end.

Additional info

MADS-4195

Copy link
Collaborator

@M-i-k-e-l M-i-k-e-l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@M-i-k-e-l M-i-k-e-l assigned adids1221 and unassigned M-i-k-e-l May 25, 2025
@adids1221 adids1221 requested a review from M-i-k-e-l June 3, 2025 07:02
@adids1221 adids1221 assigned M-i-k-e-l and unassigned adids1221 Jun 3, 2025
@M-i-k-e-l M-i-k-e-l assigned adids1221 and unassigned M-i-k-e-l Jun 3, 2025
@adids1221
Copy link
Contributor Author

@M-i-k-e-l you assigned me without any comment ?

@adids1221 adids1221 assigned M-i-k-e-l and unassigned adids1221 Jun 4, 2025
@M-i-k-e-l
Copy link
Collaborator

@M-i-k-e-l you assigned me without any comment ?

It was pending, look at the PM and improve the docs please

Comment on lines 82 to 83
- `getItemValue` - Removed (value extraction is now automatic from `item.value`)
- `getItemLabel` - Removed (label extraction is now automatic from `item.label`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: "Use item.<X> to get <X>"

@adids1221 adids1221 requested a review from M-i-k-e-l June 10, 2025 08:07
@M-i-k-e-l M-i-k-e-l assigned adids1221 and unassigned M-i-k-e-l Jun 10, 2025
@adids1221 adids1221 requested a review from M-i-k-e-l June 12, 2025 08:53
@adids1221 adids1221 assigned M-i-k-e-l and unassigned adids1221 Jun 12, 2025
@M-i-k-e-l M-i-k-e-l merged commit 4a3f9b8 into v8 Jun 15, 2025
1 check passed
@M-i-k-e-l M-i-k-e-l deleted the infra/v8_picker_migrate_prop_migration branch June 15, 2025 09:51
M-i-k-e-l added a commit that referenced this pull request Nov 18, 2025
* Remove old dialog

* Move Incubator.Dialog to Dialog

* Remove PanGestureView

* Remove PanDismissibleView

* Remove PanResponderView

* Remove PanListenerView

* Remove PanningProvider

* Remove asPanViewConsumer

* Remove PanningContext

* Promote PanView and hooks from Incubator to standard components

* Fix category

* Add v8 doc

* Move PanViewScreen and sort a little

* Add StackAggregator doc (#3745)

* Remove SharedTransition

* StackAggregator - several fixes

* Picker - migrate prop deprecation end (#3737)

* Remove deprecated 'migrate' prop and related migration code from Picker component

* refactor: PickerItem removed itemValue

* docs: update Picker documentation to remove `migrate` prop and clarify value format

* refactor: remove deprecated getItemLabel and getItemValue props from Picker components

* refactor: simplify Picker API and enhance type safety by removing deprecated props and updating value handling

* refactor: remove getItemLabel usage from Picker components and simplify label handling

* docs: update Picker migration notes

* refactor: remove unused getItemValue/Label

---------

Co-authored-by: Miki Leib <[email protected]>

* Upgrade to react native 0.76.9 (#3720)

* Upgrade to react native 0.76.9

Some errors in native code that I did not want to commit fixes just yet
docuilib has issues (hopefully will be solved in 0.77.2

* Downgrading reanimated and gesture handler

* Fix snapshot

* Fix TS

---------

Co-authored-by: Inbal Tish <[email protected]>

* RN77 new arch (#3721)

* Upgrade to react native 0.76.9

Some errors in native code that I did not want to commit fixes just yet
docuilib has issues (hopefully will be solved in 0.77.2

* RN77 upgrade + new arch

Android runs (still need to fix native)  |  iOS red screen  |  docuilib still has errors

* Remove TextInputDelKeyHandlerPackage (Android)

* KeyboardAccessoryView on Android - fix crash (one bug left)

Pressing on dismiss (x) only fully works the second time

* Pressing on dismiss (x) only fully works the second time - a very complex fix

* Remove unused code

* HighlighterViewManager - fix (use new API)

* Fix gesture handler changed style

* Fix images (unrelated)

* Fix PanViewScreen (unrelated)

* Fix dragging in SortableList and SortableGridList

* Update navigation

* Change iOS back to Objective-C

* Fix screen - border color

* Revert to older reanimated and gesture-handler versions

* Drawer - fix animation flickering

* Remove comment

* StackAggregator - several fixes - see #3210

* Drawer - fix color not being shown with multiple buttons (RectButton bug)

* Fix

* Downgrading reanimated and gesture handler

* Fix

* Fix iOS (setimmediate)

* remove UIManager.setLayoutAnimationEnabledExperimental

* Update RNN

* Fix snapshot

* Fix TS

* Fix TS

* Fix snapshot

* Native lib reorder and fix ios (#3750)

* Native lib - reorganize components in folders for convenience + bump version to 5.0.0

* pointing to index

* revert naming change

* fix api files

* rename HighlighterOverlay web

* Moving sub components to the parent

* fix api file and move KeyboardUtils outside folder

* Revert "fix api file and move KeyboardUtils outside folder"

This reverts commit ff64327.

* fix api json

* fix folder name to match component name

* remove specs

* fix highligther view native registration

* fix for SafeAreaSpacerView

* fix types

* fix for KeyboardTrackingView

* trying to fix failed CI build

* SafeAreaSpacesView - moving to react implementation using native SafeAreaManager

* manager changes

* fix safe area

* fix SafeAreaSpacerView again

* removing logs

* Fix highlightViewTag type

* Fix TS error

* Typescript fixes \ revert

* Revert

---------

Co-authored-by: Miki Leib <[email protected]>
Co-authored-by: M-i-k-e-l <[email protected]>

* KeyboardAwareBase - fix error

* Fix menu - "native" tag should show all (and only) native components

* Update uilib-native to snapshot

* Fix tests

* Update uilib-native to snapshot

* Fix TS error and web type

* Change from codegenNativeComponent to requireNativeComponent in order to fix error after transpilation (#3768)

* Change from codegenNativeComponent to requireNativeComponent

* Update snapshot

* Revert, move to specs and publish the typescript vesion (#3769)

* Another try

* Do not transpile specs

* Another one

* Update snapshot

* SafeAreaSpacerView - fix race condition and a small refactor (#3770)

* SafeAreaSpacerView - fix race condition and a small refactor

* Update snapshot

* Remove extra backgroundColor

---------

Co-authored-by: Inbal Tish <[email protected]>
Co-authored-by: Inbal Tish <[email protected]>

* Rn77 new arch fixes 2 (#3772)

* Fix Constants.statusBarHeight on iOS

* SafeAreaInsetsManager - add tests and small fixes

* Fix typo

* Fix type

* Update iOS' project

* Fix reanimated interaction with RN's Modal on Android

* Remove (unused) AppDelegate.swift

* Update react-native-navigation

* Upgrade @react-native-community/datetimepicker (known issue in iOS)

* UI-LIB scrollview fix for new arch
#3775 (#3775)

* Revert "UI-LIB scrollview fix for new arch"

This reverts commit 083661c.

* UI-LIB scrollview fix for new arch #3775 (#3776)

* UI-LIB scrollview fix for new arch #3775

* Update snapshot

---------

Co-authored-by: M-i-k-e-l <[email protected]>

* Allow overriding includeHiddenElements in (some) drivers

* Change some insets to consts

---------

Co-authored-by: Mark de Vocht <[email protected]>
Co-authored-by: mark.dev <[email protected]>

* Support includeHiddenElements in text

* Update RNN to 8.1.2 and workaround for DateTimePicker's issue on iOS

* UI-LIB Custom keyboard fix #3779 (#3787)

* Update uilib-native to 7266 (fix AccessoryView and TrackingView)

* chore(dependencies): update react-native-reanimated to 3.17.5 (#3803)

* chore(dependencies): update react-native peer dependency to 0.77.0 (#3804)

* chore(dependencies): update react-native-reanimated to 3.17.5

* chore(dependencies): update react-native peer dependency to 0.77.0

* yarn dedupe

* Align reanimated and react-native-linear-gradient

* Fix webDemo

* Update to 0.77.3 and align

* Prettify

* AnimatedImage - use useEffect instead of onLoadStart (#3806)

* AnimatedImage - use useEffect instead of onLoadStart

* Fix snapshot

* Replace nonexistent image

* Fix test

* Update snapshots

* Update uilib-native to 5.0.0-snapshot.7358

* Text - fix text default alignment (#3815)

* Text - fix text default alignment

* Fix tests

* Add docs

* Add iOS to doc

* Update TODO

* Image - fix showing errorSource when source is undefined (iOS) (#3820)

* Move uilib-native to peerDependencies (#3819)

* Move logs to terminal (add --client-logs) (#3821)

* AnimatedImage - use useEffect instead of onLoadStart - revert for Android (#3823)

* Keyboard Accessory View not appearing at right position (#3824)

* Removal of RNNAppDelegate for public repo (#3825)

* Remove auto-linking from react-native-ui-lib

It is not needed as uilib-native is a peerDependency

* Update uilib-native snapshot

* Update uilib-native docs

* Dialog - add disableAnimation (#3826)

* TabController - fix touch events not triggered on real Android device when scrolling with zIndex change (#3829)

* TabController - fix touch events not triggered on real Android device when scrolling with zIndex change

* Do not return null, use opacity\zIndex in a regular style

* Improve the comment

* Fix warning (#3831)

* Fix warning

* fix: Update Hint component snapshots by removing unused props

* ts ignore

---------

Co-authored-by: adids1221 <[email protected]>

* MADS-4855 ConnectedKeyboardAcc tracks incorrectly (#3830)

* Infra/slider error improve data (#3836)

* Slider (old) - allow equal values

* Slider (incubator) - improve error

* Remove Dialog from the Incubator package (#3837)

* Remove Dialog from the Incubator package 2

* Fix docs and web (#3838)

* Update version to 8

---------

Co-authored-by: Adi Mordo <[email protected]>
Co-authored-by: Inbal Tish <[email protected]>
Co-authored-by: Inbal Tish <[email protected]>
Co-authored-by: Mark de Vocht <[email protected]>
Co-authored-by: mark.dev <[email protected]>
Co-authored-by: Nitzan Yizhar <[email protected]>
Co-authored-by: Nikita Shavit <[email protected]>
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.

3 participants