zwpaper / obsidian-progressbar

Code block plugin for Obsidian generating a progress bar
Apache License 2.0
42 stars 5 forks source link

Buttons not working? #16

Closed WinterFe closed 3 months ago

WinterFe commented 7 months ago

Running the config below, there are no add or remove buttons as show in examples. Even copying the examples doesn't have any buttons.

My config:

value: 0

name: "({max}) Essence of Chemistry [{percentage}]"
min: 0
max: 1
button: true

id: essence-of-chemistry
kind: manual

It just looks like this: image

zwpaper commented 7 months ago

did you upgraded to 0.5.0?

Wei-Parker-Guo commented 7 months ago

I'm also having this issue with 0.5.0, my config:

id: survey-progress
kind: manual
max: 100
value: 27
name: "100 Surveys {percentage}"
button: true

There are no buttons built:

image

Alex-Shut commented 7 months ago

did you upgraded to 0.5.0?

install 0.5.0. Obsidian 1.5.12, linux Not working (

sanabel-al-firdaws commented 5 months ago

same thing on andriod latest version today

sanabel-al-firdaws commented 3 months ago

i found a fix the proplem is the plugin is searching for a-z chars i just added {}/()a-zA-Z0-9 and it worked also i added arabic strings (idk how to apply to all strings)

Alex-Shut commented 3 months ago

Do you have a patch ready? Or tell me exactly where to fix it

пт, 19 лип. 2024 р. о 01:09 sanabel-al-firdaws @.***> пише:

i found a fix the proplem is the plugin is searching for a-z chars i just added {}/()a-zA-Z0-9 and it worked also i added arabic strings (idk how to apply to all strings)

— Reply to this email directly, view it on GitHub https://github.com/zwpaper/obsidian-progressbar/issues/16#issuecomment-2237708513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADA7UG66BBDXEPJQHFFVV5TZNA4KXAVCNFSM6AAAAABFGBPKHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXG4YDQNJRGM . You are receiving this because you commented.Message ID: @.***>

sanabel-al-firdaws commented 3 months ago

Do you have a patch ready? Or tell me exactly where to fix it пт, 19 лип. 2024 р. о 01:09 sanabel-al-firdaws @.> пише: i found a fix the proplem is the plugin is searching for a-z chars i just added {}/()a-zA-Z0-9 and it worked also i added arabic strings (idk how to apply to all strings) — Reply to this email directly, view it on GitHub <#16 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADA7UG66BBDXEPJQHFFVV5TZNA4KXAVCNFSM6AAAAABFGBPKHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXG4YDQNJRGM . You are receiving this because you commented.Message ID: @.>

https://github.com/sanabel-al-firdaws/notes/blob/88baa56f66bb494eb9e187c4ece259a038d05672/.obsidian/plugins/progressbar/main.js

i built the file from source try building it from source then copy paste the main.js you get or just copy the one i have here

zwpaper commented 3 months ago

sorry for the delay, I have found the problem, will raise a pr for it tonight

Alex-Shut commented 3 months ago

I have found the problem,

I think not only I will be grateful if your fix will work not only for Latin characters )

zwpaper commented 3 months ago

this should be fixed now, please update to v0.6.0 and make sure you are using button keyword!

if this plugin helps, please give me a star, it would be much appreciated

zwpaper commented 3 months ago

I have found the problem,

I think not only I will be grateful if your fix will work not only for Latin characters )

@Alex-Shut could you open an issue to describe your problem? It seems to be a new problem about the encoding system, and we can discuss it there.

Alex-Shut commented 3 months ago

could you open an issue

buttons appeared. Thanks for the fix. Created a new issue on the problem of symbols