-
Notifications
You must be signed in to change notification settings - Fork 11
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
[PoC implemented] Display model and source img #80
Comments
As there seems to ne no capacity to extend the api, i prepared it without need of an adapted API on cost of some performance. as soon as the api is extended, the fetching part here can be reverted. It looks as follows: there is a tooltip stating that alternative source is assigned (as shown in second image) |
performance needs to be checked if its usable! |
Hi Henryk, first of all thanks for your work. It is awesome. Here is some feedback I like to provide you in regards of travel/coin tonies, while testing this PoC implementation. As a quick background: I copied the original tonies metadata from the tonies.json over to the tonies.custom.json and than only modified the Without having a look at the code it seems that the original content seems to be switched to my custom one as you can see in the first picture here: After I removed that from the tonies.custom.json it switch back to the original image: So my original idea was to have a clear differentiation between the original and travel tonies which was ok for the time being. Maybe for that use case (as I think many using travel tonies) It found be cool to have it the other way around:
Hope this feedback is helpful for the further steps. |
first thank you for your feedback! The big image is fetched from the model information. There should be no change at all. If you duplicated the json entry with the same audio id and hash, and only changed the pictures then this causes some uncertainty. The system has now to choose between two entries for one tag. Actually I do not know which one it prefers, the one from the tonies.json or the one from the tonies.custom.json. It seems like the custom one, but I don’t know. Especially I am not aware from with source the information was fetched in the end. how ever. I use indeed the picture to decide if the small image shall be shown or not. If the picture is the same, I do not show the small one (only in the tonies view, in the information modal I also check differences within series, episodes and tracks). still quite complicated and I have currently no idea how to solve that using this feature. your proposal sounds reasonable, but I still prefer the actual tonie (model) as bigger image and the content (source) as smaller one. so maybe you should adapt your custom entry for travel tags in general. No tonie image, just the coin. No audio id nor hash. Assign that as model to the travel / coin tonie. The actual content then will be the small tonie image. |
I still think the label request would solve this much better. |
@cbob : have a look here: |
The more I think about the current implementation the more I would agree to the current implementation. So for example (even if I don't think that is currently a use case for me): If some day I would like to assign an alternative content to the coin/travel tonie (which than also has still that image inside the coin capsule) I could select the new content and than the hole think makes much more sense like before: Maybe (for my original intent) this label request would really make more sense than this feature. But somehow is there any chance to make this feature optional? So if I have the situation with same tonie content but different picture I could opt-out that feature and if I come back later I could enable it again. Regarding your last comment this is also a good workaround. I will also try to play around it. Thank you! |
as soon as its possible to store some settings in a db or what ever, I think this could be configurable, even in tag level. on global level it may get its own setting in the settingssection. but this will be a subject to be discussed. @SciLor what do you think about making some teddycloud frontend features configurable? (like show sourceInfo) |
@henryk86 do you think it would be convenient to decide based on the content. So for example if the alternative content matches the other one than also not display the small icon? So the tooltip current shows:
Which for me as a user would also look as the contents are the same. |
i would rename the custom tonies json element accordingly with "Traveltonie Feuerwehrmann Sam". maybe I change the tooltip also, remove "alternative". i will sleep on it. |
@cbob : I am currently trying to recreate this 1:1. But as soon as I have the entry from the tonies.json in the custom json and only change the image, only the image from the custom json is displayed. no two images. in the model search, only the image from the custom json is displayed... did you really only change the image? |
@henryk86 this was the first picture I posted here. It seems that the custom tonie has priority. What I than changed (see second picture) was removing the |
did you captured the screen directly after changing the source? In my version i changed here something so that the tonie is really updated in frontend... maybe thats the difference... but still there would be the problem that you are not really able to distinct between both... if i adapt the custom json as mentioned (+changing the modelnumber): |
So I quickly checked the necessary steps I did to reproduce the initial behavior. So originally the config in tonies.cusom.json looked like this:
In that case the original content was also associated with that coin image (in my case). To get the behavior of the second image I removed the
In both cases (hope I mentioned that) I added a prefix to the custom entry |
the following cases are possible:
i would go the following: for case 1: Show only model picture but again... but I think we can go with that... |
next develop version will have this change. |
Yes, I think this should be not really a problem. Thanks a lot! |
For this last topic I also found something strange in my setup: The shown apperence is only the same for me if I look on the home view. On the tonies page this does not seem to be there: Another think I found is that a tonie which doesn't have an This seems to be different from yours right? |
I overworked here a lot now. i rechecked and it looks now the same. lets wait for the merge and recheck then.
Yes. Library and content depends on the audio_id |
@cbob so. Es ist im develop. Bitte einmal anschauen :) |
@henryk86: Sieht gut aus. Jetzt ist es denke ich klarer verständlich. Vielen Dank! Auch die Diskrepanz zwischen Home und Tonies ist jetzt verschwunden. |
PoC in Develop |
@cbob this was now moved to the backend api. May you check in latest develop if it still works fine for your setup? |
As far as I see it works still fine in TeddyCloud vX.X.X (a5a6237)! |
Perfect! |
If you assign a tag a certain model but a different source (like model is the image of the tag and source is the actual content (e.g. model: yakari figurine, content: episode 7 (Cd with cover xyz))) it would be nice to represent that in the tonie card also. Like the model image as currently as cover and new the src image as a small overlay or hover image.
something like here mocked:
Mockup details
source code:
or overwork it a little that there are multiple images available (model one for cover and a second image for src). All other stuff like tonieinfo should be fetched from source if available (and filled from model if not set on src level)
The text was updated successfully, but these errors were encountered: