Commit Graph

404 Commits

Author SHA1 Message Date
Lorenzo Blasa
1b5b4e94f2 Remove GK
Summary:
The intention was to fine tune everything, internally, before making it available.

Because we can immediately benefit from having it, for troubleshooting, then remove the GK

Reviewed By: LukeDefeo, antonk52

Differential Revision: D47868827

fbshipit-source-id: 4d6356081a4abeea8912f20aad065523e7183da8
2023-07-28 05:34:45 -07:00
Lorenzo Blasa
2c310690d1 Remove sidebar title
Summary: ^

Reviewed By: antonk52

Differential Revision: D47868788

fbshipit-source-id: 0e8c4a224140d9c8f1ff91ce282112919ad650bd
2023-07-28 05:34:45 -07:00
Lorenzo Blasa
b1b056485c Top level selection moved to reducer
Summary:
Intention of this change is to simplify and standardise the way top level selection is done.

Top level selection is now part of the state, and thus setting it is done in the reducer instead.

Reviewed By: antonk52

Differential Revision: D47844742

fbshipit-source-id: 8e5aad8975f0046b85098b988cca40228316c249
2023-07-28 04:40:45 -07:00
Lorenzo Blasa
63ed9d7324 Unable to find device notification key
Summary: Add a key such that the same notification does not appear again for the same device/app.

Reviewed By: antonk52

Differential Revision: D47835045

fbshipit-source-id: 78237b4102aa199ebea23b7c5726b567fc4de91e
2023-07-28 04:40:45 -07:00
Lorenzo Blasa
2fd94048fb Fixes an issue with selection by refactoring
Summary: Refactor was going to happen, but it was required at this stage as to fix a selection problem.

Reviewed By: LukeDefeo

Differential Revision: D47831239

fbshipit-source-id: 87ce6250721f6d3df3e826e779409625ddc85660
2023-07-27 04:36:24 -07:00
Lorenzo Blasa
9a2ff5d88d Add sidebar to visualise entry details
Summary: Follow-up from previous diff. Details can be visualised.

Reviewed By: antonk52

Differential Revision: D47797513

fbshipit-source-id: 9a560e3c7da1c9ceffd421ac2670559fdb255204
2023-07-26 09:17:28 -07:00
Lorenzo Blasa
8fc56925a9 Make connectivity log entries selectable
Summary: Once an item is selected, more details can be shown to our users.

Reviewed By: antonk52

Differential Revision: D47797390

fbshipit-source-id: 1bf98f81df32d103f7c0fc332f819507dcf84cc2
2023-07-26 09:17:28 -07:00
Lorenzo Blasa
c3a40ab0ab Clear connectivity logs button
Summary: Add the option to clear the connectivity logs.

Reviewed By: antonk52

Differential Revision: D47797301

fbshipit-source-id: ce9414f3057cab367d34524717c83bfbf0703c0c
2023-07-26 08:16:47 -07:00
Lorenzo Blasa
fa1c2db026 Exchange medium always visible
Summary: ^

Reviewed By: antonk52

Differential Revision: D47797219

fbshipit-source-id: ec643abce429157ca54eb1253d658117cc759565
2023-07-26 08:16:47 -07:00
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