They have almost exactly the same meaning. Only the mental picture you are communicating is slightly different. You saw a complete episode of dancing activity in the first one; the whole observation is expressed as a finished period of time when the dancing took place.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.