Skip to content
Verified Commit d294f90e authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

AboutPage,AboutItem: Fix and rework avatar loading controller

It was completely broken because of a race between Repeater::count and
actual items being available as children to iterate over. Regardless
that was an inside-out twisted data flow, and should be replaced by a
simple top-level property with a straightforward JavaScript array
aggregator and a little helper function which is reused in person
delegate.

A new exposed property provides developers with means to control the
defaults.

Potential area for improvement: both old and new code only detects
avatar URLs of authors, but it should probably also account for credits
and translators?
parent 9d626a2d
Pipeline #496977 passed with stage
in 3 minutes and 27 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment