-
-
Notifications
You must be signed in to change notification settings - Fork 267
[WIP] Add a new feature media to simplify handling of media in Openhab #3140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Hello All, I would appreciate if someone that have more experience that me on Vue Framework can give advice about these first version. Laurent |
|
In general I do think a popup is the proper way of displaying the media selection. |
Hello @florian-h05, I've restart to work on this today, but have to said that currenlty I'm failling to have a proper implementation of this popup. What happens today is that each time I click on a link, the popup is reload. What I understand is that we need in such case a subroute scenario for the popup, what is implemented in vue v3 with a tag. But If I don't mistake, openhab is using today vue v2, so not tag. Some hints seems to use a f7-view inside the popup to make a sub view. Something likes: But I feel to make it working correctly because it always finish with some infinite rendering loop on the popup component. Also make some try with chatgpt to make the fixes, but also failed as well. Is someone more experiment then me on vue and f7 framework can help me this resolved, it would be great. Laurent. |
|
Hello, Make some progress on this today. Still a lot of work to be done on it. Laurent. |
|
Forget about my last question, it seems I finally find a way to implement it somewhere correctly. As said in previous post, still a lot of work to be done to make it more stable and usable for end user. Laurent. |
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
…of command : PLAY, ENQUEUE Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
…ack play Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
UI enhancement on media browser Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
…cenario like target device change (currently test with spotify binding) Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
|
This branch was rebased on main branch as 6/11, and modifications was made to make this compatible vue3/framework7 v7 and pinia store. |
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
…e from global device selector Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
fix possible Infinite track position if we have no track duration Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
Signed-off-by: Laurent ARNAL <[email protected]>
|
Hello @florian-h05, Would appreciate a little help on a stupid thing! I see that when you are inside f7-page, you have f7route and f7router defined. But when the component are dynamically created by openhab like in layout, I can't find simple way to access this f7route without modify all the code of web-ui. Can you help me on solving this. Thanks, |
|
Hi Laurent, you can get access to the router through the f7 view, for example: openhab-webui/bundles/org.openhab.ui/web/src/components/navigation/oh-nav-content.vue Line 83 in e044a8d
|
Signed-off-by: Laurent ARNAL <[email protected]>
Thanks @florian-h05, I'm solve all my issue about routing. |
Add a new feature media to simplify handling of media in Openhab
Description
See this issue for description :
openhab/openhab-core#4710