Commit Graph

395 Commits

Author SHA1 Message Date
Luke De Feo
d52eeffb86 Add ability to favourite virtual devices
Summary:
With a lot of virtual devices it can be confusing to remember which one contains your builds. This allows user to favourite certain ones to avoid this

Changelog: Added ability to favourite emulators / simulators in the launch virtual devices dialog

Reviewed By: mweststrate

Differential Revision: D47724521

fbshipit-source-id: aaec56608ad6ba23634797315f6f9fd77fc8b258
2023-07-25 07:28:03 -07:00
Luke De Feo
a0d6c9a1b8 Fix alignment of logs badge
Reviewed By: mweststrate

Differential Revision: D47720737

fbshipit-source-id: fb4d5ea646bbc5ee2090f28a477e539bd599c02a
2023-07-25 07:28:03 -07:00
Luke De Feo
83ecb4e256 Rework user profile button
Summary:
1. fixed state when no connectivity by using a disabled button, now its styled correctly, (before it was tiny)
2. No need to show the user profile button as its own icon since log in is forced by flipper, so move log out into the more menu

Reviewed By: mweststrate

Differential Revision: D47720740

fbshipit-source-id: c7531a2a2897627c2627080179fd77adfed5c30c
2023-07-25 07:28:03 -07:00
Luke De Feo
d0e8114962 Improve sidebar buttons
Summary:
1. improved the disabled state, no longer shows persistant border
2. made the right sidebar button always visible again since the disabled state is less distracting
3. Made the toggle state be on when the side bar is open
4. Fixed issue where where it would say toggled when sidebar not visible
5. Shortened the names to be less verbose

Reviewed By: mweststrate

Differential Revision: D47720739

fbshipit-source-id: df27e688c7a66e8dee07c4db675851c4355b41db
2023-07-25 07:28:03 -07:00
Luke De Feo
7a5ad8a92d Elevate alerts above troubleshoot
Summary: Similar treatment to troubleshoot problem

Reviewed By: lblasa

Differential Revision: D47720741

fbshipit-source-id: 6875988a9a0763cb4ed473d6e8522581fc27bef3
2023-07-25 07:28:03 -07:00
Luke De Feo
e0da5332d4 Elevante troubleshoot menu so badge appears on top of more
Reviewed By: mweststrate

Differential Revision: D47720738

fbshipit-source-id: 8f1539ad22d87b32277770003241299142d96a03
2023-07-25 07:28:03 -07:00
Lorenzo Blasa
8f87e27609 Add console logs and messages to Hub
Summary: ^

Reviewed By: passy

Differential Revision: D47665331

fbshipit-source-id: d7cf838899be1871999bf086a4a7c3721b307fd1
2023-07-21 09:28:28 -07:00
Anton Kastritskiy
7b06daa913 hide "toggle r.sidebar" instead of disabling it
Reviewed By: LukeDefeo

Differential Revision: D47669377

fbshipit-source-id: 4bac4e8778576f69405c449021a438eff88b6abf
2023-07-21 07:51:43 -07:00
Michel Weststrate
af5b9532ec Don't throw on timeouts during client connection.
Summary: Timeout exceptions while connection to new clients where rethrown but catched nowhere. Probably this warning should be handled more gracefully, but this at least moves it to warn rather than spawning our monitoring on transient issues

Reviewed By: passy, antonk52

Differential Revision: D47665050

fbshipit-source-id: ad51808d12e9f4de318d4426933ecb3787839b7c
2023-07-21 04:18:02 -07:00
Lorenzo Blasa
4d092f75dd Connectivity Hub has tabs with logs and environment check
Summary:
^

Code will be refactored in future diffs.

Reviewed By: antonk52

Differential Revision: D47629563

fbshipit-source-id: a4af7beecb41bd141ccd350b2edece4af3de6022
2023-07-20 06:01:01 -07:00
Lorenzo Blasa
2958d9d8cb SetupDoctorScreen non-modal option
Summary:
The Setup Doctor screen was hard-set into a modal window. Instead, make this an optional that defaults to yes.

This will allow the usage of the screen in non-modal container.

Reviewed By: antonk52

Differential Revision: D47629528

fbshipit-source-id: c5248df1358f1b14775b90c9bf12fd63b8885caf
2023-07-20 06:01:01 -07:00
Lorenzo Blasa
f566fed761 Only show left sidebar toggle if there is a sidebar
Summary:
^

Not all selections have a left sidebar. If the current selection doesn't have one, it doesn't make sense to have the toggle sidebar button, so hide it.

Reviewed By: LukeDefeo

Differential Revision: D47593545

fbshipit-source-id: 940d59536e26bd1ab341d2038df431c67e0a5442
2023-07-20 04:48:20 -07:00
Lorenzo Blasa
459f16022e Improved titles and sorting
Summary: ^

Reviewed By: antonk52

Differential Revision: D47592581

fbshipit-source-id: f6e32c5ff12a351ed731d81c68fec0b230b3b5d5
2023-07-20 04:48:20 -07:00
Anton Kastritskiy
48fc330cc3 fix missing key on SubMenu
Reviewed By: lblasa

Differential Revision: D47628505

fbshipit-source-id: 8e5c0624a2bef97a9507c181223461d851921bd6
2023-07-20 04:45:52 -07:00
Anton Kastritskiy
7195b35b12 Move troubleshooting guide into a menu
Reviewed By: lblasa

Differential Revision: D47591882

fbshipit-source-id: 84e3732100aa20d5f78b132a4c429b9b742678e9
2023-07-20 03:54:19 -07:00
Anton Kastritskiy
57d4c99e0f Move "Rage" and "Add plugins" buttons into menus
Reviewed By: lblasa

Differential Revision: D47591384

fbshipit-source-id: 4a79373c28e1103ddc351acbcab60650cc8a8eee
2023-07-20 03:54:19 -07:00
Lorenzo Blasa
532f6ff1ee App Inspect rounded container
Summary: ^

Reviewed By: antonk52

Differential Revision: D47591057

fbshipit-source-id: 5f3f308fb252245ebe510dd98b4cbd7ea7c6e27e
2023-07-19 06:12:07 -07:00
Anton Kastritskiy
f8e51e13ef remove LeftNavButton
Summary: This was added initially for login button only which was redundant. Fixed in this diff

Reviewed By: elboman

Differential Revision: D47517366

fbshipit-source-id: 58191c618fe2e85d6a06e444029a308223b4e235
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
20ebb75f97 lift NoDevices from TroubleshootingGuide
Reviewed By: lblasa

Differential Revision: D47474152

fbshipit-source-id: 26f3857890cf32ccae8fdd017872d4d12684299f
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
5d2284ce4a No device warning
Reviewed By: LukeDefeo

Differential Revision: D47473652

fbshipit-source-id: d4fe51c20cb555d3701aa112ccf3ea9edd23c903
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
b1be5d79c8 troubleshoot menu
Reviewed By: lblasa

Differential Revision: D47472474

fbshipit-source-id: 50684055b72067e7ea042da24b6cfc502fe1f85e
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
7c93d92956 troubleshoot menu placeholder
Reviewed By: LukeDefeo

Differential Revision: D47470928

fbshipit-source-id: e7d235e60ce336a9f67b6bc8ac155c9cc9cbfd02
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
d198f19471 rearrange app inspect section
Summary:
- remove tooltip as it is about the items that are in the navbar now
- metro buttons and bookmarks are still located in the sidebar
- so are plugin app actions

Reviewed By: elboman

Differential Revision: D47470797

fbshipit-source-id: cb7d757821eaa45ea770d3731b94e4e2f1a6d0ff
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
cf3455f126 move app status message to navbar
Summary: Don't mind busy navbar, flipper debugger buttons will be moved into a menu down the stack

Reviewed By: elboman

Differential Revision: D47469851

fbshipit-source-id: b29367810287d77106a56a5b1ae4aec49188e8fc
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
e755931642 TroubleshootingGuide navbar style
Summary: I also changed the "export" button icon as having two bug icons in the navbar is confusion. lblasa is going to squish all 4 or 5 debug flipper related buttons into one in the near future, so I am not focused on solving this currently

Reviewed By: elboman

Differential Revision: D47468721

fbshipit-source-id: 9492f9feba0df4afaf5b72470cb65e5cefbcb955
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
0dad5ee993 screenshot / screen recording buttons
Reviewed By: lblasa

Differential Revision: D47443316

fbshipit-source-id: 01a7d0d54cda8f8425bcbeb95047aa3aa5857cc8
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
13c88ccb11 squish menu items
Reviewed By: elboman

Differential Revision: D47441631

fbshipit-source-id: 5d2e105e46cb36f4ba89df5b9f3ed3c01ede5402
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
a5631c8d9f remove LeftRail
Reviewed By: elboman

Differential Revision: D47441161

fbshipit-source-id: f0c792beb64fc2474bf6e72b4e4a69d40b699c1e
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
a76faafa4b remove sandy migration
Summary: lblasa said Sandy migration was done years ago. Can be removed safely.

Reviewed By: elboman

Differential Revision: D47439199

fbshipit-source-id: 3ae0e1b3133d051740cd28e9d47c978e6f478c36
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
cb183cc354 export button
Reviewed By: lblasa

Differential Revision: D47439113

fbshipit-source-id: 551daf5e36463bf54ff8191e313b43dd96003b97
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
af73e5a2b4 app inspect button
Reviewed By: elboman

Differential Revision: D47438914

fbshipit-source-id: 297fba476e348dee89fa723db5303f0342b331c2
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
1463620c28 connectivity button
Reviewed By: elboman

Differential Revision: D47437819

fbshipit-source-id: fa6120f0714f81c99b2b0334a3b55a80d26f35b9
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
e431caf0f9 notification button
Reviewed By: elboman

Differential Revision: D47437749

fbshipit-source-id: 6dd7ded014e79b23328f59994e053d4d48c4eb65
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
9a5d421e0a toggle right sidebar button
Reviewed By: elboman

Differential Revision: D47437493

fbshipit-source-id: c799dddb2bb1a7e6420f41670b130724bb1817eb
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
9882381e48 flipper logs button
Reviewed By: elboman

Differential Revision: D47436310

fbshipit-source-id: cd1359acb046e5f4515ef0fcb60f65a442c8c868
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
c1c6ac41e0 fps graph + network graph
Reviewed By: LukeDefeo

Differential Revision: D47436168

fbshipit-source-id: 02faf84b513ed724bd4e3b5ebd606758301392d5
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
a5c109f762 doctor button
Reviewed By: lblasa

Differential Revision: D47435889

fbshipit-source-id: ff3eef79f50f3b63ada46c6d8349860906e28715
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
5647b9a4b8 start emulator button
Reviewed By: elboman

Differential Revision: D47400275

fbshipit-source-id: 38a0090283e8fc7207b643411246b15a3659616d
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
a7d3c265c6 plugin manager button
Reviewed By: elboman

Differential Revision: D47400185

fbshipit-source-id: fc2875808d8b2c2443766d7619091c65395b0c07
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
5b27a6a4c9 toggle left sidebar button
Reviewed By: elboman

Differential Revision: D47399778

fbshipit-source-id: 842a6900f05e629c4c4fca60928fb9ab107b46fd
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
12997086eb Pretty navbar buttons
Reviewed By: elboman

Differential Revision: D47399039

fbshipit-source-id: c4cc9612a5a9299ebb07e34933b2fa6698f073e7
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
32e19b779f move login button to navbar
Reviewed By: elboman

Differential Revision: D47398401

fbshipit-source-id: 9d49f79e97af5f3373e9c872d9d59e7f9e15694e
2023-07-18 03:52:34 -07:00
Anton Kastritskiy
bdd502d54f navbar placeholder
Reviewed By: elboman

Differential Revision: D47398098

fbshipit-source-id: 6e9518b47292b351153015da233574f7abfd0396
2023-07-18 03:52:34 -07:00
Lorenzo Blasa
fb845a5ae6 Back out "Remove usage of ReactDOM.render for root"
Summary:
Original commit changeset: 2a975690bab0

Original Phabricator Diff: D47257442

For context:
More things need updating and testing. Node, antd, etc. needs all updating.

Once this lands, a new release needs to be made triggered by:
https://www.internalfb.com/chronos/job/gp/27021599065494131

Differential Revision: D47456598

fbshipit-source-id: 1f96e88744b98c7d477c5ccc43167bde475e3036
2023-07-13 18:16:50 -07:00
Andrey Goncharov
ca009d1233 Ignoring errors from "send"
Summary: "send" returns "void" which means we do not care about the execution result, including errors

Reviewed By: lblasa

Differential Revision: D47398015

fbshipit-source-id: ef185575f6e91d69356ab88c7f3d213033759da8
2023-07-13 03:23:56 -07:00
Lorenzo Blasa
f8e51dc847 ConnectivityHub integration
Summary:
This change has a minimal Connectivity Hub with a log viewer of connectivity related events.

The hub is integrated so that is usable.

Reviewed By: antonk52

Differential Revision: D47296027

fbshipit-source-id: 7611ce0b1480e9bdb7cdff2bcedeb445a322c195
2023-07-10 05:52:07 -07:00
Lorenzo Blasa
fc38355eee Centralise logging
Summary:
Centralise connectivity logging into a single place. By having all logs go through a single interface, then it becomes trivial to manipulate them as needed.

In this change, this is not done.

In subsequent diffs, logs will be dispatched via an event and will be visualised in the Connectivity Hub.

Reviewed By: passy

Differential Revision: D47185054

fbshipit-source-id: fb5eab98895be0c8f61fb9a77d3e66d6a8dbcb27
2023-07-10 04:14:14 -07:00
Lorenzo Blasa
87c5296cd8 Scaffolding
Summary:
Scaffolding connectivity hub. The final place may be different though.

But at least for now whilst we iterate on the solution, this should be enough.

Reviewed By: passy

Differential Revision: D47230905

fbshipit-source-id: e3b3f7d773e1bf8b0dd9821cf25c6fa8e77669f4
2023-07-06 06:57:53 -07:00
Lorenzo Blasa
9810edcdfb Remove usage of ReactDOM.render for root
Summary: As per comment, the issue is already fixed and released.

Reviewed By: LukeDefeo

Differential Revision: D47257442

fbshipit-source-id: 2a975690bab0eaed12b6b4233be41f675760a0bc
2023-07-06 05:14:00 -07:00
Pascal Hartig
2b17ac76de Temporarily switch to console-feed mirror
Summary:
See https://github.com/samdenty/console-feed/issues/124.

This is breaking our CI and lots of other things. We should hopefully be able to cleanly revert this on Monday.

Reviewed By: ivanmisuno

Differential Revision: D47150333

fbshipit-source-id: f34d6afdb83607c8ac2cc7fb2989ca68733798e0
2023-06-30 05:53:31 -07:00