avi12 / youtube-time-manager-feedback

The place to give YouTube Time Manager feedback.
4 stars 0 forks source link

[Bug] youtube-time-manager-feedback - Weekly chart and Configuration Bar #2

Closed Lucasark closed 8 months ago

Lucasark commented 8 months ago

Describe the bug

image image

How to reproduce

Just clicked the icon

Expected behavior

Show Data

And, I think that need show something else on configuration

What browser(s) can you reproduce the issue on?

Chrome

What OS does it occur on?

Windows

What's the extension version you're running?

3.0.1

Make sure the bug wasn't reported before

Make sure that YouTube Time Manager is the only extension running on YouTube

Additional context

No response

avi12 commented 8 months ago

Huh, that looks like a theming issue For some reason, I forgot to implement the dark theme, thanks for the heads up! It will be fixed in 3.0.3+

avi12 commented 8 months ago

Regarding the weekly chart, once you get the update, can you export the data? I'm not sure why the date is invalid

Lucasark commented 8 months ago

I can only export "old data", to "new data" it show block click:

image

(OLD) YouTube Time Manager OlD Data.json

avi12 commented 8 months ago

Update 3.0.3+ lets you click the "Export new data" button I forgot to implement the mechanism that enables that button, as I concentrated my main efforts on the pop-up within YouTube.com

Lucasark commented 8 months ago

Update 3.0.3+ lets you click the "Export new data" button I forgot to implement the mechanism that enables that button, as I concentrated my main efforts on the pop-up within YouTube.com

I am waiting the 3.0.3 go to Chrome - Mac, i am trying to update but the version is still on 3.0.1

image

ATUALIZAR -> UPDATE EXTENSÕES ATUALIZADAS -> EXTENSION UPDATED

avi12 commented 8 months ago

image

Lucasark commented 8 months ago

image

https://chromewebstore.google.com/detail/youtube-time-manager/fpoooibdndpjcnoodfionoeakeojdjaj

On chromewebstore is still 3.0.1, I wil awaiting few seconds

avi12 commented 8 months ago

Update 3.0.3 is now live on CWS

Lucasark commented 8 months ago

YouTube Time Manager Data.json New data,

image>

avi12 commented 8 months ago

Huh, apparently a date like the following is invalid:

09:00:00 GMT-0300 (Horário Padrão de Brasília)
Lucasark commented 8 months ago

Huh, apparently a date like the following is invalid:

09:00:00 GMT-0300 (Horário Padrão de Brasília)

It is my UTC haha

avi12 commented 8 months ago

@Lucasark Please open the Chrome Devtools (F12), in the Console tab type:

new Date();

and take a screenshot

Lucasark commented 8 months ago

@Lucasark Please open the Chrome Devtools (F12), in the Console tab type:

new Date();

and take a screenshot

image
avi12 commented 8 months ago

That's so strange For some reason, the extension saved a timestamp without the date, even though new Date() does return a date

avi12 commented 8 months ago

Ok, I figured out the issue When I do:

new Date().toLocaleDateString();

I get 1/20/2024, which can be inserted directly into new Date() However, in Brazilian Portuguese Chrome, the command above yields 20/01/2024, which cannot be inserted into new Date()

Lucasark commented 8 months ago

Ok, I figured out the issue When I do:

new Date().toLocaleDateString();

I get 1/20/2024, which can be inserted directly into new Date() However, in Brazilian Portuguese Chrome, the command above yields 20/01/2024, which cannot be inserted into new Date()

image

You can use options

avi12 commented 8 months ago

That's very interesting. I'll probably use it indeed

avi12 commented 8 months ago

@Lucasark Please try to sideload: youtube-time-manager-3.0.7.zip This version contains both the fix for the bar chart and periodically updates channel icons

avi12 commented 8 months ago

I pushed this version If the issue repeats, feel free to reopen it