Skip to content

Commit f5cd9bb

Browse files
committed
change tags
1 parent 4b32d87 commit f5cd9bb

File tree

550 files changed

+3543
-3582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

550 files changed

+3543
-3582
lines changed

.circleci/Dockerfiles/Dockerfile.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Patch it to use mcr for the base ubuntu image, build the community image locally
2222
# and then build this customized step on top of it.
2323
#
24-
# Disabeling this is okay because per (macOS GH#774) this test, which is redundant to Azure Devops test,
24+
# Disabling this is okay because per (Github#774) this test, which is redundant to Azure Devops test,
2525
# failsin the fork because of Microsoft's V8 upgrade to Android
2626
#
2727
#FROM reactnativecommunity/react-native-android:5.2

.circleci/config.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ jobs:
329329
- run:
330330
name: "Run Tests: JavaScript Tests"
331331
command: node ./scripts/run-ci-javascript-tests.js --maxWorkers 2
332-
# TODO(macOS GH#949): Disable this failing test
332+
# [macOS] Disable this failing test
333333
# - run_e2e:
334334
# platform: js
335335

@@ -904,12 +904,12 @@ workflows:
904904
run_disabled_tests: false
905905
filters:
906906
branches:
907-
# TODO(macOS GH#774): disable this test which is redundant to Azure Devops test and it requires a CCI plan with resource-class:large.
907+
# [macOS] disable this test which is redundant to Azure Devops test and it requires a CCI plan with resource-class:large.
908908
ignore: /.*/
909909
- test_android_template:
910910
filters:
911911
branches:
912-
# TODO(macOS GH#774): disable this test which is redundant to Azure Devops test and it requires a CCI plan with resource-class:large.
912+
# [macOS] disable this test which is redundant to Azure Devops test and it requires a CCI plan with resource-class:large.
913913
ignore: /.*/
914914
- test_ios_template:
915915
requires:
@@ -941,7 +941,7 @@ workflows:
941941
# use_hermes: true
942942
# use_frameworks: true
943943
# run_unit_tests: true
944-
# TODO(macOS GH#949): Disable this failing test
944+
# [macOS] Disable this failing test
945945
# - test_js:
946946
# name: test_js_prev_lts
947947
# executor: nodeprevlts
@@ -951,15 +951,15 @@ workflows:
951951
- test_docker:
952952
filters:
953953
branches:
954-
# TODO(macOS GH#774): disable this test which is redundant to Azure Devops test and in the fork it fails because of Microsoft's V8 upgrade to Android
954+
# [macOS] disable this test which is redundant to Azure Devops test and in the fork it fails because of Microsoft's V8 upgrade to Android
955955
ignore: /.*/
956956
- test_windows:
957957
filters:
958958
branches:
959-
# [TODO(macOS GH#774): disable this test which requires a CCI plan.
959+
# [macOS disable this test which requires a CCI plan.
960960
# ignore: gh-pages
961961
ignore: /.*/
962-
# ]TODO(macOS GH#774)
962+
# macOS]
963963
run_disabled_tests: false
964964

965965
# This workflow should only be triggered by release script
@@ -1009,23 +1009,23 @@ workflows:
10091009

10101010
# Gather coverage
10111011
- js_coverage:
1012-
# [TODO(macOS GH#774): disable this test, it fails in the fork due to not being set up for coveralls
1012+
# [macOS disable this test, it fails in the fork due to not being set up for coveralls
10131013
filters:
10141014
branches:
10151015
ignore: /.*/
1016-
# ]TODO(macOS GH#774)
1016+
# macOS]
10171017
nightly:
10181018
unless: << pipeline.parameters.run_package_release_workflow_only >>
10191019
triggers:
10201020
- schedule:
10211021
cron: "0 20 * * *"
10221022
filters:
10231023
branches:
1024-
# [TODO(macOS GH#774): disable this release. We never want to release anything from this fork via CCI.
1024+
# [macOS disable this release. We never want to release anything from this fork via CCI.
10251025
ignore: /.*/
10261026
# only:
10271027
# - main
1028-
# ]TODO(macOS GH#774)
1028+
# macOS]
10291029
jobs:
10301030
- nightly_job
10311031

.flowconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[ignore]
22
; We fork some components by platform
33
.*/*[.]android.js
4-
; TODO(macOS GH#774):
4+
; macOS
55
.*/*[.]macos.js
66

77
; Ignore templates for 'react-native init'
@@ -13,7 +13,7 @@
1313
; Ignore "BUCK" generated dirs
1414
<PROJECT_ROOT>/\.buckd/
1515

