Commit Graph

72 Commits (3f0d29dceb2ef49fa54aca40419f96970572793e)

Author SHA1 Message Date
Darren Lines 978b3ce552 Add CLS to CLI
Someone on Discord wanted to be able to enter `cls` to clear the output history in the CLI. Why not?
2 years ago
Andi Kanzler ab7162980b BLE, TCP and UDP Support 3 years ago
breadoven eb70ce5669 Add buttons 3 years ago
Alberto García Hierro 0e01133fc9 Make tab loading async safe and add a small animation
Tab loading was relying on replacing the contents of '#content'
with the loading indicator, then replacing it with the loading tab
content and blocking rendering until the tab was ready by not
yielding. This is problematic for tabs that load some data
asynchronously, like PID and OSD.

Instead, put the loading indicator in front of everything else
and load new content inside '#content' next to the loading indicator
(but without showing it). Once the content and data are fully loaded
we fade out the loading indicator with a 0.4s long animation and
then we remove. This works for both synchronous and asynchonous
loading of tabs.
5 years ago
Pawel Spychalski (DzikuVx) bdb163c4db Fix CLI load save dialogs 5 years ago
Niccolò Maggioni bc0477d55e
Fix CLI commands delay
Refactoring in #804 broke context
5 years ago
Niccolò Maggioni 9e2d1cd777
Port of Copy to Clipboard and Load from File in CLI tab 5 years ago
Pawel Spychalski (DzikuVx) 923559f63f slowdown CLI update rate to prevent missed lines 6 years ago
Niccolò Maggioni 43da66e2b4
Prevent junk at reconnection and use GUI handler 6 years ago
Niccolò Maggioni a340443c43
Rebase CLI tab on latest CF
Integrates Save to File and Clear Output buttons, plus some minor
iNav compatibility patches
6 years ago
Pawel Spychalski (DzikuVx) 4ae45333a8 timeout and retry improvements 8 years ago
Pawel Spychalski (DzikuVx) d1fcb81017 timing methods extracted to separate classes 8 years ago
Pawel Spychalski (DzikuVx) 9de6e9d2f1 fixed reboot sequence 8 years ago
Pawel Spychalski (DzikuVx) 18a00dedf8 MSP refactoring 8 years ago
Pawel 553cf83560 cli timeout increaed to 100ms 8 years ago
Pawel 5cb6a6f3cc increased timeout for CLI commands 8 years ago
Dominic Clifton 60bfeed194 Fix unable to reconnect after disconnecting when CLI was active. 9 years ago
Michael Corcoran 4b5a398e0a CLI: Fix undefined tab_switch_in_progress error 9 years ago
Dominic Clifton 78d7afc029 Fix switching to setup tab for non-VCP targets when clicking another tab
when in the CLI.
9 years ago
Dominic Clifton 31fa4bfaa2 Change VCP reconnect delay to 2.5 seconds. 2 seconds was not long
enough.
9 years ago
Dominic Clifton 7618363449 Improve CLI mode entry/exit detection. Fixes #285.
Disconnects and reconnects for VCP boards.  After manually saving or
exiting on non VCP boards the setup tab will be shown.

See
https://github.com/cleanflight/cleanflight-configurator/issues/285#issuecomment-165096715
9 years ago
Dominic Clifton d73196ea11 Fix toggle buttons reverting to checkboxes after reboot.
This moves GUI specific code out of main and the individual tab js files
into gui.js, where it fits better.
9 years ago
Dominic Clifton 64a031bcbb deleting unused chrome 33+ rendering fix 9 years ago
Kristjan Vaga 76fc0176da Polishing the toolbar related styles. Fixing styles. 9 years ago
skaman82 87e9bfd3d9 ...restoring some files 9 years ago
Dominic Clifton 9583ae81fa Only send 'exit' on cli tab during cleanup if connected. 10 years ago
cTn c0284f1134 ditch some empty callbacks that are now gracefully handled inside the serial layer 10 years ago
cTn e401b1ffce renaming some of the appview hits 10 years ago
cTn f9ff34fb8b prevent re-sending analytics appview on tab re-initialization, add 1500ms delay on configuration save & reboot 10 years ago
cTn 5cd042ae9d remove active_tab_ref, name some of the anonymous functions, cleanup 10 years ago
cTn 2753f354e0 polishing run 10 years ago
cTn e27a194ec7 another refactor for global variables, bugfixes for logging tab initialization in strict mode 10 years ago
cTn ec44b77ff2 lots of work on removing global variables 10 years ago
cTn 20e6ad0074 enable strict mode in couple more files 10 years ago
cTn 1885fba5a0 analytics overhaul 10 years ago
cTn e49f4ea5ff converting tab object initialization 10 years ago
cTn a8e19a6956 cleanup cli history 10 years ago
cTn 799fc76c8e hooking up all of the active_tab references 10 years ago
cTn 75e0accf75 hookup new cleanup system 10 years ago
cTn e37191a1b0 cli in tabs 10 years ago
cTn c6700a8588 equip all tab initializers with callback parameter (currently without hooks) 10 years ago
cTn f649418fdf moving CLI vars around 10 years ago
cTn 6d38e301ef bugfix for glitchy vertical text position in CLI 10 years ago
cTn 2162a2b9d3 pre-enable i18n for all html content in tabs 11 years ago
cTn 1280c7668c optimizing/cleaning up 11 years ago
cTn e01160dae7 trigger line feed for CrOS as well (!OSX) 11 years ago
cTn 2977f9725b removal of clipboard write 11 years ago
cTn 58d43c381b removal of char_counter, new port_usage, i18n
added bitrate to serial object, removed last bits of 'port_handler'
interval code forgotten in the kill routines, new port_usage is now
saved in a separate file
11 years ago
cTn 9b29f78e3e whitespace trimming run 11 years ago
cTn ce351d7521 new UI population / JS execution order
(blink bugfix for several tabs)
11 years ago