What does ‘star’ mean here?

'You're a star!' 

  • When i've heard it being used, it as a sincere thank you (although informally phrased). Sometimes it's added to the sentence after they say 'thank you'.

  • you have done well? to come from childhood rewardds of giving a gold star? do you have more context?