"cześć" is informal, so generally with people you would use "bye" rather than "goodbye". Children and teenagers, your colleagues, people you know well.
True, I guess we need "good afternoon" to be the main English translation somewhere. I put it as the default translation in 2 out of 5 sentences from this skill.