Text this: Observing black hole phase transitions in extended phase space and holographic thermodynamics approaches from optical features