Skip to content

chore: Add comments explaining the existence of NativeDatePickerAndroid#33159

Closed
gabrieldonadel wants to merge 1 commit into
facebook:mainfrom
gabrieldonadel:chore/remove-native-date-picker
Closed

chore: Add comments explaining the existence of NativeDatePickerAndroid#33159
gabrieldonadel wants to merge 1 commit into
facebook:mainfrom
gabrieldonadel:chore/remove-native-date-picker

Conversation

@gabrieldonadel
Copy link
Copy Markdown
Collaborator

@gabrieldonadel gabrieldonadel commented Feb 22, 2022

Summary

This PR adds comments explaining the reason why the NativeDatePickerAndroid.js file was kept when removing DatePickerAndroid(7a77052 ) in order to prevent people from trying to delete it, as this file has no references in the Github repo

Changelog

[Internal] [Added] - Add comments explaining the existence of NativeDatePickerAndroid

Test Plan

Ensure builds are still working correctly, although this just adds a comment

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Feb 22, 2022
@ecreeth
Copy link
Copy Markdown
Contributor

ecreeth commented Feb 22, 2022

check #32176 (comment)

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Feb 22, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 3c958a8
Branch: main

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Feb 22, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,187,786 -15,412
android hermes armeabi-v7a 7,789,087 -21,154
android hermes x86 8,557,973 -17,388
android hermes x86_64 8,510,715 -15,256
android jsc arm64-v8a 9,856,766 -15,172
android jsc armeabi-v7a 8,842,615 -20,914
android jsc x86 9,823,055 -17,137
android jsc x86_64 10,419,918 -15,010

Base commit: 3c958a8
Branch: main

@gabrieldonadel
Copy link
Copy Markdown
Collaborator Author

check #32176 (comment)

Ohhh got it, @lunaleaps is that still the case? And if so should we add some comment to that file to prevent other people from trying to delete it?

@lunaleaps
Copy link
Copy Markdown
Contributor

I believe so... yes a comment clarifying that would be helpful!

@gabrieldonadel gabrieldonadel force-pushed the chore/remove-native-date-picker branch from 8341bfa to 27f6290 Compare February 25, 2022 01:49
@gabrieldonadel gabrieldonadel changed the title chore: Remove unused NativeDatePickerAndroid chore: Add comments explaining the existence of NativeDatePickerAndroid Feb 25, 2022
@react-native-bot react-native-bot added the Type: Enhancement A new feature or enhancement of an existing feature. label Feb 25, 2022
@gabrieldonadel
Copy link
Copy Markdown
Collaborator Author

I believe so... yes a comment clarifying that would be helpful!

Hi @lunaleaps, I've just added a comment to that file for clarification, please let me know if that text is ok or if I should change it for something else. Thanks!

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@lunaleaps has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @gabrieldonadel in e139ef0.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 28, 2022
@gabrieldonadel gabrieldonadel deleted the chore/remove-native-date-picker branch February 28, 2022 15:30
Saadnajmi pushed a commit to Saadnajmi/react-native-macos that referenced this pull request Jan 15, 2023
…id (facebook#33159)

Summary:
This PR adds comments explaining the reason why the `NativeDatePickerAndroid.js` file was kept when removing `DatePickerAndroid`(facebook@7a77052 ) in order to prevent people from trying to delete it, as this file has no references in the Github repo

## Changelog

[Internal] [Added] - Add comments explaining the existence of NativeDatePickerAndroid

Pull Request resolved: facebook#33159

Test Plan: Ensure builds are still working correctly, although this just adds a comment

Reviewed By: cortinico

Differential Revision: D34487638

Pulled By: lunaleaps

fbshipit-source-id: 42cb7331e98d69ff2f69f19bfbb2e65c063120f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: Android Android applications. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. Type: Enhancement A new feature or enhancement of an existing feature. Type: Removal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants