Skip to content

v1.1.0

Compare
Choose a tag to compare
@Nik89 Nik89 released this 03 Apr 12:16
· 15 commits to main since this release

Added 29 bits CAN ID, RTR frames, highlight stuff bits, and complete graphical overhaul

Added

  • Support for extended frames (29-bit CAN ID) and Remote Transmission Request
    (RTR frames). The frame type can be selected as first field of the form,
    impacting the input form itself (to ask for payload or DLC field)
    and obviously the resulting output.
  • Dropdown menu to select the base of the CAN ID to avoid the user typing
    "0x" or "0b". Defaults to hex. If the user also types the prefix "0x" or "0b"
    and it matches with the selected base, then the prefix is ignored.
  • Run computation when pressing Enter keyboard key.
  • Highlight incorrect input fields with a red border when the computation is
    run.
  • Highlight stuff bits in the output: underlined and with a different color.
  • Minifying instructions and privacy notice included in Readme file.

Changed

  • Improved style of the following parts into a more modern look-and-feel
    • input form
    • computing button
    • whole-frame bit sequence section
    • frame fields, now provided as a table. Includes alternating row colors,
      mouseover effects and hex format column
  • More verbose and detailed error messages for the various incorrect inputs.
  • Improved description of input form's payload field, clarifying what is ignored
    in the user input.
  • Autofocus on CAN ID input field.
  • Input text fields contain examples for the user input.
  • Renamed Pause-after-frame field to Inter-Frame Space for clarity
    and to match with other descriptions of the CAN frames found online.
  • Moved error messages to one location underneath the input form.
  • Deployment script merges HTML, CSS and JS files into one HTML file, making
    it much easier to deploy. Removed deployment into gh-pages branch, as
    now it can be done directly from the main branch, minified sub-folder.

Fixed

  • Broken links in readme to the deployed web page (missing "/" at URL end).
  • Display error msg in case of empty CAN ID instead of assuming the ID == 0.
  • Handle empty or whitespace-only payloads as valid input (no data).
  • Footer's too small bottom margin.
  • Typo in footer disclaimer.
  • noscript-message about JavaScript being required is not all-h2 anymore.
    Additional styling is added for it to make it at least slightly decent
    looking.
  • Display a generic error message in case of unknown and uncaught errors
    at any level in the execution of the code instead of silently doing nothing
    and crashing the app.
  • Fixed non-hex payload chars being parsed into a 0 value.
  • Some fields of the CAN frame did not have space separators every 4 bits.
  • Fully reset the input form, clearing its content on page reload/refresh.