-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new wireless settings for Defy keyboards #473
Merged
Merged
Conversation
This file contains 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
…f the device connection
…low users manage the battery
…s present applied to raise
AlexDygma
added a commit
that referenced
this pull request
Sep 26, 2023
* Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The AdvancedBatterySettingsModal.tsx file was invoking a library that wasnt compatible with TS Signed-off-by: AlexDygma <[email protected]> * Add EurKEY (alphas) language support Signed-off-by: Johan Eklund <[email protected]> * Update naming convention Signed-off-by: Johan Eklund <[email protected]> * Add language names Signed-off-by: Johan Eklund <[email protected]> * Lower- and uppercase alpha (with and without altgr) and symbols Signed-off-by: Johan Eklund <[email protected]> * Add version to EurKEY language name Signed-off-by: Johan Eklund <[email protected]> * Remove duplicated keyboard layouts Signed-off-by: Johan Eklund <[email protected]> * Layout editor with wireless buttons (#474) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * feat(layouteditor): added a new buttons to manage the wireless and battery in Layout Editor * chore(standardview): added new buttons in standard view when the device connected is wireless * chore(layoutefitor): added a loader element in Layout Editor * chore(layouteditor): adjusted the buttons position in single view * fix: solved Typescript problems in several new files * chore: changed texts for buttons and disabled advanced settings * fix: moved wireless buttons descriptions to a proper place --------- Co-authored-by: Thiago Hernandez <[email protected]> * Re-align with Keypicker.js due to changes in #474 (#475) Signed-off-by: Johan Eklund <[email protected]> Co-authored-by: AlexDygma <[email protected]> * fix: iPC handlers where being set twice, now they del previous handler when creating new one (#476) * chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#468) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: macro names could be searched upon undefined macros (#477) * fix: bootloader enumeration of Raise neuron tried to read ChipID (#478) * fix: changed filter to take into account proper beta versioning name (#483) * Dual function keys should have lowercase a-z (#479) Signed-off-by: Johan Eklund <[email protected]> * chore: pushed version to 1.3.2 (#484) * Fix mac universal bundle (#482) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event --------- Co-authored-by: Javier Guzman <[email protected]> * Fix universal (#485) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event * fix: comment list drives handler * fix: trigger CI * fix: enable staging workflow * fix: revert mac universal * fix: remove universal from CI * fix: fix Sahira errors * ci: staging only on development again --------- Co-authored-by: Alejandro Parcet <[email protected]> * fix: removed await because it was blocking the startup of Bazecor * revert: remove async from main load process * refactor: move removeIPCs to index * fix: remove universal from make-dev * fix: remove properly usb when closing window * Start crafting Bépo keyboard picker * fix: added udev rules for Dygma USB VID number * First round for bépo * Finish Bépo keyboard picker. * Fix default bépo import * Add AltGr on numbers and a few punctuation * Move to punctuation some chars. * fix: add cross-env so env. variables can be used in different OSs (#488) * fix: add cross-env so env. variables can be used in different OSs * fix: add signing to commitizen * fix: change commitizen flag * fix: removing universal from workflows again? * fix: change commitizen sign command * fix: use correct sign command for comittizen * Add altGrShift, but see no effects * build: generate dmg for intel and arm individually (#490) * fix(buttons): added new colors to improve the accessibility in buttons * chore(button): added new button variation on button components * chore(neuronstatus): changed the way the connected device is highlighted in keyboard selection * chore: added supports to typwscript using styled-components * chore: fixed typescript errors in NeuronStatus component * chore: fixed NeuronStatus typescript erros * chore(neuronstatus): replace the js file extention to tsx in NeuronStatus component * chore: fix typescript errors in NeuronStatus component" * chore: changed the file structured in NeuronStatus component * chore: added new colors cue to the selected device * chore: changed to FirmwareImageHelp to typescript * chore: changed the files structured in Firmware update * chore: added new visual cues to firmware process update process * Do not render none standard Bépo chars. * chore: fixed animation on Raise firmware update process * chore: changed file structure to achieve smooth animation * Changed Defy update status on firmware update * chore(firmwaredefyupdatingstatus): converted FirmwareDefyUpdatingStatus to typescript * chore: redo deleted file * chore: renamed FirmwareDefyFlahingStatus * chore: deleted FirmwareDefyFlashingStatus * chore(batterystatussside): renamed BatteryStatusSide file * chore: converted BatteryStatusSide to typescript * chore: rename DefyBatteryIndicator file * chore: converted DefyBatteryIndicator to typescript * chore: changed texts in Raise flashing procedure n * chore: changed DefyBatteryIndicatorLeft file extension * chore: added new styles to DefyBatteryIndicator * chore: change texts in flashing procedure * fix: improve mask values in battery svgs * chore: removed test messsage on BatterySettings * chore: changed file extension * chore(defybatteryindicatorright): converted file to typescript * chore: removed cycle dependency * chore: changed file extension * chore: changed file extension * chore: changed file extension * chore: converted file to typescript * chore: changed file extension * chore: converted files to typescript * chore: added new styles to BatteryIndicator * build: bump uihook version to 1.5.2 486 * chore: removed comments in BatteryStatus modal * Remove snowman and unused code. * Update syntax. * Remove other symbols not part of Bépo. * Remove warning. * chore: added media to Callout in SuperKyes view * chore: added media in Callouts in Standard View mode n * chore: added new styles and loading statuses * feat: added a product info when export single layer * fix: fixed defy-t3 key shape on Defy keyboard representation * fix: changed the way that different battery status is rendered * fix: changed the way the battery status is render in sidebarmenu * chore: changed the way to set visual cues in BattereryIndicator * fix(buttons): fixed buttons focus statuses * chore: fixed focus status in buttons * fix: fix responsive issues in ordinary keyboard * chore: fixed battery status when the charging is done * chore: fix the way we call the battery level * chore(logoloader): renamed LogoLoader file * chore(logoloader): logoLoader converted to typescript file * fix(logoloadercentered): fixed type on LogoLoaderCentered component * feat: add British layout, so Defy shows ISO English (#491) * feat: add British layout, so Defy shows ISO English * chore: added new flags images to the library * fix(recormacroeditormodal): fixed the button width in Macro Editor * fix(recordmacromodal): fixed the autocus after the user start a record a macro * fix(firmwareerrorpanel): removed loading status in FirmwareErrorPanel component * Improve udevs (#495) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * Improve udevs (#496) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * Remove bluetooth status (#499) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * refactor: refactor of HW codes and remove bluetooth status mode * fix: removing of ble devices when upgrade (#498) Right now the upgrade was removing all the memory of the N2 just added a few lines to just remove the hex content + 1024 bytes Signed-off-by: noteolvides <[email protected]> * Revert "fix: removing of ble devices when upgrade (#498)" (#502) This reverts commit 8e17024. * chore(removed status connection from wireless panel): removed status connection from wireless panel * Cleanup and maintenance (#503) * chore: removed unused file * chore: solved lint issues with index.tsx file * chore: cleanup of old references, using alias instead * docs: improved documentation about FOCUS.API LED commands * chore: changed documentation code representaiton to a more legible version" * chore: changed extension of welcome.js to tsx * chore: added changes to fix typescript support on welcome.tsx * chore: fixed FWUpdate imports * chore: used Typescript for FirwmareUpdate view * chore: changed format of advBattSettingsModal to tsx * fix: resolved erros with advBattery settings * solved data issues with latest FW * fix: wireless features were using wrong focus access methods * fix: added types for react-rangeslider * fix: added definition for typescript types of rangeslider * fix: solved firmwareUpdate tsx issues due to wrong definitions * feat: added ESC key injection before flashing procedure * fix: nested macro selector now shows selected nest properly * refactor: transformed PageHeader to Typescript * fix: solved erratas in repair * chore: cleared erros from MacroEditor.js file * fix: transform macroEditor to jsx format * fix: macro editor did not replace correctly deleted macros in keymap * fix: colorEditor was wrongly assigning UG LED (70) as BL when using auto button * refactor: rewritten UI for delete macro replacement modal due to not being readable --------- Signed-off-by: Alejandro Parcet <[email protected]> Signed-off-by: AlexDygma <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Johan Eklund <[email protected]> Signed-off-by: noteolvides <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Javier Guzman <[email protected]> Co-authored-by: Johan Eklund <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Gustavo Gomez Lopez De San Roman <[email protected]>
AlexDygma
added a commit
that referenced
this pull request
Sep 26, 2023
* Bz1.3.2+ (#506) * Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The AdvancedBatterySettingsModal.tsx file was invoking a library that wasnt compatible with TS Signed-off-by: AlexDygma <[email protected]> * Add EurKEY (alphas) language support Signed-off-by: Johan Eklund <[email protected]> * Update naming convention Signed-off-by: Johan Eklund <[email protected]> * Add language names Signed-off-by: Johan Eklund <[email protected]> * Lower- and uppercase alpha (with and without altgr) and symbols Signed-off-by: Johan Eklund <[email protected]> * Add version to EurKEY language name Signed-off-by: Johan Eklund <[email protected]> * Remove duplicated keyboard layouts Signed-off-by: Johan Eklund <[email protected]> * Layout editor with wireless buttons (#474) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * feat(layouteditor): added a new buttons to manage the wireless and battery in Layout Editor * chore(standardview): added new buttons in standard view when the device connected is wireless * chore(layoutefitor): added a loader element in Layout Editor * chore(layouteditor): adjusted the buttons position in single view * fix: solved Typescript problems in several new files * chore: changed texts for buttons and disabled advanced settings * fix: moved wireless buttons descriptions to a proper place --------- Co-authored-by: Thiago Hernandez <[email protected]> * Re-align with Keypicker.js due to changes in #474 (#475) Signed-off-by: Johan Eklund <[email protected]> Co-authored-by: AlexDygma <[email protected]> * fix: iPC handlers where being set twice, now they del previous handler when creating new one (#476) * chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#468) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: macro names could be searched upon undefined macros (#477) * fix: bootloader enumeration of Raise neuron tried to read ChipID (#478) * fix: changed filter to take into account proper beta versioning name (#483) * Dual function keys should have lowercase a-z (#479) Signed-off-by: Johan Eklund <[email protected]> * chore: pushed version to 1.3.2 (#484) * Fix mac universal bundle (#482) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event --------- Co-authored-by: Javier Guzman <[email protected]> * Fix universal (#485) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event * fix: comment list drives handler * fix: trigger CI * fix: enable staging workflow * fix: revert mac universal * fix: remove universal from CI * fix: fix Sahira errors * ci: staging only on development again --------- Co-authored-by: Alejandro Parcet <[email protected]> * fix: removed await because it was blocking the startup of Bazecor * revert: remove async from main load process * refactor: move removeIPCs to index * fix: remove universal from make-dev * fix: remove properly usb when closing window * Start crafting Bépo keyboard picker * fix: added udev rules for Dygma USB VID number * First round for bépo * Finish Bépo keyboard picker. * Fix default bépo import * Add AltGr on numbers and a few punctuation * Move to punctuation some chars. * fix: add cross-env so env. variables can be used in different OSs (#488) * fix: add cross-env so env. variables can be used in different OSs * fix: add signing to commitizen * fix: change commitizen flag * fix: removing universal from workflows again? * fix: change commitizen sign command * fix: use correct sign command for comittizen * Add altGrShift, but see no effects * build: generate dmg for intel and arm individually (#490) * fix(buttons): added new colors to improve the accessibility in buttons * chore(button): added new button variation on button components * chore(neuronstatus): changed the way the connected device is highlighted in keyboard selection * chore: added supports to typwscript using styled-components * chore: fixed typescript errors in NeuronStatus component * chore: fixed NeuronStatus typescript erros * chore(neuronstatus): replace the js file extention to tsx in NeuronStatus component * chore: fix typescript errors in NeuronStatus component" * chore: changed the file structured in NeuronStatus component * chore: added new colors cue to the selected device * chore: changed to FirmwareImageHelp to typescript * chore: changed the files structured in Firmware update * chore: added new visual cues to firmware process update process * Do not render none standard Bépo chars. * chore: fixed animation on Raise firmware update process * chore: changed file structure to achieve smooth animation * Changed Defy update status on firmware update * chore(firmwaredefyupdatingstatus): converted FirmwareDefyUpdatingStatus to typescript * chore: redo deleted file * chore: renamed FirmwareDefyFlahingStatus * chore: deleted FirmwareDefyFlashingStatus * chore(batterystatussside): renamed BatteryStatusSide file * chore: converted BatteryStatusSide to typescript * chore: rename DefyBatteryIndicator file * chore: converted DefyBatteryIndicator to typescript * chore: changed texts in Raise flashing procedure n * chore: changed DefyBatteryIndicatorLeft file extension * chore: added new styles to DefyBatteryIndicator * chore: change texts in flashing procedure * fix: improve mask values in battery svgs * chore: removed test messsage on BatterySettings * chore: changed file extension * chore(defybatteryindicatorright): converted file to typescript * chore: removed cycle dependency * chore: changed file extension * chore: changed file extension * chore: changed file extension * chore: converted file to typescript * chore: changed file extension * chore: converted files to typescript * chore: added new styles to BatteryIndicator * build: bump uihook version to 1.5.2 486 * chore: removed comments in BatteryStatus modal * Remove snowman and unused code. * Update syntax. * Remove other symbols not part of Bépo. * Remove warning. * chore: added media to Callout in SuperKyes view * chore: added media in Callouts in Standard View mode n * chore: added new styles and loading statuses * feat: added a product info when export single layer * fix: fixed defy-t3 key shape on Defy keyboard representation * fix: changed the way that different battery status is rendered * fix: changed the way the battery status is render in sidebarmenu * chore: changed the way to set visual cues in BattereryIndicator * fix(buttons): fixed buttons focus statuses * chore: fixed focus status in buttons * fix: fix responsive issues in ordinary keyboard * chore: fixed battery status when the charging is done * chore: fix the way we call the battery level * chore(logoloader): renamed LogoLoader file * chore(logoloader): logoLoader converted to typescript file * fix(logoloadercentered): fixed type on LogoLoaderCentered component * feat: add British layout, so Defy shows ISO English (#491) * feat: add British layout, so Defy shows ISO English * chore: added new flags images to the library * fix(recormacroeditormodal): fixed the button width in Macro Editor * fix(recordmacromodal): fixed the autocus after the user start a record a macro * fix(firmwareerrorpanel): removed loading status in FirmwareErrorPanel component * Improve udevs (#495) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * Improve udevs (#496) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * Remove bluetooth status (#499) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * refactor: refactor of HW codes and remove bluetooth status mode * fix: removing of ble devices when upgrade (#498) Right now the upgrade was removing all the memory of the N2 just added a few lines to just remove the hex content + 1024 bytes Signed-off-by: noteolvides <[email protected]> * Revert "fix: removing of ble devices when upgrade (#498)" (#502) This reverts commit 8e17024. * chore(removed status connection from wireless panel): removed status connection from wireless panel * Cleanup and maintenance (#503) * chore: removed unused file * chore: solved lint issues with index.tsx file * chore: cleanup of old references, using alias instead * docs: improved documentation about FOCUS.API LED commands * chore: changed documentation code representaiton to a more legible version" * chore: changed extension of welcome.js to tsx * chore: added changes to fix typescript support on welcome.tsx * chore: fixed FWUpdate imports * chore: used Typescript for FirwmareUpdate view * chore: changed format of advBattSettingsModal to tsx * fix: resolved erros with advBattery settings * solved data issues with latest FW * fix: wireless features were using wrong focus access methods * fix: added types for react-rangeslider * fix: added definition for typescript types of rangeslider * fix: solved firmwareUpdate tsx issues due to wrong definitions * feat: added ESC key injection before flashing procedure * fix: nested macro selector now shows selected nest properly * refactor: transformed PageHeader to Typescript * fix: solved erratas in repair * chore: cleared erros from MacroEditor.js file * fix: transform macroEditor to jsx format * fix: macro editor did not replace correctly deleted macros in keymap * fix: colorEditor was wrongly assigning UG LED (70) as BL when using auto button * refactor: rewritten UI for delete macro replacement modal due to not being readable --------- Signed-off-by: Alejandro Parcet <[email protected]> Signed-off-by: AlexDygma <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Johan Eklund <[email protected]> Signed-off-by: noteolvides <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Javier Guzman <[email protected]> Co-authored-by: Johan Eklund <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Gustavo Gomez Lopez De San Roman <[email protected]> * fix: semantic release (#509) * chore(release): 1.3.3 [skip ci] ## [1.3.3](v1.3.2...v1.3.3) (2023-09-26) ### Bug Fixes * semantic release ([#509](#509)) ([49d83b0](49d83b0)) --------- Signed-off-by: Alejandro Parcet <[email protected]> Signed-off-by: AlexDygma <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Johan Eklund <[email protected]> Signed-off-by: noteolvides <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Javier Guzman <[email protected]> Co-authored-by: Johan Eklund <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Gustavo Gomez Lopez De San Roman <[email protected]> Co-authored-by: semantic-release-bot <[email protected]>
javierguzman
added a commit
that referenced
this pull request
Sep 27, 2023
* Bz1.3.2+ (#506) * Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The AdvancedBatterySettingsModal.tsx file was invoking a library that wasnt compatible with TS Signed-off-by: AlexDygma <[email protected]> * Add EurKEY (alphas) language support Signed-off-by: Johan Eklund <[email protected]> * Update naming convention Signed-off-by: Johan Eklund <[email protected]> * Add language names Signed-off-by: Johan Eklund <[email protected]> * Lower- and uppercase alpha (with and without altgr) and symbols Signed-off-by: Johan Eklund <[email protected]> * Add version to EurKEY language name Signed-off-by: Johan Eklund <[email protected]> * Remove duplicated keyboard layouts Signed-off-by: Johan Eklund <[email protected]> * Layout editor with wireless buttons (#474) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * feat(layouteditor): added a new buttons to manage the wireless and battery in Layout Editor * chore(standardview): added new buttons in standard view when the device connected is wireless * chore(layoutefitor): added a loader element in Layout Editor * chore(layouteditor): adjusted the buttons position in single view * fix: solved Typescript problems in several new files * chore: changed texts for buttons and disabled advanced settings * fix: moved wireless buttons descriptions to a proper place --------- Co-authored-by: Thiago Hernandez <[email protected]> * Re-align with Keypicker.js due to changes in #474 (#475) Signed-off-by: Johan Eklund <[email protected]> Co-authored-by: AlexDygma <[email protected]> * fix: iPC handlers where being set twice, now they del previous handler when creating new one (#476) * chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#468) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: macro names could be searched upon undefined macros (#477) * fix: bootloader enumeration of Raise neuron tried to read ChipID (#478) * fix: changed filter to take into account proper beta versioning name (#483) * Dual function keys should have lowercase a-z (#479) Signed-off-by: Johan Eklund <[email protected]> * chore: pushed version to 1.3.2 (#484) * Fix mac universal bundle (#482) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event --------- Co-authored-by: Javier Guzman <[email protected]> * Fix universal (#485) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event * fix: comment list drives handler * fix: trigger CI * fix: enable staging workflow * fix: revert mac universal * fix: remove universal from CI * fix: fix Sahira errors * ci: staging only on development again --------- Co-authored-by: Alejandro Parcet <[email protected]> * fix: removed await because it was blocking the startup of Bazecor * revert: remove async from main load process * refactor: move removeIPCs to index * fix: remove universal from make-dev * fix: remove properly usb when closing window * Start crafting Bépo keyboard picker * fix: added udev rules for Dygma USB VID number * First round for bépo * Finish Bépo keyboard picker. * Fix default bépo import * Add AltGr on numbers and a few punctuation * Move to punctuation some chars. * fix: add cross-env so env. variables can be used in different OSs (#488) * fix: add cross-env so env. variables can be used in different OSs * fix: add signing to commitizen * fix: change commitizen flag * fix: removing universal from workflows again? * fix: change commitizen sign command * fix: use correct sign command for comittizen * Add altGrShift, but see no effects * build: generate dmg for intel and arm individually (#490) * fix(buttons): added new colors to improve the accessibility in buttons * chore(button): added new button variation on button components * chore(neuronstatus): changed the way the connected device is highlighted in keyboard selection * chore: added supports to typwscript using styled-components * chore: fixed typescript errors in NeuronStatus component * chore: fixed NeuronStatus typescript erros * chore(neuronstatus): replace the js file extention to tsx in NeuronStatus component * chore: fix typescript errors in NeuronStatus component" * chore: changed the file structured in NeuronStatus component * chore: added new colors cue to the selected device * chore: changed to FirmwareImageHelp to typescript * chore: changed the files structured in Firmware update * chore: added new visual cues to firmware process update process * Do not render none standard Bépo chars. * chore: fixed animation on Raise firmware update process * chore: changed file structure to achieve smooth animation * Changed Defy update status on firmware update * chore(firmwaredefyupdatingstatus): converted FirmwareDefyUpdatingStatus to typescript * chore: redo deleted file * chore: renamed FirmwareDefyFlahingStatus * chore: deleted FirmwareDefyFlashingStatus * chore(batterystatussside): renamed BatteryStatusSide file * chore: converted BatteryStatusSide to typescript * chore: rename DefyBatteryIndicator file * chore: converted DefyBatteryIndicator to typescript * chore: changed texts in Raise flashing procedure n * chore: changed DefyBatteryIndicatorLeft file extension * chore: added new styles to DefyBatteryIndicator * chore: change texts in flashing procedure * fix: improve mask values in battery svgs * chore: removed test messsage on BatterySettings * chore: changed file extension * chore(defybatteryindicatorright): converted file to typescript * chore: removed cycle dependency * chore: changed file extension * chore: changed file extension * chore: changed file extension * chore: converted file to typescript * chore: changed file extension * chore: converted files to typescript * chore: added new styles to BatteryIndicator * build: bump uihook version to 1.5.2 486 * chore: removed comments in BatteryStatus modal * Remove snowman and unused code. * Update syntax. * Remove other symbols not part of Bépo. * Remove warning. * chore: added media to Callout in SuperKyes view * chore: added media in Callouts in Standard View mode n * chore: added new styles and loading statuses * feat: added a product info when export single layer * fix: fixed defy-t3 key shape on Defy keyboard representation * fix: changed the way that different battery status is rendered * fix: changed the way the battery status is render in sidebarmenu * chore: changed the way to set visual cues in BattereryIndicator * fix(buttons): fixed buttons focus statuses * chore: fixed focus status in buttons * fix: fix responsive issues in ordinary keyboard * chore: fixed battery status when the charging is done * chore: fix the way we call the battery level * chore(logoloader): renamed LogoLoader file * chore(logoloader): logoLoader converted to typescript file * fix(logoloadercentered): fixed type on LogoLoaderCentered component * feat: add British layout, so Defy shows ISO English (#491) * feat: add British layout, so Defy shows ISO English * chore: added new flags images to the library * fix(recormacroeditormodal): fixed the button width in Macro Editor * fix(recordmacromodal): fixed the autocus after the user start a record a macro * fix(firmwareerrorpanel): removed loading status in FirmwareErrorPanel component * Improve udevs (#495) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * Improve udevs (#496) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * Remove bluetooth status (#499) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * refactor: refactor of HW codes and remove bluetooth status mode * fix: removing of ble devices when upgrade (#498) Right now the upgrade was removing all the memory of the N2 just added a few lines to just remove the hex content + 1024 bytes Signed-off-by: noteolvides <[email protected]> * Revert "fix: removing of ble devices when upgrade (#498)" (#502) This reverts commit 8e17024. * chore(removed status connection from wireless panel): removed status connection from wireless panel * Cleanup and maintenance (#503) * chore: removed unused file * chore: solved lint issues with index.tsx file * chore: cleanup of old references, using alias instead * docs: improved documentation about FOCUS.API LED commands * chore: changed documentation code representaiton to a more legible version" * chore: changed extension of welcome.js to tsx * chore: added changes to fix typescript support on welcome.tsx * chore: fixed FWUpdate imports * chore: used Typescript for FirwmareUpdate view * chore: changed format of advBattSettingsModal to tsx * fix: resolved erros with advBattery settings * solved data issues with latest FW * fix: wireless features were using wrong focus access methods * fix: added types for react-rangeslider * fix: added definition for typescript types of rangeslider * fix: solved firmwareUpdate tsx issues due to wrong definitions * feat: added ESC key injection before flashing procedure * fix: nested macro selector now shows selected nest properly * refactor: transformed PageHeader to Typescript * fix: solved erratas in repair * chore: cleared erros from MacroEditor.js file * fix: transform macroEditor to jsx format * fix: macro editor did not replace correctly deleted macros in keymap * fix: colorEditor was wrongly assigning UG LED (70) as BL when using auto button * refactor: rewritten UI for delete macro replacement modal due to not being readable --------- Signed-off-by: Alejandro Parcet <[email protected]> Signed-off-by: AlexDygma <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Johan Eklund <[email protected]> Signed-off-by: noteolvides <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Javier Guzman <[email protected]> Co-authored-by: Johan Eklund <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Gustavo Gomez Lopez De San Roman <[email protected]> * fix: add prepare stage for semantic-release --------- Signed-off-by: Alejandro Parcet <[email protected]> Signed-off-by: AlexDygma <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Johan Eklund <[email protected]> Signed-off-by: noteolvides <[email protected]> Co-authored-by: AlexDygma <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Johan Eklund <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Jérémy Chatard <[email protected]> Co-authored-by: Gustavo Gomez Lopez De San Roman <[email protected]>
javierguzman
added a commit
that referenced
this pull request
Sep 27, 2023
* Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The AdvancedBatterySettingsModal.tsx file was invoking a library that wasnt compatible with TS Signed-off-by: AlexDygma <[email protected]> * Add EurKEY (alphas) language support Signed-off-by: Johan Eklund <[email protected]> * Update naming convention Signed-off-by: Johan Eklund <[email protected]> * Add language names Signed-off-by: Johan Eklund <[email protected]> * Lower- and uppercase alpha (with and without altgr) and symbols Signed-off-by: Johan Eklund <[email protected]> * Add version to EurKEY language name Signed-off-by: Johan Eklund <[email protected]> * Remove duplicated keyboard layouts Signed-off-by: Johan Eklund <[email protected]> * Layout editor with wireless buttons (#474) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * feat(layouteditor): added a new buttons to manage the wireless and battery in Layout Editor * chore(standardview): added new buttons in standard view when the device connected is wireless * chore(layoutefitor): added a loader element in Layout Editor * chore(layouteditor): adjusted the buttons position in single view * fix: solved Typescript problems in several new files * chore: changed texts for buttons and disabled advanced settings * fix: moved wireless buttons descriptions to a proper place --------- Co-authored-by: Thiago Hernandez <[email protected]> * Re-align with Keypicker.js due to changes in #474 (#475) Signed-off-by: Johan Eklund <[email protected]> Co-authored-by: AlexDygma <[email protected]> * fix: iPC handlers where being set twice, now they del previous handler when creating new one (#476) * chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#468) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: macro names could be searched upon undefined macros (#477) * fix: bootloader enumeration of Raise neuron tried to read ChipID (#478) * fix: changed filter to take into account proper beta versioning name (#483) * Dual function keys should have lowercase a-z (#479) Signed-off-by: Johan Eklund <[email protected]> * chore: pushed version to 1.3.2 (#484) * Fix mac universal bundle (#482) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event --------- Co-authored-by: Javier Guzman <[email protected]> * Fix universal (#485) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event * fix: comment list drives handler * fix: trigger CI * fix: enable staging workflow * fix: revert mac universal * fix: remove universal from CI * fix: fix Sahira errors * ci: staging only on development again --------- Co-authored-by: Alejandro Parcet <[email protected]> * fix: removed await because it was blocking the startup of Bazecor * revert: remove async from main load process * refactor: move removeIPCs to index * fix: remove universal from make-dev * fix: remove properly usb when closing window * Start crafting Bépo keyboard picker * fix: added udev rules for Dygma USB VID number * First round for bépo * Finish Bépo keyboard picker. * Fix default bépo import * Add AltGr on numbers and a few punctuation * Move to punctuation some chars. * fix: add cross-env so env. variables can be used in different OSs (#488) * fix: add cross-env so env. variables can be used in different OSs * fix: add signing to commitizen * fix: change commitizen flag * fix: removing universal from workflows again? * fix: change commitizen sign command * fix: use correct sign command for comittizen * Add altGrShift, but see no effects * build: generate dmg for intel and arm individually (#490) * fix(buttons): added new colors to improve the accessibility in buttons * chore(button): added new button variation on button components * chore(neuronstatus): changed the way the connected device is highlighted in keyboard selection * chore: added supports to typwscript using styled-components * chore: fixed typescript errors in NeuronStatus component * chore: fixed NeuronStatus typescript erros * chore(neuronstatus): replace the js file extention to tsx in NeuronStatus component * chore: fix typescript errors in NeuronStatus component" * chore: changed the file structured in NeuronStatus component * chore: added new colors cue to the selected device * chore: changed to FirmwareImageHelp to typescript * chore: changed the files structured in Firmware update * chore: added new visual cues to firmware process update process * Do not render none standard Bépo chars. * chore: fixed animation on Raise firmware update process * chore: changed file structure to achieve smooth animation * Changed Defy update status on firmware update * chore(firmwaredefyupdatingstatus): converted FirmwareDefyUpdatingStatus to typescript * chore: redo deleted file * chore: renamed FirmwareDefyFlahingStatus * chore: deleted FirmwareDefyFlashingStatus * chore(batterystatussside): renamed BatteryStatusSide file * chore: converted BatteryStatusSide to typescript * chore: rename DefyBatteryIndicator file * chore: converted DefyBatteryIndicator to typescript * chore: changed texts in Raise flashing procedure n * chore: changed DefyBatteryIndicatorLeft file extension * chore: added new styles to DefyBatteryIndicator * chore: change texts in flashing procedure * fix: improve mask values in battery svgs * chore: removed test messsage on BatterySettings * chore: changed file extension * chore(defybatteryindicatorright): converted file to typescript * chore: removed cycle dependency * chore: changed file extension * chore: changed file extension * chore: changed file extension * chore: converted file to typescript * chore: changed file extension * chore: converted files to typescript * chore: added new styles to BatteryIndicator * build: bump uihook version to 1.5.2 486 * chore: removed comments in BatteryStatus modal * Remove snowman and unused code. * Update syntax. * Remove other symbols not part of Bépo. * Remove warning. * chore: added media to Callout in SuperKyes view * chore: added media in Callouts in Standard View mode n * chore: added new styles and loading statuses * feat: added a product info when export single layer * fix: fixed defy-t3 key shape on Defy keyboard representation * fix: changed the way that different battery status is rendered * fix: changed the way the battery status is render in sidebarmenu * chore: changed the way to set visual cues in BattereryIndicator * fix(buttons): fixed buttons focus statuses * chore: fixed focus status in buttons * fix: fix responsive issues in ordinary keyboard * chore: fixed battery status when the charging is done * chore: fix the way we call the battery level * chore(logoloader): renamed LogoLoader file * chore(logoloader): logoLoader converted to typescript file * fix(logoloadercentered): fixed type on LogoLoaderCentered component * feat: add British layout, so Defy shows ISO English (#491) * feat: add British layout, so Defy shows ISO English * chore: added new flags images to the library * fix(recormacroeditormodal): fixed the button width in Macro Editor * fix(recordmacromodal): fixed the autocus after the user start a record a macro * fix(firmwareerrorpanel): removed loading status in FirmwareErrorPanel component * Improve udevs (#495) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * Improve udevs (#496) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * Remove bluetooth status (#499) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * refactor: refactor of HW codes and remove bluetooth status mode * fix: removing of ble devices when upgrade (#498) Right now the upgrade was removing all the memory of the N2 just added a few lines to just remove the hex content + 1024 bytes Signed-off-by: noteolvides <[email protected]> * Revert "fix: removing of ble devices when upgrade (#498)" (#502) This reverts commit 8e17024647412c2d7d36e5ed1489d9f749872543. * chore(removed status connection from wireless panel): removed status connection from wireless panel * Cleanup and maintenance (#503) * chore: removed unused file * chore: solved lint issues with index.tsx file * chore: cleanup of old references, using alias instead * docs: improved documentation about FOCUS.API LED commands * chore: changed documentation code representaiton to a more legible version" * chore: changed extension of welcome.js to tsx * chore: added changes to fix typescript support on welcome.tsx * chore: fixed FWUpdate imports * chore: used Typescript for FirwmareUpdate view * chore: changed format of advBattSettingsModal to tsx * fix: resolved erros with advBattery settings * solved data issues with latest FW * fix: wireless features were using wrong focus access methods * fix: added types for react-rangeslider * fix: added definition for typescript types of rangeslider * fix: solved firmwareUpdate tsx issues due to wrong definitions * feat: added ESC key injection before flashing procedure * fix: nested macro selector now shows selected nest properly * refactor: transformed PageHeader to Typescript * fix: solved erratas in repair * chore: cleared erros from MacroEditor.js file * fix: transform macroEditor to jsx format * fix: macro editor did not replace correctly deleted macros in keymap * fix: colorEditor was wrongly assigning UG LED (70) as BL when using auto button * refactor: rewritten UI for delete macro replacement modal due to not being readable * Main pull to dev (#510) * Bz1.3.2+ (#506) * Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The Adv…
javierguzman
added a commit
that referenced
this pull request
Sep 27, 2023
* Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The AdvancedBatterySettingsModal.tsx file was invoking a library that wasnt compatible with TS Signed-off-by: AlexDygma <[email protected]> * Add EurKEY (alphas) language support Signed-off-by: Johan Eklund <[email protected]> * Update naming convention Signed-off-by: Johan Eklund <[email protected]> * Add language names Signed-off-by: Johan Eklund <[email protected]> * Lower- and uppercase alpha (with and without altgr) and symbols Signed-off-by: Johan Eklund <[email protected]> * Add version to EurKEY language name Signed-off-by: Johan Eklund <[email protected]> * Remove duplicated keyboard layouts Signed-off-by: Johan Eklund <[email protected]> * Layout editor with wireless buttons (#474) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * feat(layouteditor): added a new buttons to manage the wireless and battery in Layout Editor * chore(standardview): added new buttons in standard view when the device connected is wireless * chore(layoutefitor): added a loader element in Layout Editor * chore(layouteditor): adjusted the buttons position in single view * fix: solved Typescript problems in several new files * chore: changed texts for buttons and disabled advanced settings * fix: moved wireless buttons descriptions to a proper place --------- Co-authored-by: Thiago Hernandez <[email protected]> * Re-align with Keypicker.js due to changes in #474 (#475) Signed-off-by: Johan Eklund <[email protected]> Co-authored-by: AlexDygma <[email protected]> * fix: iPC handlers where being set twice, now they del previous handler when creating new one (#476) * chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#468) Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: macro names could be searched upon undefined macros (#477) * fix: bootloader enumeration of Raise neuron tried to read ChipID (#478) * fix: changed filter to take into account proper beta versioning name (#483) * Dual function keys should have lowercase a-z (#479) Signed-off-by: Johan Eklund <[email protected]> * chore: pushed version to 1.3.2 (#484) * Fix mac universal bundle (#482) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event --------- Co-authored-by: Javier Guzman <[email protected]> * Fix universal (#485) * fix: added Mac universal flag to compilation process * fix: added stagign step to the fix * fix: add x64, arm64 and universal archs to mac target" * fix: add osx universal option to forge config * fix: universal build actually being built * fix: add icon url to windows executable * fix: remove icon url * fix: fix screen triggered before ready event * fix: comment list drives handler * fix: trigger CI * fix: enable staging workflow * fix: revert mac universal * fix: remove universal from CI * fix: fix Sahira errors * ci: staging only on development again --------- Co-authored-by: Alejandro Parcet <[email protected]> * fix: removed await because it was blocking the startup of Bazecor * revert: remove async from main load process * refactor: move removeIPCs to index * fix: remove universal from make-dev * fix: remove properly usb when closing window * Start crafting Bépo keyboard picker * fix: added udev rules for Dygma USB VID number * First round for bépo * Finish Bépo keyboard picker. * Fix default bépo import * Add AltGr on numbers and a few punctuation * Move to punctuation some chars. * fix: add cross-env so env. variables can be used in different OSs (#488) * fix: add cross-env so env. variables can be used in different OSs * fix: add signing to commitizen * fix: change commitizen flag * fix: removing universal from workflows again? * fix: change commitizen sign command * fix: use correct sign command for comittizen * Add altGrShift, but see no effects * build: generate dmg for intel and arm individually (#490) * fix(buttons): added new colors to improve the accessibility in buttons * chore(button): added new button variation on button components * chore(neuronstatus): changed the way the connected device is highlighted in keyboard selection * chore: added supports to typwscript using styled-components * chore: fixed typescript errors in NeuronStatus component * chore: fixed NeuronStatus typescript erros * chore(neuronstatus): replace the js file extention to tsx in NeuronStatus component * chore: fix typescript errors in NeuronStatus component" * chore: changed the file structured in NeuronStatus component * chore: added new colors cue to the selected device * chore: changed to FirmwareImageHelp to typescript * chore: changed the files structured in Firmware update * chore: added new visual cues to firmware process update process * Do not render none standard Bépo chars. * chore: fixed animation on Raise firmware update process * chore: changed file structure to achieve smooth animation * Changed Defy update status on firmware update * chore(firmwaredefyupdatingstatus): converted FirmwareDefyUpdatingStatus to typescript * chore: redo deleted file * chore: renamed FirmwareDefyFlahingStatus * chore: deleted FirmwareDefyFlashingStatus * chore(batterystatussside): renamed BatteryStatusSide file * chore: converted BatteryStatusSide to typescript * chore: rename DefyBatteryIndicator file * chore: converted DefyBatteryIndicator to typescript * chore: changed texts in Raise flashing procedure n * chore: changed DefyBatteryIndicatorLeft file extension * chore: added new styles to DefyBatteryIndicator * chore: change texts in flashing procedure * fix: improve mask values in battery svgs * chore: removed test messsage on BatterySettings * chore: changed file extension * chore(defybatteryindicatorright): converted file to typescript * chore: removed cycle dependency * chore: changed file extension * chore: changed file extension * chore: changed file extension * chore: converted file to typescript * chore: changed file extension * chore: converted files to typescript * chore: added new styles to BatteryIndicator * build: bump uihook version to 1.5.2 486 * chore: removed comments in BatteryStatus modal * Remove snowman and unused code. * Update syntax. * Remove other symbols not part of Bépo. * Remove warning. * chore: added media to Callout in SuperKyes view * chore: added media in Callouts in Standard View mode n * chore: added new styles and loading statuses * feat: added a product info when export single layer * fix: fixed defy-t3 key shape on Defy keyboard representation * fix: changed the way that different battery status is rendered * fix: changed the way the battery status is render in sidebarmenu * chore: changed the way to set visual cues in BattereryIndicator * fix(buttons): fixed buttons focus statuses * chore: fixed focus status in buttons * fix: fix responsive issues in ordinary keyboard * chore: fixed battery status when the charging is done * chore: fix the way we call the battery level * chore(logoloader): renamed LogoLoader file * chore(logoloader): logoLoader converted to typescript file * fix(logoloadercentered): fixed type on LogoLoaderCentered component * feat: add British layout, so Defy shows ISO English (#491) * feat: add British layout, so Defy shows ISO English * chore: added new flags images to the library * fix(recormacroeditormodal): fixed the button width in Macro Editor * fix(recordmacromodal): fixed the autocus after the user start a record a macro * fix(firmwareerrorpanel): removed loading status in FirmwareErrorPanel component * Improve udevs (#495) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * Improve udevs (#496) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * Remove bluetooth status (#499) * fix: rewrite udevs if they do not have latest expected rules * fix: add quotes to echo command for udevs * refactor: add console log * fix: fix always overwriting udev file * refactor: refactor of HW codes and remove bluetooth status mode * fix: removing of ble devices when upgrade (#498) Right now the upgrade was removing all the memory of the N2 just added a few lines to just remove the hex content + 1024 bytes Signed-off-by: noteolvides <[email protected]> * Revert "fix: removing of ble devices when upgrade (#498)" (#502) This reverts commit 8e17024647412c2d7d36e5ed1489d9f749872543. * chore(removed status connection from wireless panel): removed status connection from wireless panel * Cleanup and maintenance (#503) * chore: removed unused file * chore: solved lint issues with index.tsx file * chore: cleanup of old references, using alias instead * docs: improved documentation about FOCUS.API LED commands * chore: changed documentation code representaiton to a more legible version" * chore: changed extension of welcome.js to tsx * chore: added changes to fix typescript support on welcome.tsx * chore: fixed FWUpdate imports * chore: used Typescript for FirwmareUpdate view * chore: changed format of advBattSettingsModal to tsx * fix: resolved erros with advBattery settings * solved data issues with latest FW * fix: wireless features were using wrong focus access methods * fix: added types for react-rangeslider * fix: added definition for typescript types of rangeslider * fix: solved firmwareUpdate tsx issues due to wrong definitions * feat: added ESC key injection before flashing procedure * fix: nested macro selector now shows selected nest properly * refactor: transformed PageHeader to Typescript * fix: solved erratas in repair * chore: cleared erros from MacroEditor.js file * fix: transform macroEditor to jsx format * fix: macro editor did not replace correctly deleted macros in keymap * fix: colorEditor was wrongly assigning UG LED (70) as BL when using auto button * refactor: rewritten UI for delete macro replacement modal due to not being readable * Main pull to dev (#510) * Bz1.3.2+ (#506) * Added battery indicator bubble and refactored navigation menu Signed-off-by: Alejandro Parcet <[email protected]> * Added battery runner that checks level every 60 seconds Signed-off-by: Alejandro Parcet <[email protected]> * Added function to force battery level read when charging Signed-off-by: Alejandro Parcet <[email protected]> * Avoided calling device for battery when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Added wireless view in APP route switch with basic content Signed-off-by: Alejandro Parcet <[email protected]> * Refactor fw update UI (#447) * Added xstate to manage fw flashing stateflow Signed-off-by: AlexDygma <[email protected]> * Updated machine state code with test Signed-off-by: Alejandro Parcet <[email protected]> * Added more logic for state machine and placed in folder Signed-off-by: Alejandro Parcet <[email protected]> * fw update tester component added Signed-off-by: Alejandro Parcet <[email protected]> * Changed FW altFirmwareUpd Signed-off-by: Alejandro Parcet <[email protected]> * Added xstate package for react Signed-off-by: Alejandro Parcet <[email protected]> * chore: fixed package peer dependencies Signed-off-by: Alejandro Parcet <[email protected]> * pushed react version to avoid peer dep issues Signed-off-by: Alejandro Parcet <[email protected]> * changed SM assign statements to properly trigger state change Signed-off-by: Alejandro Parcet <[email protected]> * fixed error with dependencies and webpack Signed-off-by: Alejandro Parcet <[email protected]> * Prepared with dummy data for first 2 states Signed-off-by: Alejandro Parcet <[email protected]> * improved data capture and added button to simulate next steps Signed-off-by: Alejandro Parcet <[email protected]> * Added new Neuron 2 representation on FirmwareNeuronStatus and updated the modyle FirmwareUpdatePanel * Added new visual indicators to FirmwareNeuronStatus * Added select field in order to allow users to change the firmware version in FirmwareVersionStatus * refactored state machine to load files from github Signed-off-by: Alejandro Parcet <[email protected]> * Refactor state machine by splitting it Signed-off-by: Alejandro Parcet <[email protected]> * Remove modal to the Firware update module * Added text body for GitHub releases on State Machine Signed-off-by: AlexDygma <[email protected]> * Fixed body tags for proper data Signed-off-by: AlexDygma <[email protected]> * Added react-markdown in order to render the github markup into html * Added video support on Callout component * Fixed CallOut component with videos * Added status control in Neuron component when the device is wireless * Added new IconWarning to the icon library * Refactor fw flashing view by taking out the state machines Signed-off-by: Alejandro Parcet <[email protected]> * Added external state machine to govern flow Signed-off-by: Alejandro Parcet <[email protected]> * Remve Firmware modules folder * Refactored Firmware modules folder Signed-off-by: Alejandro Parcet <[email protected]> * Added new firmware folder files Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state machine interaction with FUP Signed-off-by: Alejandro Parcet <[email protected]> * Added new modules to firmware folder * Added FirmwareErrorPanel module to Firmware modules folder * Added new FirmwareErrorPanel to the modules folder * Added support for extra machines Signed-off-by: Alejandro Parcet <[email protected]> * Merged adding flashdevice file * Changed SM on start update panel to the final one Signed-off-by: Alejandro Parcet <[email protected]> * Added new videos folder to the repository * Added new module with Defy support for the new update flashing procedure * Finished second block route for Raise flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Reordered DeviceChecksSM functions to follow process steps Signed-off-by: Alejandro Parcet <[email protected]> * Added the Defy representation in the Firmware update process * Enabled event listener for ESC keypress Signed-off-by: Alejandro Parcet <[email protected]> * Created flashing script for RaiseKB Signed-off-by: Alejandro Parcet <[email protected]> * Fix static variables on the firmware update process modules * addded width limit to context element Signed-off-by: AlexDygma <[email protected]> * Transform FirmwareStartPanel into FirmwareUpdateProcess module * Added new component to represent the status using milestones * Fixed flashing process for Raise keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Callback for precentage increments included Signed-off-by: Alejandro Parcet <[email protected]> * Fix progressbar on firmware update progress * Added progress control for flashDevice SM Signed-off-by: Alejandro Parcet <[email protected]> * Fixed hardcoded values for the keyboard name and type on firmware update modules * Changed origin of macro memory limit, now it comes from FW Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Octokit function Signed-off-by: Alejandro Parcet <[email protected]> * Refactored Navigation menu to use Octokit when version checking Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta control to remove/enable the superkeys beta form the FW list Signed-off-by: Alejandro Parcet <[email protected]> * Added allowBeta context to firmware acquisition process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed state error in allowBetas on preferences screen Signed-off-by: Alejandro Parcet <[email protected]> * Fixed navigation between firmware flashing screens Signed-off-by: Alejandro Parcet <[email protected]> * Added granularity to flashDevice contextblock Signed-off-by: Alejandro Parcet <[email protected]> * Change the color scheme on the progress bar component * Adjusted flashing process to follow representing steps Signed-off-by: Alejandro Parcet <[email protected]> * Solved async await call error in backup saving Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the progressBar component according the real flashing update process * Fixed flashing procedure recovery process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed progress bar control & flashing states Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta&NonBeta fw checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed flash update count in arduino-flasher routine Signed-off-by: Alejandro Parcet <[email protected]> * Added reroute to onError screen when no connection Signed-off-by: Alejandro Parcet <[email protected]> * Added new caclulations for the progress bar * Remove log info on StepsProgressBar component * Solved bootloader flashing steps for raise Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators when an error occour on Firmware update * Added new visual indicators on the firmware update process * Added CircleLoader component to ilustrate the actual status on firmware update process * Fixed the light theme on Firmware update modules * Fixed colors tones on light version on Firmware update module * Fixed spaces between buttons on firmware update process * Added i18n suppport on the Firmware update process module * Added new Loader component * Added new parameters to the Loader component * Fixed animation when the Loader is paused * Added new handle fucntion on firmware update process * Remove on screen all log messages and object on Firmware update process * Added new way to show on screen the firmware donwload process * Added new icon and component to show the user the firmware steps that is ready and falling during the update process * Added state update suport Signed-off-by: Alejandro Parcet <[email protected]> * Improved flashing procedures and removed old backupLog Signed-off-by: Alejandro Parcet <[email protected]> * Changed dygma wireless hardware definitions to support new function calls Signed-off-by: Alejandro Parcet <[email protected]> * Removed main status from ALT layout and fixed sideFlasher logic Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the DeviceChecks machine Signed-off-by: Alejandro Parcet <[email protected]> * Added stages to the FlashDevice machine Signed-off-by: Alejandro Parcet <[email protected]> * Fix the way that error are handle when there is not internet connection on firmware update process * Added resetting steps to flashDevice Signed-off-by: Alejandro Parcet <[email protected]> * Solved Raise LED mode when exiting flashing process Signed-off-by: Alejandro Parcet <[email protected]> * Fixed reconnect error with Defy Wired Signed-off-by: Alejandro Parcet <[email protected]> * Changed stateblock numbers for Defy flashing procedure Signed-off-by: Alejandro Parcet <[email protected]> * Merge same button actioninto one in firmware update process * Added independent calculus for Defy of the global progress indicator Signed-off-by: Alejandro Parcet <[email protected]> * Make the state machine jump the checks for Raise when all is good Signed-off-by: Alejandro Parcet <[email protected]> * Fixed visualization of checks for Defy keyboard Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to indicate the Defy updating status * Added new icons to the Defy status indicator on firmware update process * Refactored states visualization code Signed-off-by: Alejandro Parcet <[email protected]> * Solved Guard issue when var has a value that validates it Signed-off-by: Alejandro Parcet <[email protected]> * Fixed behaviour of data comming from focus Signed-off-by: Alejandro Parcet <[email protected]> * Added button behaviour for check control in device checks Signed-off-by: Alejandro Parcet <[email protected]> * Fixed conditions that show retry button Signed-off-by: Alejandro Parcet <[email protected]> * Cleanup of DeviceChecks Signed-off-by: Alejandro Parcet <[email protected]> * Added webpack rule for gitignore Signed-off-by: Alejandro Parcet <[email protected]> * Fixing progress bar texts & update Signed-off-by: Alejandro Parcet <[email protected]> * Added new indicators in Firmware update process when is a Defy connected * Added new videos on Firmware update process as a placeholder for Defy * Fixed videos on Firmware update process * Added new colors scheme to the light theme on Firmware update process * Added new assets in light mode to supports the Defy wireless flashing procedure * Added skip wait for esc when left side is on BL Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Beta button behaviour when flashing Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Superkeys screen not activating for Defy because it was lookign for Beta version of the FW Signed-off-by: Alejandro Parcet <[email protected]> * Fixed errors when repairing with keyboard to restore layers Signed-off-by: Alejandro Parcet <[email protected]> * Fixed module positon on Firmware update view * Added new warning message when the left side is on Bootloader mode * Added i18n supports in the flashing procedure --------- Signed-off-by: AlexDygma <[email protected]> Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Added new components to represent different battery statuses * Added support to light and dark theme on PileIndicator component * Fixed default layer loading when onlyCustom is selected (#448) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed virtual keyboards lacking macros.memory instruction and refactored them (#449) Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the overlay content position when the battery indicator is visible * feat: added UG slider to control brightness (#450) Signed-off-by: Alejandro Parcet <[email protected]> * Added toggle button to enable/disable Battery saving mode * fix: sides now flash without instabilities (#452) Signed-off-by: Alejandro Parcet <[email protected]> * Bump semver from 7.5.1 to 7.5.2 (#451) Bumps [semver](https://github.com/npm/node-semver) from 7.5.1 to 7.5.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.5.1...v7.5.2) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Added new way to show the battery indicator * adjusted delays in flashing procedure to mitigate errors Signed-off-by: AlexDygma <[email protected]> * fix: tabIdex was missing for discard/save buttons (#453) Signed-off-by: Alejandro Parcet <[email protected]> * Added battery settings module * Added new fields on Battery settings module * Moved focus interaction from preferences to wireless Signed-off-by: Alejandro Parcet <[email protected]> * Removed commented focus API functions from preferences Signed-off-by: Alejandro Parcet <[email protected]> * Added context manipulation to wireless view Signed-off-by: Alejandro Parcet <[email protected]> * Fixed Battery setting module position * Added content for the RF preferences card * Fixed outline gradient button colors * Added Icon Signal to the Icons library * Adjusted the columns in Wireless view * Removed saving mode toggle from Battery indicator * Enabled wireless view communications with the keyboard Signed-off-by: Alejandro Parcet <[email protected]> * feat: Added wireless features to Defy (#454) Signed-off-by: Alejandro Parcet <[email protected]> * chore: removed default verbose mode for FocusAPI Signed-off-by: Alejandro Parcet <[email protected]> * chore: pushed version and cleaned battery status logic Signed-off-by: Alejandro Parcet <[email protected]> * Fix bugs120 (#455) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * fix: Added 2s timeout to help slow computers to cope with disconnect Signed-off-by: Alejandro Parcet <[email protected]> * Fixed the fonts and paddings in tooltips * fix: Added check to avoid error when reading bootloader property Signed-off-by: Alejandro Parcet <[email protected]> * fix: Added flash sides check to avoid reflashing when there is no need Signed-off-by: Alejandro Parcet <[email protected]> * Added styles to represent the battery charging * Fix: Text for transparent button description was wrong Signed-off-by: Alejandro Parcet <[email protected]> * Fix: replaced regular button element from div to button and fixed it with transp-bg Signed-off-by: Alejandro Parcet <[email protected]> --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix: solved virtual keyboard access to kb selection menu Signed-off-by: Alejandro Parcet <[email protected]> * chore: cleaned logs Signed-off-by: Alejandro Parcet <[email protected]> * Add battery indicator (#446) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fixing focus issue, not working yet (#457) * Fixing focus issue, not working yet Signed-off-by: AlexDygma <[email protected]> * fix: solved connection issue by re-listing available ports Signed-off-by: AlexDygma <[email protected]> --------- Signed-off-by: AlexDygma <[email protected]> * chore: upgrade bazecor version Signed-off-by: Alejandro Parcet <[email protected]> * Rebase of Electron-builder to Electron-forge (#458) * refactor: merging blacksmith into development * fix: fixing the merge * fix(component): initial changes to fix selectKeyboard view After the refactor the selectKeyboard view was broken due to the quantity of changes that it had in both branches, we sticked with the functional component and are aplying changes to it so we can fix it. * fix(forge config): modify dev content security policy so we can query ok to Github * fix(select keyboard): fix disconnect and connect to keyboard * fix(neuron names did not show in selection screen): neuron names did not show in selection screen * ci(release yml file): we do not run anymore release workflow on blacksmith branch * ci(stating.yml): add Staging workflow Add Staging workflow to Github so we can almost the same as in the release but on development branch * refactor(app.jsx): refactored App.jsx file to follow lint conventions * refactor(app): uploaded new App.jsx file * fix(layouteditor): fixed virtual keyboard access to Bazecor * fix(selectkeyboard): fixed error when going to select keyboard when using virtual * fix: wrong behaviours of Bazecor with virtual Defy's * fix: solved battery status representation and refactored some files --------- Co-authored-by: Javier Guzman <[email protected]> * Add battery indicator (#459) * Fixed colors on wireless settings view in light mode * Change the max-height to trigger the collpased main menu * Refactoring Navigation menu in order to reduce CSS complexity * fix: battery status reads did not stop when flashing Signed-off-by: Alejandro Parcet <[email protected]> * chore: clean aftermarth of FWUpdate and fix functional components Signed-off-by: Alejandro Parcet <[email protected]> * Added differents color indicator in the battery indicator * fix: Fixed keyboardSelect enumerator only showing first element Signed-off-by: Alejandro Parcet <[email protected]> * Create unique id on the svg that renders a battery level on DefyBatteryIndicator * Fixing BatteryStatus component missing semicolumn * fix: Solved connectivity issues when revisiting keyboard select view Signed-off-by: Alejandro Parcet <[email protected]> * Added new component to show the saving mode status * Fixed the fonts and paddings in tooltips * Added styles to represent the battery charging * Added i18n support in Firmware update * Improve videos quality on firmware update process when a Dey is connected * Fixed Layout Editor in 4k screens * Added the Charging done status in the PileIndicator component * Added the new Battery status when is not posible read battery levels * Added the Battery disconnected status in the PileIndicator component * Added a fatal error battery status in PileIndicator component * Added charging done status to DefyBatteryIndicator component * Added the fault status in the DefyBatteryIndicator component * Adding battery disconnected in DefyBatteryIndicator * Added Battery status representation when the battery is disconnected * Removed isCharging variable in order to reduce component complexity * fix: fixed calls to keyboard to retrieve battery status The calls for the battery status of the Defy were not being parsed correctly, as they are numbers and where being received as a string --------- Signed-off-by: Alejandro Parcet <[email protected]> Co-authored-by: Thiago Hernandez <[email protected]> * Fix virtual interactions (#460) * fix: virtual keyboard interactions now work as expected * fix: fixed several errors with FlashDevice & BatteryStatus * fix(navigationmenu.tsx): navigationMenu compilation errors repairs * fix: solved linter and compilation errors for TSX files * Batter indicator fix (#461) * fix: fixed the sidebar menu applying the right size in different screen sizes * fix: fixed the battery status when the battery is already fully charged --------- Co-authored-by: Thiago Hernandez <[email protected]> * fix: solved battery saving mode state retrieval issues Data nature changed, in the previous FW the data was "true"/"false" strings, but now is 0:1 integers, that change breaks data treatment and needs to be compensated. * fix(app jsx): fix warning about props There was a warning about props on app jsx component * fix(firmware image help): remove play video listener when component is unmount * fix(navigation menu file): fix timeout on navigation menu * fix: fixed timeout errors when calling serialport commands * chore(up version): up version up version * fix: Fixed windows11 serialport detection issue and listdrives issue Signed-off-by: AlexDygma <[email protected]> * chore: solve linter errors and warnins * fix: using usb event close to send a focus.close to the port handler This should solve the unexpected disconnections and clean the memory when needed the most * fix: added protection to close only if the unplugged device is the one connected * fix: added delay after close to prevent race conditions * Fix usb serial UX experience (#469) * fix(usb): replaced python expression with JS * fix(usb): uSB library wasn't treating correctly disconnection events, now they are fixed * fix: solved connectivity issues in selectkeyboard view * chore: changed name of NeuronConnection * fix: added control in connected device for visual indicator * fix: connected icon was not assigned properly in select keyboard * fix: keyboard list in selectkeyboard view was not updating when selected keyboard disconnected * fix: connected device never showed as selected when returning to selectkeyboard view * feat: add Bazecor version in a visible place so that users and customer support can check it (#470) * feat: added check to know if it's the first hardware Defy that's being plugged in bazecor (#471) * Include Playwright, move some videos and some fixes (#464) We can now make a build without signing E2E draft tests using playwright Move videos to static folder within renderer Fix error when cancelling flashing Initial not very clever USB tests to check how Electron behaves on testing env. * Add Korean keyboard layout support (#466) Add Korean keyboard layout, it is almost the same as US ANSI * refactor: show Enter instead of Intro (#467) re #298 * Signing windows (#472) Sign Windows executable on CI * Added new wireless settings for Defy keyboards (#473) * feat: mOdules to manage the battery energy consumption * Added wireless button ids in keymap DB * fix: wireless buttons now have descriptions that fit * feat: added a new module that show the type of the connectin inside the wireless view * style: new modules in Wireless view where the user can see the type of the device connection * feat: transformed wireless to TSX * style: added all the components to render the elements in order to allow users manage the battery * fix: fixed the Advanced battery setting in light mode * chore(wireless): solved TS erros and created typedefs for TS * chore(rfsettings): changed extension to tsx * chore: repaired RegularButton style property, switched to styles * fix(wireless): typo in type for RFsettings props * chore(connectionstatus): revisited types and cleaned code * fix: solved errors with props and button invocation * fix: changed function call on onChange to make it work * chore(wireless): added suppport to i18n in Advanced battery settings" * chore(badge): change the file name in order to support typescript * chore(advancedbatterysettings): fixed responsive issues in battery advanced settings * chore: update the i18n file * fix: error when updating the keyboard list if unplugged the connected keyboard * fix: added lacking margin in bazecor version * fix: rule to avoid setting names of previous keyboard when no other is present applied to raise * fix: added default name when creating a new Neuron register * fix: crash when no neurons are left in the neuron list * fix: battery data petitions where affecting connection of the device --------- Co-authored-by: Thiago Hernandez <[email protected]> * chore: upped version, fixed property declaration, changed menu setting sequence * fix:(TSX) The Advance…
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.
This settings will allow the user to adjust the keyboard's behavior in a way that will affect battery life