How did we switched from "Dinosaur are giant lizards" to "Dinosaur are giant birds" - eviltoast

When I was a kid, I learned about Dinosaur being “giant lizard”, and it’s been may-be 10 years, that I hear “Birds are dinosaurs”.

I am curious on how the concept evolve, both among paleontologists, and among the general public.