If you can, close slack while writing code - someone will call or tap you on the shoulder if there is an emergency.
What’s your title?
Are you expected to write code while “on call”?
And yes, code productivity is expected to be unaffected. And yeah, I'm looking for a new job.