Assessing nickel oxide electrocatalysts incorporating diamines and having improved oxygen evolution activity using operando UV/visible and X-ray absorption spectroscopy.