Giter Club home page Giter Club logo

webflasher's People

Contributors

omg-mg avatar spiceywasabi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

webflasher's Issues

Identify Bug with Serial Devices Not Showing

Several users have experienced a successful flash via the Python flash.py tool, however they have no success with the Web Flasher.

Additional testing has identified two cases:

  1. User has no serial devices visible (may be permission error and we need to have a UI prompt to alert to how to fix this)
  2. User can see their serial device but its currently filtered

Need to identify the root cause on this since the filter matches the Silicon Devices VID

Provide Retry if User Sees No Serial Devices

Currently with how the error handling code is constructed the "Connect" button (Step 2) is disabled if no serial devices are found (due to a thrown exception). Add support for an alert message and let user retry connecting until successful. Clear the alert if the user had success.

Greeter Screen Setting Broken

The greeter screen has an option to skip showing it ever again, that currently doesn't work. It should work and not prompt the user. We should use load and save settings components to save this option. Worst case: cookie.

Light and Dark Mode Support

Implement some sort of Light and Dark Mode UI. The most likely way to do this is via SASS and recompile the Bootstrap 5 themes to be light and dark mode (e.g. restyle colors to match and flow with a dark theme and a light theme. We can then replace the stylesheets depending on what is desired.

If we go this option, we will need to track commands used to allow for setup in a GitHub Action and Dependabot integration to keep this automatically updated.

Second Option is to use the light and dark mode styles in separate CSS files and restyle selective components.

Finally enable the swap via script.js and integrate the settings button

Documentation in Connect Modal

From user:

Just found something that might be a common mistake and might take advanced error handling.  This is specific to the USB-A to USB-C...If you plug in the USB-C side (by mistake) into the programmer, it lets you proceed, shows the pop-up, select the CP210x to UART connect and it displays ERROR.  The console shows, Error: Couldn't sync to Cable. Try resetting.  To avoid advanced error handling, you might want to add a reminder to the message:
eg. Error: Couldn't sync to Cable. Make sure the correct end of the cable is connected to the programmer or try resetting.
however you want to word it...I just think some new owners might plug the wrong side in

Need to add texts to "Show Me" Modal for the Connect step and add an alert (showAlert) to trigger when sync fails

Delayed Transition to Success / Failure Screen

There is a "completed" screen which disables all other components. We need a way to transition over to that slow enough that users have a chance to see things 'completed' but fast enough that the user does not try to click more. Javascript code to switch is there but does so instantaneously. Maybe add an optional transition time?

Success / Failure Screen Does not Change Emoji

The success and failure screen (last screen the user sees) does not currently have a way to switch to a failure or success text/emoji. This needs to get fixed. Perhaps an additional function added to toggleUIFlash?

Web Flasher may not Complete

The flash completes by flashing all files but does not issue the "Flashing complete" something in the pipeline hangs and prevents the complete message and actions from triggering. Identify what this is. Attached is log file.
flash.log

Add OMG Info Carousel Text

Text and images need to be added to the carousel and time adjusted.

Each paragraph can be up to 4 sentences with a heading and image.

Add all image resources to /img/

Settings Modal Broke

Currently some components are not configures in the JavaScript such as Device Config (WiFi), the ones that are enabled do not seem to work properly and the Save button doesn't work. The UI is stuck and only close works.

  1. Enable setting saves and fix JS code to save settings
  2. Fix Save Button
  3. Fix the Branch Selector

Remove Redundant Code

There's some old code still in script.js, this should be removed if unneeded (which is likely is)

Add Framework for Device Settings

The UI has the device settings available, but there is no backend javascript setup to handle it.

Add backend document selectors and a function to support the eventual setting of wifi settings and mode

(For the Radio buttons get elements by name instead of id)

Add Text to Flash Modal

Flash modal needs text added to Help Me modal to allow user to troubleshoot. Also valid alerts need to be added (showAlert) for failed components.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.