rsjudka / intelligent-auto

41 stars 15 forks source link

Local cam #52

Closed stefan-sherwood closed 4 years ago

stefan-sherwood commented 4 years ago

image

image

stefan-sherwood commented 4 years ago

Notes:

Some possible future features:

stefan-sherwood commented 4 years ago

Camera doesn't disconnect stream when different tab is active (TODO)

It turns out that the camera stream uses virtually no resources when the video picture isn't visible.

rsjudka commented 4 years ago

Close camera button (upper-right corner) is too small and not obvious enough

what scale factor are you using? Seems fine when using 1x scale but i would agree anything below that it looks a bit small

rsjudka commented 4 years ago

I think it would be best to avoid using dropdowns... if you see for example the "color picker" would have made sense to use a dropdown, but its nearly impossible to style and doesn't work when using the "mocked" brightness module (aka dropdown opacity doesn't update with window)

rsjudka commented 4 years ago

also not sure im a fan of the radio button to select between network and local... my guess would be a user would either be using one type or the other, but not both

UI should be as minimalist as possible

stefan-sherwood commented 4 years ago

I think it would be best to avoid using dropdowns... if you see for example the "color picker" would have made sense to use a dropdown, but its nearly impossible to style and doesn't work when using the "mocked" brightness module (aka dropdown opacity doesn't update with window)

It would be really unusual that people would have more than one item in the dropdown, at least for now. Are you suggesting I just dynamically create entries for the different options? I can certainly do something like that.

stefan-sherwood commented 4 years ago

FWIW, I don't like my own UI. I was primarily doing what was expedient so that others could test its viability.

stefan-sherwood commented 4 years ago

Close camera button (upper-right corner) is too small and not obvious enough

what scale factor are you using? Seems fine when using 1x scale but i would agree anything below that it looks a bit small

I didn't change the scale factor so it's 1x. On an 8-inch screen, fat fingers can't easily hit it. It should be easy to close, even when driving.

stefan-sherwood commented 4 years ago

Also note that the X for closing the app is much bigger than the X for closing the tab.

stefan-sherwood commented 4 years ago

image

1x scale with finger for reference. IA running on 8-inch screen.

rsjudka commented 4 years ago

It would be really unusual that people would have more than one item in the dropdown, at least for now. Are you suggesting I just dynamically create entries for the different options? I can certainly do something like that.

Can you explain a bit more what you mean? I was just saying it would be better to use the "spinwheel" type widget I used for thing like the color picker

rsjudka commented 4 years ago

FWIW, I don't like my own UI. I was primarily doing what was expedient so that others could test its viability.

hmm this might be a good usecase for something like a "staging" repo. There we can basically add features as they get created, and then work on improvements and UI related stuff when going from staging -> develop

rsjudka commented 4 years ago

1x scale with finger for reference. IA running on 8-inch screen.

Ah yep that's small haha I guess I should have realized screen ratio != physical size

It'll be hard to try and balance the size of the button while trying to maximize the camera screen size

I'm thinking maybe we do something where if you tap the frame an x will pop-up or something? Hovering over it

stefan-sherwood commented 4 years ago

FWIW, I don't like my own UI. I was primarily doing what was expedient so that others could test its viability.

hmm this might be a good usecase for something like a "staging" repo. There we can basically add features as they get created, and then work on improvements and UI related stuff when going from staging -> develop

I thought that's what develop was for

rsjudka commented 4 years ago

I thought that's what develop was for

Yea, but we I still want develop to be "clean" - if that makes sense

Basically I think develop should always be ready to merge to master, meaning the code is clean and efficient, UI is well thought, etc

Having an additional branch would allow us to get more usage of new features that still need some "non critical" pieces finished (like the UI in your case)

stefan-sherwood commented 4 years ago

I thought that's what develop was for

Yea, but we I still want develop to be "clean" - if that makes sense

Basically I think develop should always be ready to merge to master, meaning the code is clean and efficient, UI is well thought, etc

Having an additional branch would allow us to get more usage of new features that still need some "non critical" pieces finished (like the UI in your case)

That makes perfect sense. Everywhere I've worked, what you describe as develop has been the staging branch but I don't care what it's called as long as it clear to people what's what.

stefan-sherwood commented 4 years ago

Made UI look more like AA page...

Local cam selection image

Network checked image

rsjudka commented 4 years ago

i like it! Give me some time to go through the code changes (curses github for screwing up the diff) and ill get it all merged up

stefan-sherwood commented 4 years ago

Thanks. It may be easier to use use --word-diff and diff that one file locally.

stefan-sherwood commented 4 years ago

PR migrated to openDsh. Closing.