Code Monkey home page Code Monkey logo

Comments (5)

ChrisVeigl avatar ChrisVeigl commented on July 26, 2024

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.

benjaminaigner avatar benjaminaigner commented on July 26, 2024

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.

klues avatar klues commented on July 26, 2024

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.

ChrisVeigl avatar ChrisVeigl commented on July 26, 2024

looks great !

from addon-bluetooth-webgui.

klues avatar klues commented on July 26, 2024

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)

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.