I've noticed that often after I repair temporary damage on my ships, the part of the ship that is no longer damaged keeps that yellow glow as if it were.