16-
; TODO(macOS GH#774): Ignore metro.config.js
16+
; macOS: Ignore metro.config.js
1717
<PROJECT_ROOT>/metro.config.js
1818

1919
; Flow doesn't support platforms

.flowconfig.android

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[ignore]
22
; We fork some components by platform
33
.*/*[.]ios.js
4-
; TODO(macOS GH#774):
4+
; macOS
55
.*/*[.]macos.js
66

77
; Ignore templates for 'react-native init'
@@ -13,7 +13,7 @@
1313
; Ignore "BUCK" generated dirs
1414
<PROJECT_ROOT>/\.buckd/
1515

16-
; TODO(macOS GH#774): Ignore metro.config.js
16+
; macOS: Ignore metro.config.js
1717
<PROJECT_ROOT>/metro.config.js
1818

1919
; Flow doesn't support platforms
@@ -45,7 +45,7 @@ module.file_ext=.js
4545
module.file_ext=.json
4646
module.file_ext=.android.js
4747

48-
# TODO(macOS GH#774):
48+
# macOS
4949
module.system.haste.name_reducers='^\(.*\)\.macos$' -> '\1'
5050

5151
munge_underscores=true

.flowconfig.macos

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[ignore]
2-
; TODO(macOS GH#774)
2+
; macOS
33
; We fork some components by platform
44
.*/*[.]ios.js
55
.*/*[.]android.js
@@ -13,7 +13,7 @@
1313
; Ignore "BUCK" generated dirs
1414
<PROJECT_ROOT>/\.buckd/
1515

16-
; TODO(macOS GH#774): Ignore metro.config.js
16+
; macOS: Ignore metro.config.js
1717
<PROJECT_ROOT>/metro.config.js
1818

1919
; Flow doesn't support platforms

.github/workflows/test-docker-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# TODO(macOS GH#774) - disable this test
1+
# macOS: disable this test
22

33
# name: Test Docker Android Image
44
# # This workflow is triggered on commits to main and pull requests.

IntegrationTests/LayoutEventsTest.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
const React = require('react');
1414
const ReactNative = require('react-native');
1515
const {Image, LayoutAnimation, StyleSheet, Text, View} = ReactNative;
16-
const {Platform} = ReactNative; // TODO(macOS GH#774)
16+
const {Platform} = ReactNative; // [macOS]
1717
const {TestModule} = ReactNative.NativeModules;
1818

1919
import type {ViewStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';
@@ -54,8 +54,8 @@ class LayoutEventsTest extends React.Component<Props, State> {
5454
animateViewLayout() {
5555
debug('animateViewLayout invoked');
5656
LayoutAnimation.configureNext(
57-
Platform.OS === 'macos' // [TODO(macOS GH#774)
58-
? LayoutAnimation.Presets.easeInEaseOut // ]TODO(macOS GH#774)
57+
Platform.OS === 'macos' // [macOS
58+
? LayoutAnimation.Presets.easeInEaseOut // macOS]
5959
: LayoutAnimation.Presets.spring,
6060
() => {
6161
debug('animateViewLayout done');

Libraries/ActionSheetIOS/React-RCTActionSheet.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Pod::Spec.new do |s|
2424
s.documentation_url = "https://reactnative.dev/docs/actionsheetios"
2525
s.license = package["license"]
2626
s.author = "Facebook, Inc. and its affiliates"
27-
s.platforms = { :ios => "11.0", :osx => "10.15" } # TODO(macOS GH#214)
27+
s.platforms = { :ios => "11.0", :osx => "10.15" } # macOS
2828
s.source = source
2929
s.source_files = "*.{m}"
3030
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"

Libraries/Alert/Alert.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ export type Buttons = Array<{
2424
style?: AlertButtonStyle,
2525
...
2626
}>;
27-
// [TODO(macOS GH#774)
27+
// [macOS
2828
export type DefaultInputsArray = Array<{
2929
default?: string,
3030
placeholder?: string,
3131
style?: AlertButtonStyle,
3232
}>;
33-
// ]TODO(macOS GH#774)
33+
// macOS]
3434

3535
type Options = {
3636
cancelable?: ?boolean,
3737
onDismiss?: ?() => void,
38-
// [TODO(macOS GH#774)
38+
// [macOS
3939
modal?: ?boolean,
4040
critical?: ?boolean,
41-
// ]TODO(macOS GH#774)
41+
// macOS]
4242
...
4343
};
4444

@@ -56,7 +56,7 @@ class Alert {
5656
): void {
5757
if (Platform.OS === 'ios') {
5858
Alert.prompt(title, message, buttons, 'default');
59-
// [TODO(macOS ISS#2323203)
59+
// [macOS
6060
} else if (Platform.OS === 'macos') {
6161
Alert.promptMacOS(
6262
title,
@@ -67,7 +67,7 @@ class Alert {
6767
options?.modal,
6868
options?.critical,
6969
);
70-
// ]TODO(macOS ISS#2323203)
70+
// macOS]
7171
} else if (Platform.OS === 'android') {
7272
const NativeDialogManagerAndroid =
7373
require('../NativeModules/specs/NativeDialogManagerAndroid').default;
@@ -170,15 +170,15 @@ class Alert {
170170
cb && cb(value);
171171
},
172172
);
173-
// [TODO(macOS GH#774)
173+
// [macOS
174174
} else if (Platform.OS === 'macos') {
175175
const defaultInputs = [{default: defaultValue}];
176176
Alert.promptMacOS(title, message, callbackOrButtons, type, defaultInputs);
177177
}
178-
// ]TODO(macOS GH#774)
178+
// macOS]
179179
}
180180

181-
// [TODO(macOS GH#774)
181+
// [macOS
182182
/**
183183
* Create and display a prompt to enter some text.
184184
* @static
@@ -266,7 +266,7 @@ class Alert {
266266
},
267267
);
268268
}
269-
// ]TODO(macOS GH#774)
269+
// macOS]
270270
}
271271

272272
module.exports = Alert;

Libraries/Alert/NativeAlertManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ export type Args = {|
2020
cancelButtonKey?: string,
2121
destructiveButtonKey?: string,
2222
keyboardType?: string,
23-
// [TODO(macOS GH#774)
23+
// [macOS
2424
defaultInputs?: Array<Object>,
2525
modal?: ?boolean,
2626
critical?: ?boolean,
27-
// ]TODO(macOS GH#774)
27+
// macOS]
2828
|};
2929

3030
export interface Spec extends TurboModule {

Libraries/Alert/RCTAlertManager.macos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @flow strict-local
99
*/
1010

11-
// TODO(macOS GH#774)
11+
// [macOS]
1212

1313
/* $FlowFixMe allow macOS to share iOS file */
1414
const alertWithArgs = require('./RCTAlertManager.ios');

Libraries/Animated/AnimatedMock.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ const spring = function (
9898
return {
9999
...emptyAnimation,
100100
start: mockAnimationStart((callback?: ?EndCallback): void => {
101-
// [TODO(macOS GH#774) - setValue can't handle AnimatedNodes
101+
// [macOS - setValue can't handle AnimatedNodes
102102
if (config.toValue instanceof AnimatedNode) {
103103
anyValue.setValue(config.toValue.__getValue());
104104
} else {
105-
// ]TODO(macOS GH#774)
105+
// [macOS]
106106
anyValue.setValue(config.toValue);
107107
}
108108
callback?.({finished: true});

Libraries/Animated/NativeAnimatedHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ module.exports = {
403403
nativeEventEmitter = new NativeEventEmitter(
404404
// T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
405405
// If you want to use the native module on other platforms, please remove this condition and test its behavior
406-
Platform.OS !== 'ios' && Platform.OS !== 'macos' // TODO(macOS GH#774): Also use this parameter on macOS
406+
Platform.OS !== 'ios' && Platform.OS !== 'macos' // macOS: Also use this parameter on macOS
407407
? null
408408
: NativeAnimatedModule,
409409
);

Libraries/AppState/AppState.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class AppState {
5151
new NativeEventEmitter(
5252
// T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
5353
// If you want to use the native module on other platforms, please remove this condition and test its behavior
54-
Platform.OS !== 'ios' && Platform.OS !== 'macos' // TODO(macOS GH#774): Also use this parameter on macOS
54+
Platform.OS !== 'ios' && Platform.OS !== 'macos' // macOS: Also use this parameter on macOS
5555
? null
5656
: NativeAppState,
5757
);

Libraries/Blob/React-RCTBlob.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pod::Spec.new do |s|
2626
s.homepage = "https://reactnative.dev/"
2727
s.license = package["license"]
2828
s.author = "Facebook, Inc. and its affiliates"
29-
s.platforms = { :ios => "11.0", :osx => "10.15" } # TODO(macOS GH#214)
29+
s.platforms = { :ios => "11.0", :osx => "10.15" } # macOS
3030
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
3131
s.source = source
3232
s.source_files = "*.{h,m,mm}"

0 commit comments

Comments
 (0)