Commit Graph

368 Commits

Author SHA1 Message Date
Jan Monschke 7dbba3ba5f Add SoundCloud Pulse to the app showcase
Summary:Simple PR that adds SoundCloud Pulse to the app showcase
Closes https://github.com/facebook/react-native/pull/6224

Differential Revision: D2994345

fb-gh-sync-id: 97c81c9149f90bf10c4b04ff79eeaf9f8710f26c
shipit-source-id: 97c81c9149f90bf10c4b04ff79eeaf9f8710f26c
2016-03-07 07:17:27 -08:00
manonthemat 4642733743 Add app to showcase with source link
Summary:3 small changes

Added a published android app to the showcase.

Modified the rendering of the apps.
When there's a _source_ property on the app object, the link will show up as shown in this screenshot.
![screen shot 2016-02-04 at 9 13 31 am](https://cloud.githubusercontent.com/assets/5065940/12823220/a79bafcc-cb1f-11e5-8cf5-03b03ecadc45.png)

Also, external links have the _blank target and not just blank (without the underscore), so a new tab/window will always be opened.
Closes https://github.com/facebook/react-native/pull/5761

Differential Revision: D2943464

fb-gh-sync-id: 18c88a90fc7c477730a78442ab0ab45733676dea
shipit-source-id: 18c88a90fc7c477730a78442ab0ab45733676dea
2016-03-07 06:03:30 -08:00
Dan Horrigan d0356fbe9f Updated the Android Setup with correct SDK package to install.
Summary:The "Android Support Library" package is now named "Local Maven repository for Support Libraries", so this updates the docs and screenshot accordingly.

Closes https://github.com/facebook/react-native/pull/6185

Reviewed By: mkonicek

Differential Revision:D3017638
Ninja: oss only (rn website)

Pulled By: mkonicek

fb-gh-sync-id: 3559a9f09930e7606af7912e7aaee3c4215c1b03
shipit-source-id: 3559a9f09930e7606af7912e7aaee3c4215c1b03
2016-03-06 17:28:22 -08:00
Victor Delgado cf8bb75c19 Add Veggies to the showcase
Summary:Adding Veggies, a simple app to help you find fruits and vegetables in season right now. It is entirely built in React Native.
Closes https://github.com/facebook/react-native/pull/6289

Differential Revision: D3011711

Pulled By: mkonicek

fb-gh-sync-id: d3f43e13fdcd9dd277aaa7aeead45a46b4b63b42
shipit-source-id: d3f43e13fdcd9dd277aaa7aeead45a46b4b63b42
2016-03-04 08:14:22 -08:00
Lukas Liesis 532e41105b added ArcChat.com Android app to showcase
Summary:Added http://arcchat.com/ android app https://play.google.com/store/apps/details?id=com.arcchat  to showcase https://facebook.github.io/react-native/showcase.html
Closes https://github.com/facebook/react-native/pull/6267

Differential Revision: D3006203

fb-gh-sync-id: 7ff9d0b6d2536671a5fec1aec081aacfcd4489d3
shipit-source-id: 7ff9d0b6d2536671a5fec1aec081aacfcd4489d3
2016-03-03 10:03:05 -08:00
Sokovikov 1bab7c5182 vibration module
Summary:I will fix other notes from https://github.com/facebook/react-native/pull/2794 if I get positive feedback.
Closes https://github.com/facebook/react-native/pull/6061

Reviewed By: nicklockwood

Differential Revision: D2982173

Pulled By: dmmiller

fb-gh-sync-id: d1e9407798b0293b090897a10996085b0f0c1b3e
shipit-source-id: d1e9407798b0293b090897a10996085b0f0c1b3e
2016-03-03 04:08:31 -08:00
Jimmy Mayoukou f6b0c13fd6 Expose Clipboard docs
Summary:This exposes the `Clipboard` API by showing it in the documentation.

**Test plan**

Ran the website locally, made sure it worked. 🌴
Closes https://github.com/facebook/react-native/pull/6247

Differential Revision: D3000208

Pulled By: vjeux

fb-gh-sync-id: 2154cfe0532d3a39f90bfc19402ac7a5814ea2db
shipit-source-id: 2154cfe0532d3a39f90bfc19402ac7a5814ea2db
2016-03-02 08:48:28 -08:00
Marcus Roberts b4dc5e3e81 Added TeamWarden App to website showcase
Summary:My update is to the app showcase on the react native website, adding my TeamWarden iOS and Android app (in alphabetical order)
Closes https://github.com/facebook/react-native/pull/6163

Differential Revision: D2994724

fb-gh-sync-id: c739f347c704ced139b871d52d84f0b6acc5a17c
shipit-source-id: c739f347c704ced139b871d52d84f0b6acc5a17c
2016-03-01 10:03:00 -08:00
Sokovikov 5a53d90003 fix all anchor links in docs
Summary: Closes https://github.com/facebook/react-native/pull/6213

Differential Revision: D2989119

Pulled By: vjeux

fb-gh-sync-id: 3a069dcebbf8dec40702a7bab5268ce4a82db731
shipit-source-id: 3a069dcebbf8dec40702a7bab5268ce4a82db731
2016-02-29 09:21:31 -08:00
Sokovikov fcd468d4eb fix props anchor links
Summary:All anchor links are broken because of https://github.com/facebook/react-native/blob/master/website/core/Site.js#L37 base tag it means that relative urls won't work.
closes #5450
proof
![screen shot 2016-02-29 at 13 34 35](https://cloud.githubusercontent.com/assets/1488195/13392082/3d14a00e-dee9-11e5-8611-bc6bfaf6c752.png)
Closes https://github.com/facebook/react-native/pull/6208

Differential Revision: D2988892

Pulled By: vjeux

fb-gh-sync-id: da8b621af92d792a258812e38ae15f7cf53873ca
shipit-source-id: da8b621af92d792a258812e38ae15f7cf53873ca
2016-02-29 07:33:30 -08:00
Emilio Rodriguez 7d96dbb919 Added new app for showcase: Deskbookers
Summary: Closes https://github.com/facebook/react-native/pull/6129

Differential Revision: D2980013

Pulled By: mkonicek

fb-gh-sync-id: 5389965296b44e1a3a887c868f18e2aa17cf758c
shipit-source-id: 5389965296b44e1a3a887c868f18e2aa17cf758c
2016-02-25 17:16:18 -08:00
Kevin Johnson d9c0f24116 Added the app Hover to the React Native showcase
Summary: Closes https://github.com/facebook/react-native/pull/6135

Differential Revision: D2979226

fb-gh-sync-id: 8a6b0ab760d7511f5e13c10bcad0e368f72204b4
shipit-source-id: 8a6b0ab760d7511f5e13c10bcad0e368f72204b4
2016-02-25 15:19:51 -08:00
Nick Lockwood 9a70ff0263 Fix site generation
Summary: Doc site generation is broken becuase the script can't parse the UIManager file properly. Removing for now.

Reviewed By: bestander

Differential Revision: D2970814

fb-gh-sync-id: fb782fa6514d875f7e1c289548e82040a7646971
shipit-source-id: fb782fa6514d875f7e1c289548e82040a7646971
2016-02-24 05:41:34 -08:00
Nick Lockwood ac12f98689 Added support for taking snapshots of the screen, window or individual views
Summary:This adds a `takeSnapshot` method to UIManager that can be used to capture screenshots as an image.

The takeSnapshot method accepts either 'screen', 'window' or a view ref as an argument.

You can also specify the size, format and quality of the captured image.

I've added an example of capturing a screenshot at UIExplorer > Snapshot / Screenshot.
I've also added an example of sharing a screenshot to the UIExplorer > ActionSheetIOS demo.

Reviewed By: javache

Differential Revision: D2958351

fb-gh-sync-id: d2eb93fea3297ec5aaa312854dd6add724a7f4f8
shipit-source-id: d2eb93fea3297ec5aaa312854dd6add724a7f4f8
2016-02-23 02:26:33 -08:00
RichardCao 2551540540 Add "Reading" case
Summary:Add "Reading" case
Closes https://github.com/facebook/react-native/pull/6078

Differential Revision: D2960611

fb-gh-sync-id: e8a236463f77061ba5c42c6871a7608abadb0c22
shipit-source-id: e8a236463f77061ba5c42c6871a7608abadb0c22
2016-02-22 09:44:31 -08:00
Gaurav Arora 93761c22de Add 'Collegiate - Learn Anywhere' to the showcase
Summary:Added Collegiate, an app that lets you learn from world's best colleges for free. Collegiate includes 650+ courses from MIT, Stanford, Yale, Berkeley, IIT Madras. The app is completely built using react native.
Closes https://github.com/facebook/react-native/pull/6033

Differential Revision: D2958238

fb-gh-sync-id: e55fed11e7fbef22552377e77359195c573bdd05
shipit-source-id: e55fed11e7fbef22552377e77359195c573bdd05
2016-02-21 16:19:35 -08:00
Janic Duplessis 91788d2bbd Deprecate PullToRefreshViewAndroid and remove it from the website
Summary:I forgot to add a deprecation warning to PullToRefreshViewAndroid when I worked on RefreshControl. This adds one as well as remove it from the website and remove the UIExplorer example. Now that we have versioned doc I think it is fine to remove deprecated stuff from the website so it is easier for users to know what component they should use. Last thing, I enabled flow in RefreshControl and fixed the one warning.
Closes https://github.com/facebook/react-native/pull/6055

Differential Revision: D2959502

Pulled By: mkonicek

fb-gh-sync-id: 9b23f84ea35c770bfe2a83d0fd3ec7e439669c33
shipit-source-id: 9b23f84ea35c770bfe2a83d0fd3ec7e439669c33
2016-02-21 16:17:36 -08:00
Grant Nestor 62ac6aeb40 showcase/whammy
Summary:Added Whammy to showcase
Closes https://github.com/facebook/react-native/pull/5987

Differential Revision: D2948883

fb-gh-sync-id: cd2a3f7b228d051a055b6fe052be31cab5a98f9f
shipit-source-id: cd2a3f7b228d051a055b6fe052be31cab5a98f9f
2016-02-18 04:27:34 -08:00
Shawn Khameneh fc52a65e64 Add MyMuesli to website showcase
Summary:Add MyMuesli to website showcase
Closes https://github.com/facebook/react-native/pull/5992

Differential Revision: D2948879

fb-gh-sync-id: ab1b9e586a78fd58ddf20fdd98932e758d6232c5
shipit-source-id: ab1b9e586a78fd58ddf20fdd98932e758d6232c5
2016-02-18 04:24:43 -08:00
CodeBaker 8770fd9c11 add "烘焙帮" case
Summary:add "烘焙帮" case
Closes https://github.com/facebook/react-native/pull/5995

Differential Revision: D2948873

fb-gh-sync-id: 707bd5f36a14389dc46fb8a425e421c8be3309ef
shipit-source-id: 707bd5f36a14389dc46fb8a425e421c8be3309ef
2016-02-18 04:18:33 -08:00
hycner 774757d628 Add Text destructuring to example
Summary:Destructuring of Text component was missing from example
Closes https://github.com/facebook/react-native/pull/5998

Differential Revision: D2948871

fb-gh-sync-id: 83c2c633f768028d28d5e9ba37463021c8dc5eea
shipit-source-id: 83c2c633f768028d28d5e9ba37463021c8dc5eea
2016-02-18 04:10:32 -08:00
androidtrunkagent 80728226fc Add video link and include new featured apps in showcase
Summary: Closes https://github.com/facebook/react-native/pull/5923

Differential Revision: D2936878

fb-gh-sync-id: 7d5121e3bbe24be36808d1dc250c90308de0185d
shipit-source-id: 7d5121e3bbe24be36808d1dc250c90308de0185d
2016-02-17 11:37:32 -08:00
Konstantin Raev f73f41779a Fixed relative links in generated docs
Summary:Relative links did not have 'docs/' prefix, so all of them lead to 404 page.
Fixes #5964
Closes https://github.com/facebook/react-native/pull/5975

Differential Revision: D2943886

Pulled By: androidtrunkagent

fb-gh-sync-id: dbc2355ecf7ea4f1dea0f8f6a5ef50e5f324dfda
shipit-source-id: dbc2355ecf7ea4f1dea0f8f6a5ef50e5f324dfda
2016-02-17 07:30:45 -08:00
Josh Buchea 1172e6478f Add missing comma
Summary: Closes https://github.com/facebook/react-native/pull/5965

Differential Revision: D2941870

Pulled By: androidtrunkagent

fb-gh-sync-id: efec0b07dd9614fc4d3937a290c3f243cba46718
shipit-source-id: efec0b07dd9614fc4d3937a290c3f243cba46718
2016-02-16 17:04:27 -08:00
Josh Buchea d1dbe2dfa6 Add My IP to showcase
Summary: Closes https://github.com/facebook/react-native/pull/5961

Differential Revision: D2940219

Pulled By: androidtrunkagent

fb-gh-sync-id: 4f9623fb7fe462939982bd98cb789f3ec358509b
shipit-source-id: 4f9623fb7fe462939982bd98cb789f3ec358509b
2016-02-16 13:29:34 -08:00
Martin Konicek 027f26df57 Add back apps to showcase, making fbsource and GitHub consistent
Reviewed By: mkonicek

Differential Revision:D2939055
Ninja: React Native website

fb-gh-sync-id: da9001a696240af5bb66f95c724ac62282ede4f7
shipit-source-id: da9001a696240af5bb66f95c724ac62282ede4f7
2016-02-16 07:02:30 -08:00
Xavier Carpentier 9856a97267 Add sneat app
Reviewed By: svcscm

Differential Revision: D2938292

fb-gh-sync-id: 72064ac712fd9fa011b406a35d60bf098ca6c994
shipit-source-id: 72064ac712fd9fa011b406a35d60bf098ca6c994
2016-02-16 02:01:52 -08:00
Brent Vatne c6a8fb977d Fix links to Flexbox / ShadowPropTypesIOS / Transforms in styles
Reviewed By: svcscm

Differential Revision: D2938201

fb-gh-sync-id: c20790fa69984f0b592c48fbfdca74f3dfc9d14d
shipit-source-id: c20790fa69984f0b592c48fbfdca74f3dfc9d14d
2016-02-16 02:01:05 -08:00
Travis Fischer d31b47c018 Add Text Blast to Example App Showcase
Reviewed By: svcscm

Differential Revision: D2936849

fb-gh-sync-id: db5a64f460c682a6e9e6e2b71bebdafe587e4447
shipit-source-id: db5a64f460c682a6e9e6e2b71bebdafe587e4447
2016-02-16 02:00:49 -08:00
Konstantin Raev fae0335594 trying to fix fbsource sync, reverting showcase.js to how it was on 2.12.2016 at fbsource 2016-02-16 09:57:25 +00:00
Konstantin Raev ecb1643fee Yet another fix for CI to find branch that contaisn tag latest
Reviewed By: svcscm

Differential Revision: D2937802

fb-gh-sync-id: 3bd617d5fc7fea42d264acfbd229fd15b335a95d
shipit-source-id: 3bd617d5fc7fea42d264acfbd229fd15b335a95d
2016-02-15 13:08:31 -08:00
Konstantin Raev 51a8b54015 Cleaned up versions.html naming
Reviewed By: svcscm

Differential Revision: D2937512

fb-gh-sync-id: 172943b1df26591f6ba56e04a7ccad76ed5bf5e5
shipit-source-id: 172943b1df26591f6ba56e04a7ccad76ed5bf5e5
2016-02-15 08:38:35 -08:00
Konstantin Raev dec5469853 fixes next version being added to versions.html when master branch is…
Reviewed By: svcscm

Differential Revision: D2933806

fb-gh-sync-id: 65faeff07de53539f4a68b1d8811969f9fa8b996
shipit-source-id: 65faeff07de53539f4a68b1d8811969f9fa8b996
2016-02-12 14:58:34 -08:00
Konstantin Raev 6c7991c3f2 Added ability to switch version in documentation website
Reviewed By: svcscm

Differential Revision: D2932534

fb-gh-sync-id: e67f028c914b64424458dad8fe52e588f6d0cd1c
shipit-source-id: e67f028c914b64424458dad8fe52e588f6d0cd1c
2016-02-12 11:57:35 -08:00
Matteo Manchi 0f850b4760 Adding MyPED to React Native Showcase
Reviewed By: svcscm

Differential Revision: D2932104

fb-gh-sync-id: 1b315b13fe96bcdd674e056fa650762e466282d6
shipit-source-id: 1b315b13fe96bcdd674e056fa650762e466282d6
2016-02-12 08:50:34 -08:00
Konstantin Raev 6f1417c849 CI now builds docs website and deploys it to /%version% path
Summary:
Copy of #5760 reverted merge.

We need to preserve history of docs changes on the webserver.
The goal is to allow users to browse outdated versions of docs.
To make things simple all websites will be released to https://facebook.github.io/react-native/releases/version/XX folder when there is a branch cut.

I switched from Travis CI to Cirle CI because it works faster and I am more familiar with it.

How it works:

1. If code is pushed to `master` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/next folder.
Github will serve this website from https://facebook.github.io/react-native/releases/version/next URL.
All relative URLs will work within that website

2. If code is pushed to `0.20-stable` branch then CI will build a fresh version of docs and put it in https://github.com/facebook/react-native/tree/gh-pages/releases/0.20 folder.
Github will serve this website from https://facebook.github.io/react-native/releases/v
Closes https://github.com/facebook/react-native/pull/5873

Reviewed By: svcscm

Differential Revision: D2926901

Pulled By: androidtrunkagent

fb-gh-sync-id: 16aea430bac815933d9c603f03921cc6353906f1
shipit-source-id: 16aea430bac815933d9c603f03921cc6353906f1
2016-02-11 06:17:42 -08:00
Martin Konicek ab09ff53d4 [website] Make 404.js line ending match internal 2016-02-10 17:20:53 +00:00
Martin Konicek 189ef95bb6 [website] Update 404.js 2016-02-10 17:13:51 +00:00
Henry Kirkness 272096ce7c Added Choke to showcase
Summary: Closes https://github.com/facebook/react-native/pull/5848

Reviewed By: svcscm

Differential Revision: D2920042

Pulled By: androidtrunkagent

fb-gh-sync-id: e45d4789200e1825e319eaf7bb70d3ff52c12325
shipit-source-id: e45d4789200e1825e319eaf7bb70d3ff52c12325
2016-02-09 18:47:34 -08:00
Sam de3b942b4d make copyright render the current year
Summary:
As discussed here https://github.com/facebook/react-native/pull/5835 now the copyright is computed from `Date`
Closes https://github.com/facebook/react-native/pull/5847

Reviewed By: svcscm

Differential Revision: D2918854

Pulled By: androidtrunkagent

fb-gh-sync-id: bd5a56111aec1282857ffd469b91f7476b67221d
shipit-source-id: bd5a56111aec1282857ffd469b91f7476b67221d
2016-02-09 16:22:35 -08:00
sunnylqm 54da3926d9 Make the docs of time and date picker in order
Summary: Closes https://github.com/facebook/react-native/pull/5841

Reviewed By: svcscm

Differential Revision: D2916710

Pulled By: androidtrunkagent

fb-gh-sync-id: b698cefc29ded291952b35feaad86cff023c8c6e
shipit-source-id: b698cefc29ded291952b35feaad86cff023c8c6e
2016-02-09 09:16:34 -08:00
chirag04 05e4236b80 document date and timer picker android
Summary: Closes https://github.com/facebook/react-native/pull/5826

Reviewed By: svcscm

Differential Revision: D2913829

Pulled By: vjeux

fb-gh-sync-id: a4adeb6ba402bbd0ff3cea00429e79c140b965dd
shipit-source-id: a4adeb6ba402bbd0ff3cea00429e79c140b965dd
2016-02-08 15:41:34 -08:00
Christopher Chedeau 736e900532 Support for ShadowPropTypesIOS
Summary:
Fixes https://github.com/facebook/react-native/issues/5748

<img width="1179" alt="screen shot 2016-02-04 at 12 08 07 pm" src="https://cloud.githubusercontent.com/assets/197597/12828197/340f7d5e-cb38-11e5-84b5-8dde48014100.png">
Closes https://github.com/facebook/react-native/pull/5763

Reviewed By: svcscm

Differential Revision: D2902270

Pulled By: vjeux

fb-gh-sync-id: bde9beaa869f9fe6d610e7bdf8f16bc3f4a08c7a
2016-02-04 15:46:38 -08:00
Eric Sauter aea67c8890 Update DropBot Showcase information
Summary:
We recently renamed DropBot to Fixt, so I updated the info including the app icon and a link for our now released Android app.

Also, added whitespace to the right side of the dash between iOS and Android app links. Super minor, but it looks nicer 😃
Closes https://github.com/facebook/react-native/pull/5759

Reviewed By: svcscm

Differential Revision: D2901143

Pulled By: androidtrunkagent

fb-gh-sync-id: 29df3d2804387b6dcf1973efd53b616e84bbd922
2016-02-04 09:53:51 -08:00
Ben Manes e59efc1f02 Add LoadDocs android app to showcase 2016-02-03 17:01:11 -08:00
Janic Duplessis b979128c54 Cross platform status bar API
Summary:
I started working on improving the `StatusBar` API and make it work on Android. I added support for `setColor`, `setTranslucent` (the status bar is still visible but the app can draw under) and `setHidden` on Android. Looking for feedback on how to improve the API before I put more time on this :).

Right now I went for a cross platform API and functions that don't exist on a platform are just a no-op but I'm not sure it is the best choice since at the moment what is supported is very different between both platforms. I was wondering what you guys think and if it would be better off as 2 different modules.

It is also possible to port some of the features I added for Android to iOS even if there is no 'standard' way to do it. Like `setColor` could be implemented by drawing a colored view under the status bar and translucent by adding/removing some padding.
Closes https://github.com/facebook/react-native/pull/5360

Reviewed By: svcscm

Differential Revision: D2840417

Pulled By: nicklockwood

fb-gh-sync-id: 5c8d988bccf8035341f0efe27e54dd8402c18d24
2016-02-03 06:41:35 -08:00
Thomas Goldenberg c7d0a9b54f Update showcase.js 2016-02-02 17:36:09 -05:00
Thomas Goldenberg 422bb263b6 Update showcase.js 2016-02-02 16:36:22 -05:00
AnishKumar Dubey cc231cde73 Adding CaratLane app to react-native showcase 2016-02-03 00:51:10 +05:30
AnishKumar Dubey ba89d9bb7e Adding CaratLane app to react-native showcase 2016-02-03 00:35:33 +05:30