deckboard
deckboard copied to clipboard
[BUG] 3.0.0-rc7 pc view only - value button from extensions stay at 0
Describe the bug Extension value buttons not showing the proper value. Example: a value that should show "ON" or "OFF" now just show "0". The issue is just on visible value, button still works.
- This just happens on PC, app still works
To Reproduce Steps to reproduce the behavior:
- Add toggle-mic or toggle-deaf from discord-deckboard
- Click on the added button
- Label won't change state, stays at 0
- Click PLAY to enable pc view and still has the same issue
Expected behavior Button should change to value as defined on extension, in this case between "ON" and "OFF"
Screenshots
Server App (please complete the following information):
- OS: Windows
- Version 3.0.0-rc7
i have to ask.. how did you get the value to change depending on if it's on or off?
i have to ask.. how did you get the value to change depending on if it's on or off?
Hi @Yellowbebo , you can check what i did within this commit over discord-deckboard.
Basically the button need to have a proper mode (found it by looking into existing examples from @rivafarabi extensions, like discord-ohm)
mode: 'custom-value'
and then you use setValue passing the name of the action and what you want
i read some of the code and i get what you did but.. i can't seem to figure out how to install it i tried the releases and the actual files but i still don't get the features from your version
you mean from discord-deckboard latest version? on PC right now it's just showing 0 on PC but mobile app shows it correctly, just check if you have latest discord-deckboard version, then add the toggle and it should work
no i mean when i download the asar and put it in deckboard/extensions it stays the same as before
no i mean when i download the asar and put it in deckboard/extensions it stays the same as before
you don't need to download the asar, just go to the extensions in deckboard and download directly from there, if you build your own asar or put it into folder, you need to close deckboard first
there is also a "build and install" command if you're developing but try to stick with the "store" version of the extension if you're not developing
well i am a programmer and i have tried to learn how to make an extension for deckboard, so i know a bit about programming , the problem is i dont know much about github and installing apps like this, so i dont know how to get your version of the extension, plus this probably isn't the right place to talk about it