qJake / HADotNet.CommandCenter

📱 A web-based, wall-mountable command center for Home Assistant.
https://hacc.dev
Apache License 2.0
158 stars 11 forks source link

can't import #97

Closed jruibarroso closed 4 years ago

jruibarroso commented 4 years ago

Description

import Configuration Control and Themes

Environment

v1.019

AMD64 Docker on Ubuntu 18.04

Steps to Reproduce

when import , don't accept *.json

Screenshots

qJake commented 4 years ago

Can you provide more information? What is the problem? What file are you trying to upload / import? From what version is the import file? What error are you getting? Can you paste the application log?

jruibarroso commented 4 years ago

As I understood is a MacOS problem in open files

Jake Burgy notifications@github.com escreveu em seg, 27/04/2020 às 22:41 :

Can you provide more information? What is the problem? What file are you trying to upload / import? From what version is the import file? What error are you getting? Can you paste the application log?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qJake/HADotNet.CommandCenter/issues/97#issuecomment-620250559, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDQIBPATT6DPQ3XJ6RROELROX3XXANCNFSM4MQZOTNA .

-- Enviado pelo meu iPhone Xs

qJake commented 4 years ago

What browser are you using?

jruibarroso commented 4 years ago

Chrome and Safari , can’t select file to open , both files are grey (unselectable)

No dia 28/04/2020, às 20:02, Jake Burgy notifications@github.com escreveu:

What browser are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qJake/HADotNet.CommandCenter/issues/97#issuecomment-620796551, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDQIBNJH5VKLLYTJZKHY3DRO4R5RANCNFSM4MQZOTNA.

jruibarroso commented 4 years ago

On windows10, with Chrome there are no issues

No dia 28/04/2020, às 23:12, Rui Barroso jruibarroso@gmail.com escreveu:

Chrome and Safari , can’t select file to open , both files are grey (unselectable) <Captura de ecrã 2020-04-28, às 23.09.20.png>

No dia 28/04/2020, às 20:02, Jake Burgy <notifications@github.com mailto:notifications@github.com> escreveu:

What browser are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qJake/HADotNet.CommandCenter/issues/97#issuecomment-620796551, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDQIBNJH5VKLLYTJZKHY3DRO4R5RANCNFSM4MQZOTNA.

github-actions[bot] commented 4 years ago

This issue hasn't received an update in 2 months. 1 week from today, this issue will be closed. Comment to remove the stale label and extend the time.

hpapagaj commented 3 years ago

I have same problem. I am using Safari and Mac OS X.

hpapagaj commented 3 years ago

Please remove ".theme.json" from <input type="file" accept=".theme.json" id="importBrowser" name="file">. Use only .json or nothing.

For others as workaround, right click -> webinspector -> search for accept and remove ".theme.json". After that you can import the theme.

qJake commented 3 years ago

@hpapagaj Is there a macOS bug specifically that you can provide information on where this doesn't work? Is it specific to Safari?

In every OS, you can also change the filter to be able to upload any file type, so even if there is a bug, this doesn't prevent you from uploading the correct file.