Commit Graph

26 Commits

Author SHA1 Message Date
Anton Nikolaev
85c13bb1f3 Move desktop-related code to "desktop" subfolder (#872)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/872
Move all the JS code related to desktop app to "desktop" subfolder.

The structure of "desktop" folder:
- `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins".
- `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process
- `pkg` - Flipper packaging lib and CLI tool
- `doctor` - Flipper diagnostics lib and CLI tool
- `scripts` - Build scripts for Flipper desktop app
- `headless` - Headless version of Flipper app
- `headless-tests` - Integration tests running agains Flipper headless version

Reviewed By: passy

Differential Revision: D20249304

fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9
2020-03-14 14:35:17 -07:00
Michel Weststrate
0fa0899299 Create React Native example project
Summary:
This diff creates a sample React Native project (based on the 0.62-rc.0 template).

This example is created like:
(Documenting this here as in the future this might be easier than upgrading the project itself)

1. Run `npx react-native init ReactNativeFlipperExample --version 0.62.0-rc.0`
2. Follow the installation steps to enable Flipper, that is, call `initializeFlipper(this, getReactNativeHost().getReactInstanceManager());` at the end of the `onCreate` method in `MainApplication.java`
3. Put `FlipperTicTacToe` in the root of the project, and call it from `App.js` as a component
4. install `react-native-flipper` as dependency
5. install `relative-deps` as dev dependency, and set it up as shown in `package.json`. This tool make sure that we build and test this project against the version of react-native-flipper in this repository, rather than against the one on NPM.
6. removed some stuff, like tests and linting, which is just in the way in this repo

This PR does not support iOS, as Flipper + RN iOS is still broken in 0.62.0-rc.0, and the current version of react-native-flipper doesn't support iOS yet either.

Documentation on how to set up Flipper in general is not part of this Diff

_N.B. since this is a **public** project, to be visible and runnable by our OSS community, the build setup is kept plain, vanilla, react-native, and **not** wired up to our normal / internal build processes. This is also the reason that lint suggestions beyond the license headers have been ignored. If any others should be applied, it is probably the official react native template that requires updating_

Reviewed By: passy

Differential Revision: D19449295

fbshipit-source-id: 2aeb6044f8dd01f09a95350c84fff2419d685a65
2020-01-23 04:47:52 -08:00
Gant Laborde
f6dc82f2af Simple small comma adjustments (#600)
Summary:
Not important, just fixing a few commas.

## Changelog
Pull Request resolved: https://github.com/facebook/flipper/pull/600

Differential Revision: D18087297

Pulled By: passy

fbshipit-source-id: 00d867af4b2e294b55cbc5ed4ebb3a2b0261d598
2019-10-23 10:25:07 -07:00
Pascal Hartig
d277e1da9e Show up-to-date image (#585)
Summary:
The previous one was a bit outdated. It's only used in low-res
environments otherwise where that's fine, but let's a more recent
one for the README header.
Pull Request resolved: https://github.com/facebook/flipper/pull/585

Test Plan: eyes

Reviewed By: jknoxville

Differential Revision: D17908742

Pulled By: passy

fbshipit-source-id: 81e3ccf9e1b94bd57d162dd59b0a4dfb8e4366ea
2019-10-15 02:31:10 -07:00
Pascal Hartig
4bdccb22fa Enable greenkeeper
Summary:
Close https://github.com/facebook/flipper/pull/580

This enables Greenkeeper with some caveats:

- I disabled a bunch of upgrades we know currently break:
  - React
  - Emotion
  - Electron/Electron-Builder
- The bot isn't CLA-whitelisted yet, so we won't be able to directly import yet.
- It might actually be better to have automatic tasks created for the dependencies above breaking.
- Something changed in the prop types and required `StatusBar` to have its signature changed.

allow-large-files

Reviewed By: jknoxville

Differential Revision: D17906693

fbshipit-source-id: f73fe231518f56a6f6114f761d5e5e5528d0d487
2019-10-14 09:42:56 -07:00
Pascal Hartig
96f5a87867 Docs for building windows/linux standalone apps
Summary: Closes https://github.com/facebook/flipper/pull/545

Reviewed By: jknoxville

Differential Revision: D17315711

fbshipit-source-id: 9ea02b50a76eb175d8df49577c45905799295233
2019-09-11 08:22:26 -07:00
Pascal Hartig
96d9c9638c Update README.md (#541)
Summary:
Fix indentation for the ToC
Pull Request resolved: https://github.com/facebook/flipper/pull/541

Reviewed By: danielbuechele

Differential Revision: D17257799

Pulled By: passy

fbshipit-source-id: 7ac402f4cadd287536f3f25578116084316831fc
2019-09-09 06:38:35 -07:00
Pascal Hartig
f2986f8a2f Update README.md (#465)
Summary:
Trying to address https://github.com/facebook/flipper/issues/464.
Pull Request resolved: https://github.com/facebook/flipper/pull/465

Reviewed By: danielbuechele

Differential Revision: D15778823

Pulled By: passy

fbshipit-source-id: 5bddd7914575fe5a53b53b6a7aee11e4777d9f57
2019-06-12 04:31:10 -07:00
Pascal Hartig
cdd733463a Add Cocoapods README badge
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/434

Reviewed By: jknoxville

Differential Revision: D15238279

Pulled By: passy

fbshipit-source-id: a5bd6bf45d0a9cd64d37de9c7c732c6b66403ee8
2019-05-07 11:24:42 -07:00
Pascal Hartig
a0fba743a1 Add Android download badge (#428)
Summary:
Quite useful if you want to know what the most recent version is.
Pull Request resolved: https://github.com/facebook/flipper/pull/428

Reviewed By: jknoxville

Differential Revision: D15164635

Pulled By: passy

fbshipit-source-id: 4a78b928625d6d71381b0e3e8272372f5f1b654d
2019-05-01 04:34:51 -07:00
John Knox
b1c735c40d Modify recommended ios build commands (#296)
Summary:
This will make sure your local pods repo is up to date, so you won't be building against old dependencies.
Pull Request resolved: https://github.com/facebook/flipper/pull/296

Reviewed By: passy

Differential Revision: D10446899

Pulled By: jknoxville

fbshipit-source-id: 61c8832e8d5f7c54a43fc3e419347687756f4883
2018-10-22 03:40:51 -07:00
Marc Terns
c7ad49a9eb Integrating NSUserDefaults plugin to iOS (#291)
Summary:
I have a few details left, but its almost done. This PR addresses #145

- The NSUserDefaults plugin uses the SharedPreferences Desktop Part since we can reuse all of it.
- The NSUserDefaults plugin uses swizzling in order to be notified of what specific event changed at runtime.
- Added Test harness in both Sample Swift and Sample apps for iOS in order to test the plugin.
- Updated the documentation in `docs/shared-preferences-plugin.md` and` README.md`

I am open to suggestions since the desktop sharedPreferences version doesn't support deletion of preferences. Most likely I would have to modify the UI, and for that matter, I might as well build a user defaults desktop version

I wanted to add xiphirx in this MR since he developed the shared preferences plugin for Android and Desktop. I don't see a way to remove preferences from the flipper desktop app so I was wondering if you would be OK with me adding that.
Pull Request resolved: https://github.com/facebook/flipper/pull/291

Reviewed By: passy

Differential Revision: D10334685

Pulled By: priteshrnandgaonkar

fbshipit-source-id: d798c01a46df7ddecf713924799f046b560ea922
2018-10-12 04:09:29 -07:00
Pascal Hartig
0a8eef466b Remove rename warning (#285)
Summary:
We're in a pretty good state now. Let's get rid of the big warning.
Pull Request resolved: https://github.com/facebook/flipper/pull/285

Reviewed By: jknoxville

Differential Revision: D10161261

Pulled By: passy

fbshipit-source-id: ef1fc03c289a0472916c67bf34c2f9e394c3fef2
2018-10-03 05:27:33 -07:00
Pascal Hartig
42ce5d992a Add docusaurus note to README
Summary:
Took me a moment to figure out how to build it,
so let's add it to the docs.

Reviewed By: jknoxville

Differential Revision: D9654631

fbshipit-source-id: 32ee6e647d9fa85b921d19919c1bbd060615bb8e
2018-09-05 08:13:31 -07:00
fvonhoven
decde229b6 Update README w/TOC & link Contributing & MIT sections (#222)
Summary:
* Add a Table of Contents to README
* Link CONTRIBUTING section to CONTRIBUTING.md file
* Link License section to LICENSE file
* Change `Sonar` references to `Flipper` in CONTRIBUTING.md

![flipper-readme](https://user-images.githubusercontent.com/10098988/43982318-f201c870-9cba-11e8-90b7-ebc47854e641.gif)
Pull Request resolved: https://github.com/facebook/flipper/pull/222

Reviewed By: danielbuechele

Differential Revision: D9282868

Pulled By: passy

fbshipit-source-id: 2f1ff9b598b8a0afdde9039e5a2c4a157c48ed9c
2018-08-13 03:42:30 -07:00
Pascal Hartig
75af6b3c72 Update README formatting (#208)
Summary:
Without the newline, this gets interpreted as a headline, which looks a bit weird.

Pull Request resolved: https://github.com/facebook/flipper/pull/208

Reviewed By: danielbuechele

Differential Revision: D9194566

Pulled By: passy

fbshipit-source-id: 67d63e072f4f8d0e86f3a2a0a48886e7e5716b40
2018-08-07 06:57:04 -07:00
Pascal Hartig
6bfdb8d114 README: Sonar -> Flipper
Summary: Kick off the rename.

Reviewed By: jknoxville

Differential Revision: D9044214

fbshipit-source-id: 86e7b3aeef8c972f18499185c291867751068a2d
2018-07-31 09:56:15 -07:00
John Knox
e0f8d1f89a Add basic build steps to README.md (#185)
Summary:
For those not familiar with android and iOS development practices, adding basic build instructions.
Pull Request resolved: https://github.com/facebook/Sonar/pull/185

Reviewed By: passy

Differential Revision: D8991468

Pulled By: jknoxville

fbshipit-source-id: 990dc1217c7b5275d143b915c1b4872b271f4c94
2018-07-26 03:32:58 -07:00
Pascal Hartig
540776f172 Add Travis link to readme (#141)
Summary:
![](https://media1.giphy.com/media/vntyBKuV7FwZO/giphy.gif)
Pull Request resolved: https://github.com/facebook/Sonar/pull/141

Reviewed By: jknoxville

Differential Revision: D8766655

Pulled By: passy

fbshipit-source-id: 04026f06d248880e5373806769613e9226aa712f
2018-07-09 07:19:22 -07:00
Hilal Alsibai
2a46f93eab Fix install for Windows (#138)
Summary:
This lets `yarn` work properly on Windows. Tested in a Cygwin environment. I also added a note about yarn compatibility to the readme.
Closes https://github.com/facebook/Sonar/pull/138

Reviewed By: danielbuechele

Differential Revision: D8734197

Pulled By: xiphirx

fbshipit-source-id: 19be8bb0653a2b0381224b065df0cac579d72c3b
2018-07-05 03:32:30 -07:00
Pritesh Nandgaonkar
49c533ed35 Travis badge (#135)
Summary:
Adds travis badge
Closes https://github.com/facebook/Sonar/pull/135

Reviewed By: danielbuechele

Differential Revision: D8732766

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 51ba49b0382f9bef88f297d061e30c862b751cd1
2018-07-04 11:33:36 -07:00
Pascal Hartig
0768c9a43a Add Electron link to README
Summary:
Resubmit D8378726. Previous import stalled.

Closes #18

Original Author: alexeykuzmin

Reviewed By: jknoxville

Differential Revision: D8510131

fbshipit-source-id: 732318b919f00d16c2f7fc2385bae7bf11411085
2018-06-19 04:45:39 -07:00
Igor Randjelovic
0984103696 Add screenshot to the readme (#46)
Summary:
To make it more appealing for people landing on the GitHub page - seeing a nice screenshot is always a plus!
Closes https://github.com/facebook/Sonar/pull/46

Differential Revision: D8476809

Pulled By: danielbuechele

fbshipit-source-id: d26b10069ab5745342156669ff627dd4fdad2fdb
2018-06-18 03:32:10 -07:00
Daniel Büchele
50490b9435 Linux and Windows builds
Summary:
Adds windows and linux builds to Sandcastle

allow-large-files

Reviewed By: jknoxville

Differential Revision: D8379581

fbshipit-source-id: 94c80fc91c69f43b7dc0c7eb8b2ee5ace4daf888
2018-06-13 09:04:04 -07:00
Daniel Buchele
e6f1e3f018 website content updates 2018-06-07 14:19:23 -04:00
Daniel Büchele
fbbf8cf16b Initial commit 🎉
fbshipit-source-id: b6fc29740c6875d2e78953b8a7123890a67930f2
Co-authored-by: Sebastian McKenzie <sebmck@fb.com>
Co-authored-by: John Knox <jknox@fb.com>
Co-authored-by: Emil Sjölander <emilsj@fb.com>
Co-authored-by: Pritesh Nandgaonkar <prit91@fb.com>
2018-06-01 11:03:58 +01:00