Tabs Refactor#491
Merged
david-gasinski merged 4 commits intorelease-alpha-0.1.8from Jan 10, 2025
Merged
Conversation
This was
linked to
issues
Jan 9, 2025
Closed
Closed
Closed
Closed
NexInfinite
suggested changes
Jan 9, 2025
NexInfinite
approved these changes
Jan 10, 2025
…r/486-tabs-refactor
NexInfinite
added a commit
that referenced
this pull request
Feb 28, 2025
* Update package.json for new release (#380) * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Heading and Attitude indicator move side by side if panel is dragged wide enough * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Removed Horizontal scroll bar from FLA * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * fixed spelling * v0.1.9-alpha * added windows build file * added windows building * Forced pytest to prevent execution of tests until simulator is calibrated (#415) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Add RC channel usage to config page (#387) * Add RC usage and data to rc config screen * Remove params print * Heading and Attitude indicator move side by side if panel is dragged wide enough * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Removed Horizontal scroll bar from FLA * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Refactor parameter retrieval in RcController * Update type hints --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * updated styling and fixed scroll area * changed to grid layout * fixed version * fixed sizing * Reduced params timeout so tests don't take 10 years (#418) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Changed parameter timeout from 3 mins to 20 seconds * Skipped buggye test * JS lint only runs on main (#429) * made to release on release-* * fixed JS lint * Fix connect to drone button disabled with no comPorts available (#427) * Updated connectionType to be enum-like improving type safety and maintainability * Fixed connect button disabled condition The button was previously disabled if no com port was found, regardless of if the user was trying to connect over network instead. That's now fixed (com port status doesn't influence if the user can connect over network) --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * Alpha 0.1.8/430 unpredictable follow drone behaviour (#431) * Stop following drone when centering on mission * Stop following drone when user moves map * immediately snap to drone when following rather then waiting for GPS data to be received before snapping (which resulted in a delay) * Alpha 0.1.8/436 add takeoff and landing actions (#437) * Add takeoff and landing functions, need to implement automatic mode switching to guided * Auto set mode to guided before takeoff * Add mission tab to dashboard (#435) * Add mission tab to dashboard * Fix states test * Add distance to next waypoint in mission tab * Add docstrings to mission controller methods * Alpha 0.1.8/436 add takeoff and landing actions (#437) * Add takeoff and landing functions, need to implement automatic mode switching to guided * Auto set mode to guided before takeoff * 432 update docker simulation to choose vehicle type (#433) * Update dockerfile to allow other vehicle types supplied as a runtime parameter * Add named parameters parsing for custom starting location * Add bind mount for custom mission and parameter files --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * added env sample * updated readme about env options * Added default url to env sample * Fixed README backend default port * Add home position marker to map (#443) * Updated autopilot.py to cover different connection types (tcp, serial) and added test coverage (#385) * updated autopilot.py to cover different connection types (tcp, serial) and added test coverage * removed connection type check. Changed error handling in autopilot to monitor Drone().connectionError instead of waiting for exception * Update python ruff issues --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Update drone connection states to use local storage (#445) * Add list of mission commands to filter out before displaying on map (#441) * Add list of mission commands to filter out before sending to frontend * Filter mission item commands on frontend, fix line connections with land and jump commands * Remove dupe key in filter mission item commands list * Add docstring to missionItems component * Alpha 0.1.8/448 fix error in paramscontroller which results in incredibly high timeout values (#449) * Fix timeout bug in paramsController * Remove unneeded while loop * Dashboard refactor/450 move rh toolbar to component (#451) * moved basics to own component - no func as of now * added outside visibilit * added functionality - needs proper testing * fixed mission items filtering * all functionality works * formatted * changed wording * Reset is_listening in motor test controller (#455) * Dashboard refactor/452 turn resizable into parent component (#456) * fixed spelling * moved into resizableInfoBox * format * Dashboard refactor/457 move telemetry information (#458) * moved into new component * formatted * added comments * Dashboard refactor/459 move actions tab (#460) * moved to new component * fixed bugs * formatted * Alpha 0.1.8/446 change docker container for missions test bug (#447) * Update mission upload to retry for 60s, add gitattributes and enable mission test * Add error exception and retries on connection refused error * Add takeoff mission command to mission test --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * 461 move notifications to below toolbar (#463) * moved notifications * cleaned up * formatted * Add context menu for map actions (#462) * Add initial context menu to map * Add drone reposition logic * Add pin on map to display reposition target * Update styling for context menu * updated imports * added docstring to file --------- Co-authored-by: Julian Jones <julianjones663@gmail.com> * Make tcp/com information more clear (#466) * added connected to * cleaned up * Enter on button modals should auto click a button (#468) * done * fixed close submit * Added test cases for MotorController.py and organised radio/tests folder (#407) Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Created functionality for ignoring the update notification until a new update comes out, then it shows it again. (#413) * Created "Don't Show Again" button so the user doesn't have to see the "new update" notification every time * Moved buttons side by side * Removed Testing Variables * Address comments --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Moved prearm messsage next to arm/disarm message (#475) Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> * Change eslint to use " instead of ' (#473) * moved to double quotes * changed to prettier * Add padding to tabs to make it more consistent (#471) * fuck flex boxes :D * formatted * Write tests for controllersflightmodescontrollerpy (#411) * Test cases for Flight Mode Controller * Move success tests to top of testing file --------- Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * fixed bugs in save custom preset (#424) * fixed bugs in save custom preset * addressed comments on Pull Request * fixed no-unused-vars error * fixed no-unused-vars error --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * fixed the problem by using e.preventDefault * Update dockerfile (#481) * 474 must be connected to drone to set the state error popping up (#492) * changed to session storage * fixed <p> issue * added connectioned as session storage * 476 add error boundary to pages (#487) * made error boundary * updated bug report template and added error boundary * formatted * 477 revamp config page (#493) * changed colours * updated motor test * changed styling of rc levels * updated sizing * fixed padding issues and flightModes * formatted * formatted * Tabs Refactor (#491) * tabs refactor * added docstrings and removed caps from import labels * fixed, moved exported functions that arent components into separate files (#495) * moved floatingToolbar (#501) * Alpha 0.1.8/505 support python 3.9 (#512) * Fixed invalid py39 typehints * Ran ruff linter * zoom fixed. Tested on mac (#511) Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * Alpha 0.1.8/496 refactor map (#497) * Refactor dashboard map to split into components * Organise imports --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * buttons no longer crashes into cards. Still needs testing (#515) * add coords to map context menu (#503) * add coords to map context menu * removed unnecessary default param I really don't know why I put it there in the first place??? * formatting * formatting other files? * formatted - not sure why some functions came back? --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian Jones <julianjones663@gmail.com> * Alpha 0.1.8/403 fla changing colours zooms out (#516) * Forced pytest to prevent execution of tests until simulator is calibrated (#415) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Add RC channel usage to config page (#387) * Add RC usage and data to rc config screen * Remove params print * Heading and Attitude indicator move side by side if panel is dragged wide enough * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Removed Horizontal scroll bar from FLA * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Refactor parameter retrieval in RcController * Update type hints --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Reduced params timeout so tests don't take 10 years (#418) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Changed parameter timeout from 3 mins to 20 seconds * Skipped buggye test * updated styling and fixed scroll area * changed to grid layout * fixed sizing * Basis for storing bounds in fla before new graph made. Then passing bounds into graph and restoring bounds it hasnt been merged in a while - based on an older version. Pushed the changed made to older version * graph maintains scale when data or color changes * Update radioCalibration.jsx * Update test_mission.py Merge conflicts * return to original scale when all datasets are cleared --------- Co-authored-by: Joe <joantpat@gmail.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> Co-authored-by: Eoin Ohalloran <eohalloran1@sheffield.ac.uk> * added spaces (#508) Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * 498 create spotlight div and popup (#499) * added button for spotlight * made more dynamic * fixed styling and moved to toolbar * split into compound spotlight * updated to use new action and have a divider * removed old actions * added commands for switching pages * formatted * cleaned up console logs * added comment for default actions * changed comments * simplified down to functions * fomratted --------- Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Alpha 0.1.8/514 make settings modal and add basic settings (#524) * Settings in progress * Included settings modal in settings provider so modal can be opened through a number of methods * Removed squiggly red line * Removed bad setting * Added settings panel to spotlight * Add settings * Wrap singlerunwrapper so enableAutoUpdates can be checked before checking for FGCS updates * Updated settings * Proto pollution fix * added no setting available message * Use env maptiler key * Hide maptiler key * centered modal --------- Co-authored-by: Julian Jones <julianjones663@gmail.com> * fixed tests --------- Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Joe <joantpat@gmail.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Ben Gilbert <bensgilbert@outlook.com> Co-authored-by: David Gasinski <118130264+david-gasinski@users.noreply.github.com> Co-authored-by: Eoin Ohalloran <eohalloran1@sheffield.ac.uk>
NexInfinite
added a commit
that referenced
this pull request
Mar 2, 2025
* Update package.json for new release (#380) * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Heading and Attitude indicator move side by side if panel is dragged wide enough * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Removed Horizontal scroll bar from FLA * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * fixed spelling * v0.1.9-alpha * added windows build file * added windows building * Forced pytest to prevent execution of tests until simulator is calibrated (#415) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Add RC channel usage to config page (#387) * Add RC usage and data to rc config screen * Remove params print * Heading and Attitude indicator move side by side if panel is dragged wide enough * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Removed Horizontal scroll bar from FLA * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Refactor parameter retrieval in RcController * Update type hints --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * updated styling and fixed scroll area * changed to grid layout * fixed version * fixed sizing * Reduced params timeout so tests don't take 10 years (#418) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Changed parameter timeout from 3 mins to 20 seconds * Skipped buggye test * JS lint only runs on main (#429) * made to release on release-* * fixed JS lint * Fix connect to drone button disabled with no comPorts available (#427) * Updated connectionType to be enum-like improving type safety and maintainability * Fixed connect button disabled condition The button was previously disabled if no com port was found, regardless of if the user was trying to connect over network instead. That's now fixed (com port status doesn't influence if the user can connect over network) --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * Alpha 0.1.8/430 unpredictable follow drone behaviour (#431) * Stop following drone when centering on mission * Stop following drone when user moves map * immediately snap to drone when following rather then waiting for GPS data to be received before snapping (which resulted in a delay) * Alpha 0.1.8/436 add takeoff and landing actions (#437) * Add takeoff and landing functions, need to implement automatic mode switching to guided * Auto set mode to guided before takeoff * Add mission tab to dashboard (#435) * Add mission tab to dashboard * Fix states test * Add distance to next waypoint in mission tab * Add docstrings to mission controller methods * Alpha 0.1.8/436 add takeoff and landing actions (#437) * Add takeoff and landing functions, need to implement automatic mode switching to guided * Auto set mode to guided before takeoff * 432 update docker simulation to choose vehicle type (#433) * Update dockerfile to allow other vehicle types supplied as a runtime parameter * Add named parameters parsing for custom starting location * Add bind mount for custom mission and parameter files --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * added env sample * updated readme about env options * Added default url to env sample * Fixed README backend default port * Add home position marker to map (#443) * Updated autopilot.py to cover different connection types (tcp, serial) and added test coverage (#385) * updated autopilot.py to cover different connection types (tcp, serial) and added test coverage * removed connection type check. Changed error handling in autopilot to monitor Drone().connectionError instead of waiting for exception * Update python ruff issues --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Update drone connection states to use local storage (#445) * Add list of mission commands to filter out before displaying on map (#441) * Add list of mission commands to filter out before sending to frontend * Filter mission item commands on frontend, fix line connections with land and jump commands * Remove dupe key in filter mission item commands list * Add docstring to missionItems component * Alpha 0.1.8/448 fix error in paramscontroller which results in incredibly high timeout values (#449) * Fix timeout bug in paramsController * Remove unneeded while loop * Dashboard refactor/450 move rh toolbar to component (#451) * moved basics to own component - no func as of now * added outside visibilit * added functionality - needs proper testing * fixed mission items filtering * all functionality works * formatted * changed wording * Reset is_listening in motor test controller (#455) * Dashboard refactor/452 turn resizable into parent component (#456) * fixed spelling * moved into resizableInfoBox * format * Dashboard refactor/457 move telemetry information (#458) * moved into new component * formatted * added comments * Dashboard refactor/459 move actions tab (#460) * moved to new component * fixed bugs * formatted * Alpha 0.1.8/446 change docker container for missions test bug (#447) * Update mission upload to retry for 60s, add gitattributes and enable mission test * Add error exception and retries on connection refused error * Add takeoff mission command to mission test --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * 461 move notifications to below toolbar (#463) * moved notifications * cleaned up * formatted * Add context menu for map actions (#462) * Add initial context menu to map * Add drone reposition logic * Add pin on map to display reposition target * Update styling for context menu * updated imports * added docstring to file --------- Co-authored-by: Julian Jones <julianjones663@gmail.com> * Make tcp/com information more clear (#466) * added connected to * cleaned up * Enter on button modals should auto click a button (#468) * done * fixed close submit * Added test cases for MotorController.py and organised radio/tests folder (#407) Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Created functionality for ignoring the update notification until a new update comes out, then it shows it again. (#413) * Created "Don't Show Again" button so the user doesn't have to see the "new update" notification every time * Moved buttons side by side * Removed Testing Variables * Address comments --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Moved prearm messsage next to arm/disarm message (#475) Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> * Change eslint to use " instead of ' (#473) * moved to double quotes * changed to prettier * Add padding to tabs to make it more consistent (#471) * fuck flex boxes :D * formatted * Write tests for controllersflightmodescontrollerpy (#411) * Test cases for Flight Mode Controller * Move success tests to top of testing file --------- Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * fixed bugs in save custom preset (#424) * fixed bugs in save custom preset * addressed comments on Pull Request * fixed no-unused-vars error * fixed no-unused-vars error --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * fixed the problem by using e.preventDefault * Update dockerfile (#481) * 474 must be connected to drone to set the state error popping up (#492) * changed to session storage * fixed <p> issue * added connectioned as session storage * 476 add error boundary to pages (#487) * made error boundary * updated bug report template and added error boundary * formatted * 477 revamp config page (#493) * changed colours * updated motor test * changed styling of rc levels * updated sizing * fixed padding issues and flightModes * formatted * formatted * Tabs Refactor (#491) * tabs refactor * added docstrings and removed caps from import labels * fixed, moved exported functions that arent components into separate files (#495) * moved floatingToolbar (#501) * Alpha 0.1.8/505 support python 3.9 (#512) * Fixed invalid py39 typehints * Ran ruff linter * zoom fixed. Tested on mac (#511) Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * Alpha 0.1.8/496 refactor map (#497) * Refactor dashboard map to split into components * Organise imports --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * buttons no longer crashes into cards. Still needs testing (#515) * add coords to map context menu (#503) * add coords to map context menu * removed unnecessary default param I really don't know why I put it there in the first place??? * formatting * formatting other files? * formatted - not sure why some functions came back? --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian Jones <julianjones663@gmail.com> * Alpha 0.1.8/403 fla changing colours zooms out (#516) * Forced pytest to prevent execution of tests until simulator is calibrated (#415) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Add RC channel usage to config page (#387) * Add RC usage and data to rc config screen * Remove params print * Heading and Attitude indicator move side by side if panel is dragged wide enough * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Removed Horizontal scroll bar from FLA * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Refactor parameter retrieval in RcController * Update type hints --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Reduced params timeout so tests don't take 10 years (#418) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Changed parameter timeout from 3 mins to 20 seconds * Skipped buggye test * updated styling and fixed scroll area * changed to grid layout * fixed sizing * Basis for storing bounds in fla before new graph made. Then passing bounds into graph and restoring bounds it hasnt been merged in a while - based on an older version. Pushed the changed made to older version * graph maintains scale when data or color changes * Update radioCalibration.jsx * Update test_mission.py Merge conflicts * return to original scale when all datasets are cleared --------- Co-authored-by: Joe <joantpat@gmail.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> Co-authored-by: Eoin Ohalloran <eohalloran1@sheffield.ac.uk> * added spaces (#508) Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * 498 create spotlight div and popup (#499) * added button for spotlight * made more dynamic * fixed styling and moved to toolbar * split into compound spotlight * updated to use new action and have a divider * removed old actions * added commands for switching pages * formatted * cleaned up console logs * added comment for default actions * changed comments * simplified down to functions * fomratted --------- Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Alpha 0.1.8/514 make settings modal and add basic settings (#524) * Settings in progress * Included settings modal in settings provider so modal can be opened through a number of methods * Removed squiggly red line * Removed bad setting * Added settings panel to spotlight * Add settings * Wrap singlerunwrapper so enableAutoUpdates can be checked before checking for FGCS updates * Updated settings * Proto pollution fix * added no setting available message * Use env maptiler key * Hide maptiler key * centered modal --------- Co-authored-by: Julian Jones <julianjones663@gmail.com> * fixed tests * Moved SettingsModal to main.jsx (#528) * Fixed spotlight on mac (#530) * fixed mac spotlight * removed shortcuts * did keybinding * cleaned up * format --------- Co-authored-by: Kwashie A <104215256+Kwash67@users.noreply.github.com> * Fixed windows building (#534) * formatted and fixed merge --------- Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Joe <joantpat@gmail.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Ben Gilbert <bensgilbert@outlook.com> Co-authored-by: David Gasinski <118130264+david-gasinski@users.noreply.github.com> Co-authored-by: Eoin Ohalloran <eohalloran1@sheffield.ac.uk>
NexInfinite
added a commit
that referenced
this pull request
Mar 8, 2025
* Update package.json for new release (#380) * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Heading and Attitude indicator move side by side if panel is dragged wide enough * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Removed Horizontal scroll bar from FLA * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * fixed spelling * v0.1.9-alpha * added windows build file * added windows building * Forced pytest to prevent execution of tests until simulator is calibrated (#415) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Add RC channel usage to config page (#387) * Add RC usage and data to rc config screen * Remove params print * Heading and Attitude indicator move side by side if panel is dragged wide enough * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Removed Horizontal scroll bar from FLA * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Refactor parameter retrieval in RcController * Update type hints --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * updated styling and fixed scroll area * changed to grid layout * fixed version * fixed sizing * Reduced params timeout so tests don't take 10 years (#418) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Changed parameter timeout from 3 mins to 20 seconds * Skipped buggye test * JS lint only runs on main (#429) * made to release on release-* * fixed JS lint * Fix connect to drone button disabled with no comPorts available (#427) * Updated connectionType to be enum-like improving type safety and maintainability * Fixed connect button disabled condition The button was previously disabled if no com port was found, regardless of if the user was trying to connect over network instead. That's now fixed (com port status doesn't influence if the user can connect over network) --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * Alpha 0.1.8/430 unpredictable follow drone behaviour (#431) * Stop following drone when centering on mission * Stop following drone when user moves map * immediately snap to drone when following rather then waiting for GPS data to be received before snapping (which resulted in a delay) * Alpha 0.1.8/436 add takeoff and landing actions (#437) * Add takeoff and landing functions, need to implement automatic mode switching to guided * Auto set mode to guided before takeoff * Add mission tab to dashboard (#435) * Add mission tab to dashboard * Fix states test * Add distance to next waypoint in mission tab * Add docstrings to mission controller methods * Alpha 0.1.8/436 add takeoff and landing actions (#437) * Add takeoff and landing functions, need to implement automatic mode switching to guided * Auto set mode to guided before takeoff * 432 update docker simulation to choose vehicle type (#433) * Update dockerfile to allow other vehicle types supplied as a runtime parameter * Add named parameters parsing for custom starting location * Add bind mount for custom mission and parameter files --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * added env sample * updated readme about env options * Added default url to env sample * Fixed README backend default port * Add home position marker to map (#443) * Updated autopilot.py to cover different connection types (tcp, serial) and added test coverage (#385) * updated autopilot.py to cover different connection types (tcp, serial) and added test coverage * removed connection type check. Changed error handling in autopilot to monitor Drone().connectionError instead of waiting for exception * Update python ruff issues --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Update drone connection states to use local storage (#445) * Add list of mission commands to filter out before displaying on map (#441) * Add list of mission commands to filter out before sending to frontend * Filter mission item commands on frontend, fix line connections with land and jump commands * Remove dupe key in filter mission item commands list * Add docstring to missionItems component * Alpha 0.1.8/448 fix error in paramscontroller which results in incredibly high timeout values (#449) * Fix timeout bug in paramsController * Remove unneeded while loop * Dashboard refactor/450 move rh toolbar to component (#451) * moved basics to own component - no func as of now * added outside visibilit * added functionality - needs proper testing * fixed mission items filtering * all functionality works * formatted * changed wording * Reset is_listening in motor test controller (#455) * Dashboard refactor/452 turn resizable into parent component (#456) * fixed spelling * moved into resizableInfoBox * format * Dashboard refactor/457 move telemetry information (#458) * moved into new component * formatted * added comments * Dashboard refactor/459 move actions tab (#460) * moved to new component * fixed bugs * formatted * Alpha 0.1.8/446 change docker container for missions test bug (#447) * Update mission upload to retry for 60s, add gitattributes and enable mission test * Add error exception and retries on connection refused error * Add takeoff mission command to mission test --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * 461 move notifications to below toolbar (#463) * moved notifications * cleaned up * formatted * Add context menu for map actions (#462) * Add initial context menu to map * Add drone reposition logic * Add pin on map to display reposition target * Update styling for context menu * updated imports * added docstring to file --------- Co-authored-by: Julian Jones <julianjones663@gmail.com> * Make tcp/com information more clear (#466) * added connected to * cleaned up * Enter on button modals should auto click a button (#468) * done * fixed close submit * Added test cases for MotorController.py and organised radio/tests folder (#407) Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Created functionality for ignoring the update notification until a new update comes out, then it shows it again. (#413) * Created "Don't Show Again" button so the user doesn't have to see the "new update" notification every time * Moved buttons side by side * Removed Testing Variables * Address comments --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Moved prearm messsage next to arm/disarm message (#475) Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> * Change eslint to use " instead of ' (#473) * moved to double quotes * changed to prettier * Add padding to tabs to make it more consistent (#471) * fuck flex boxes :D * formatted * Write tests for controllersflightmodescontrollerpy (#411) * Test cases for Flight Mode Controller * Move success tests to top of testing file --------- Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * fixed bugs in save custom preset (#424) * fixed bugs in save custom preset * addressed comments on Pull Request * fixed no-unused-vars error * fixed no-unused-vars error --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * fixed the problem by using e.preventDefault * Update dockerfile (#481) * 474 must be connected to drone to set the state error popping up (#492) * changed to session storage * fixed <p> issue * added connectioned as session storage * 476 add error boundary to pages (#487) * made error boundary * updated bug report template and added error boundary * formatted * 477 revamp config page (#493) * changed colours * updated motor test * changed styling of rc levels * updated sizing * fixed padding issues and flightModes * formatted * formatted * Tabs Refactor (#491) * tabs refactor * added docstrings and removed caps from import labels * fixed, moved exported functions that arent components into separate files (#495) * moved floatingToolbar (#501) * Alpha 0.1.8/505 support python 3.9 (#512) * Fixed invalid py39 typehints * Ran ruff linter * zoom fixed. Tested on mac (#511) Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * Alpha 0.1.8/496 refactor map (#497) * Refactor dashboard map to split into components * Organise imports --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * buttons no longer crashes into cards. Still needs testing (#515) * add coords to map context menu (#503) * add coords to map context menu * removed unnecessary default param I really don't know why I put it there in the first place??? * formatting * formatting other files? * formatted - not sure why some functions came back? --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian Jones <julianjones663@gmail.com> * Alpha 0.1.8/403 fla changing colours zooms out (#516) * Forced pytest to prevent execution of tests until simulator is calibrated (#415) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Add RC channel usage to config page (#387) * Add RC usage and data to rc config screen * Remove params print * Heading and Attitude indicator move side by side if panel is dragged wide enough * Refactored to use tailwind plugin container queries for displaying altitude and heading indicator * Added method to truncate text in FLA preset buttons if too big * Moved tooltip to the right of the button * Removed Horizontal scroll bar from FLA * Message to tell user no actions are available when drone not connected When no drones are connected (cleaner then putting an else at the end of the code. Also had seen similar use throughout code) Display the message Else run existing code for when there is a connection (show actions) * Alpha 0.1.8/389 save custom presets (#404) * save and delete custom preset functionality added * Enhanced preset accordion item filtering logic * implemented save custom presets and began refactoring fla.jsx * formatting * Updated stylings and no "aircraft type" for fla page (#402) * Updated stylings and no aircraft type for fla page * Updated styles of fla file type page * Updated styling * Corrected Styling for file type to suit design more * Added open file functionality to file name at the top of fla * added some rounding --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Refactor parameter retrieval in RcController * Update type hints --------- Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> * Reduced params timeout so tests don't take 10 years (#418) * Added waitUntilCalibrated functionality * Added more retries to mavlink connect * Changed parameter timeout from 3 mins to 20 seconds * Skipped buggye test * updated styling and fixed scroll area * changed to grid layout * fixed sizing * Basis for storing bounds in fla before new graph made. Then passing bounds into graph and restoring bounds it hasnt been merged in a while - based on an older version. Pushed the changed made to older version * graph maintains scale when data or color changes * Update radioCalibration.jsx * Update test_mission.py Merge conflicts * return to original scale when all datasets are cleared --------- Co-authored-by: Joe <joantpat@gmail.com> Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> Co-authored-by: Eoin Ohalloran <eohalloran1@sheffield.ac.uk> * added spaces (#508) Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> * 498 create spotlight div and popup (#499) * added button for spotlight * made more dynamic * fixed styling and moved to toolbar * split into compound spotlight * updated to use new action and have a divider * removed old actions * added commands for switching pages * formatted * cleaned up console logs * added comment for default actions * changed comments * simplified down to functions * fomratted --------- Co-authored-by: Kush Makkapati <kush.makkapati@icloud.com> * Alpha 0.1.8/514 make settings modal and add basic settings (#524) * Settings in progress * Included settings modal in settings provider so modal can be opened through a number of methods * Removed squiggly red line * Removed bad setting * Added settings panel to spotlight * Add settings * Wrap singlerunwrapper so enableAutoUpdates can be checked before checking for FGCS updates * Updated settings * Proto pollution fix * added no setting available message * Use env maptiler key * Hide maptiler key * centered modal --------- Co-authored-by: Julian Jones <julianjones663@gmail.com> * fixed tests * Moved SettingsModal to main.jsx (#528) * Fixed spotlight on mac (#530) * fixed mac spotlight * removed shortcuts * did keybinding * cleaned up * format --------- Co-authored-by: Kwashie A <104215256+Kwash67@users.noreply.github.com> * Fixed windows building (#534) * formatted and fixed merge * Fix socket connection state not updating --------- Co-authored-by: Julian Jones <37962677+NexInfinite@users.noreply.github.com> Co-authored-by: ShadabMir <142747276+ShadabMir@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-the-fish@users.noreply.github.com> Co-authored-by: eoinohall <eohalloran410@gmail.com> Co-authored-by: Kwashie A. <104215256+Kwash67@users.noreply.github.com> Co-authored-by: Harry Bond <86840934+harry-bond@users.noreply.github.com> Co-authored-by: Julian <julianjones663@gmail.com> Co-authored-by: Joe <joantpat@gmail.com> Co-authored-by: Ben Gilbert <bensgilbert@outlook.com> Co-authored-by: David Gasinski <118130264+david-gasinski@users.noreply.github.com> Co-authored-by: Eoin Ohalloran <eohalloran1@sheffield.ac.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues: