vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
155 stars 71 forks source link

Web ui bugs #64

Open RonnyRusten opened 4 years ago

RonnyRusten commented 4 years ago

image

allthepies commented 4 years ago

Additionally the spelling mistake on the panel title still exists "Cotnroller" should be "Controller"

vitotai commented 4 years ago

OK. I know this issue, but it would take some time to fix, excluding the "controller"one.

RonnyRusten commented 4 years ago

I have replaced all occurrences of "Cotnroller" that VS Code could find, but it still shows "Cotnroller". If you could tell me where in code the error might be, I can look into it... also the "funky" symbols...

RonnyRusten commented 4 years ago

Sorry, I'm an idiot. The symbol behind 34.75 isn't the deg celcius, it's the SetPoint symbol... The symbol under the Heat symbol when both Heat and Sparge Heat is activated is just an regular letter S, I guess, therefore it isn't in the definitions. If you turn off heat, it switches to a 1, which is defined as primary heat, which I believe is wrong, it should either be 2, or the inverse S, also, the inverse H should turn into a regular H.

vitotai commented 4 years ago

I thought I didn't consider some scenarios, but it turns out I did. This bug is solved by correcting the glyphs in Javascript. Try download bm.htm.gz from html.src/dist/english/ and try again. Don't forget to reload the page.

RonnyRusten commented 4 years ago

Yes, this worked for the symbols, but it still says "Cotnroller". I tried to change it in bm.htm.gz and upload again, but it didn't work. Is this defined somewhere else?

vitotai commented 4 years ago

Well. modifying the bm.htm.gz should fix it. You might need to reload again.

RonnyRusten commented 4 years ago

I finally got it to work, but I had to open the bm.htm.gz and change it directly in 7zip editor. How do I build a new bm.htm.gz? I have tried to change some of the other texts, but I can't figure out how this works. And, where does the other texts come from? I have changed texts in english.json, but nothing is changing on the web, and the date/time on bm.htm.gz isn't updated when I run the Build task.

vitotai commented 4 years ago

The building process of HTML/JS files is defined in grunt.coffee.