Lucidity isn't all-or-nothing; it exists on a spectrum from no awareness to full awareness of the fact that you're dreaming, all the things you can do, and all the goals that you've set. It sounds like what you had was a semi-lucid dream.