Comments (5)
a sideeffect of this renaming procedure is that the maximum slotname size could be exceeded, which results in a different slotname in webGUI and device so the this slot cannot be selected anymore.
I would suggest to have the "replace all slots" functionality as default. IMO, adding single slots is a special case which should be hidden by default (maybe a button "add/select individual slots" which then displays the slotnames + checkboxes).
In case of existing slot name, I'd suggest to delete the existing slot, thereby getting rid of the rename problem.
from addon-bluetooth-webgui.
a sideeffect of this renaming procedure is that the maximum slotname size could be exceeded, which results in a different slotname in webGUI and device so the this slot cannot be selected anymore.
I had that case, the last ")" was missing on the device.
I would suggest to have the "replace all slots" functionality as default. IMO, adding single slots is a special case which should be hidden by default (maybe a button "add/select individual slots" which then displays the slotnames + checkboxes).
I find this functionality very useful, but it could be possible to "hide" it behind an advanced button (or something similar).
In case of existing slot name, I'd suggest to delete the existing slot, thereby getting rid of the rename problem.
Maybe we could ask "overwrite" or "rename"? Like in the file managers...
from addon-bluetooth-webgui.
Thanks for reporting! Renaming slots on "upload an replace all" is indeed a bug and also the issue with bypassing the maximum slot length by renaming has to be fixed.
I would do the following:
By default only show "upload and replace all slots" and additionally a link to show advanced options where single slots can be selected. Would look like this: https://i.imgur.com/QkdoJIx.png
In the advanced options there could also be a checkbox "overwrite existing" to define if existing names should be overwritten or renamed.
What do you think?
from addon-bluetooth-webgui.
looks great !
from addon-bluetooth-webgui.
cool: if you add fixes <link-to-issue>
in a git commit comment, it automatically closes the issue on github :)
from addon-bluetooth-webgui.
Related Issues (13)
- Safe experimental mode with auto revert
- Device Initialisiation - FLipPad
- Updating BT firmware - locking of uC updating
- Updating BT firmware - beginning of upgrade process on Arduino RP2040
- FABI3 HOT 2
- Add support for Web Bluetooth connection to device HOT 1
- No BT module - "Installed version undefined.undefined.undefined" HOT 3
- BT addon upgrade - timeout too short? HOT 9
- FABI - Updating the Arduino Pro Micro HOT 3
- FLipMouse - Teensy Update Code HOT 1
- problem with .md preview for settings files
- update of release data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-bluetooth-webgui.