Problem/Motivation
Usecase:
For some better UX we want to hide the default image by default, and just show actual uploaded images. This allows us to drop the edit/delete buttons on single value items,
which are really pointless for default images.
Proposed resolution
In order to solve that in a nice way it would be nice if the entire logic to determine the uploaded entities would be its own "small" method.
That itself makes the code a bit easier to understand/follow.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | interdiff.txt | 793 bytes | dawehner |
| #5 | 2802969-5.patch | 7.82 KB | dawehner |
| #2 | 2802969-2.patch | 7.79 KB | dawehner |
Comments
Comment #2
dawehnerHere is some code for that
Comment #5
dawehnerLet's see whether this small chage fixes that :)
Comment #7
slashrsm commentedMakes sense. Committed.