The canonical storage for an icon is a File: namespace page on commons. We added custom serialization when outputting /api/tools/ data to return both the File: namespace page and a generated URL suitable for use with <img/>. The /api/search/tools/ output does not have this bit of custom serialization. This makes it difficult to use the same vue components to display results from the database and the search backend. Moving the File: to image url logic into the UI will make things simpler for us.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
toolinfo: move toolinfo.icon transforms to frontend | wikimedia/toolhub | main | +199 -157 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 672846 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[wikimedia/toolhub@main] toolinfo: move toolinfo.icon transforms to frontend
Comment Actions
Change 672846 merged by jenkins-bot:
[wikimedia/toolhub@main] toolinfo: move toolinfo.icon transforms to frontend