I harvest the flowers when they don't feel like the flower stalk in the center is forming. It's a hard little bump in the center when it's getting ready to show itself. I don't do the leaves at all or the root though I may harvest some roots this fall.
Even if you don't use dandelions for herbal purposes they are an excellent plant for the honey bees.