Skip to content

Commit 549e5a8

Browse files
anku255facebook-github-bot
authored andcommitted
RNTester UI Redesign (#29685)
Summary: This Pull request adds the UI changes to the RNTester app as discussed in the MLH Fellowship. ## Changelog This list is not exhaustive. - The initial App screen is redesigned. - A bottom Navbar has been added. - Filter pills are added. - The list card UI is updated. - The example page UI is updated. - Recently Viewed Sections are added. It shows the last 5 recently viewed components/APIs. - Bookmarking functionality is added. - The documentation URL is added to the example page. - RNTester doesn't lose its state on a hard refresh (even on iOS). # Screenshots <img width="373" src="https://user-images.githubusercontent.com/22813027/90530113-20346180-e192-11ea-8ef6-789fa25b402b.png" /> <img width="373" src="https://user-images.githubusercontent.com/22813027/90530112-20346180-e192-11ea-9539-706b540fcc5f.png" /> <img width="373" src="https://user-images.githubusercontent.com/22813027/90530100-1d397100-e192-11ea-8836-b88070643233.png" /> <img width="373" src="https://user-images.githubusercontent.com/22813027/90530110-1f9bcb00-e192-11ea-936b-64ee75fa4289.png" /> Pull Request resolved: #29685 Test Plan: Imported from GitHub, without a `Test Plan:` line. # Tested RNTester in Catalyst {F302717939} # Tested in RNTester in Facebook Note: this failed **before** this diff too: {F302745716} Reviewed By: mdvacca, cpojer Differential Revision: D23240434 fbshipit-source-id: 65e2766a6a097eca0e0d0fda8dadf6871e9276c2
1 parent 9b973f3 commit 549e5a8

File tree

115 files changed

+1854
-2405
lines changed

Some content is hidden

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

115 files changed

+1854
-2405
lines changed

packages/rn-tester/e2e/__tests__/Button-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ describe('Button', () => {
1818
beforeAll(async () => {
1919
await device.reloadReactNative();
2020
await openComponentWithLabel(
21-
'<Button>',
22-
'<Button> Simple React Native button component.',
21+
'Button',
22+
'Button Simple React Native button component.',
2323
);
2424
});
2525

packages/rn-tester/e2e/__tests__/DatePickerIOS-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ describe('DatePickerIOS', () => {
1919
beforeAll(async () => {
2020
await device.reloadReactNative();
2121
await openComponentWithLabel(
22-
'<DatePickerIOS>',
23-
'<DatePickerIOS> Select dates and times using the native UIDatePicker.',
22+
'DatePickerIOS',
23+
'DatePickerIOS Select dates and times using the native UIDatePicker.',
2424
);
2525
});
2626

packages/rn-tester/e2e/__tests__/Picker-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ describe('Picker', () => {
1818
beforeAll(async () => {
1919
await device.reloadReactNative();
2020
await openComponentWithLabel(
21-
'<Picker>',
22-
'<Picker> Provides multiple options to choose from, using either a dropdown menu or a dialog.',
21+
'Picker',
22+
'Picker Provides multiple options to choose from, using either a dropdown menu or a dialog.',
2323
);
2424
});
2525

packages/rn-tester/e2e/__tests__/TextInput-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('TextInput', () => {
1818
beforeAll(async () => {
1919
await device.reloadReactNative();
2020
await openComponentWithLabel(
21-
'<TextInput>',
21+
'TextInput',
2222
'Single and multi-line text inputs.',
2323
);
2424
});

packages/rn-tester/e2e/__tests__/Touchable-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ describe('Touchable', () => {
1818
beforeAll(async () => {
1919
await device.reloadReactNative();
2020
await openComponentWithLabel(
21-
'<Touchable*',
22-
'<Touchable*> and onPress Touchable and onPress examples.',
21+
'Touchable*',
22+
'Touchable* and onPress Touchable and onPress examples.',
2323
);
2424
});
2525

packages/rn-tester/e2e/test-init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/* global device */
1212

1313
const detox = require('detox');
14-
const config = require('../../package.json').detox;
14+
const config = require('../../../package.json').detox;
1515
const adapter = require('detox/runners/jest/adapter');
1616
jest.setTimeout(120000);
1717
jasmine.getEnv().addReporter(adapter);

0 commit comments

Comments
 (0)