these two kinda go together and most of the josh+amy stuff is vintage sorkin.
a lot of actors can't handle sorkin, many of whom were in the newsroom cast, which sucks for newsroom. mary louise parker is as good as anyone i've seen at it. if she had been cast as mandy from the jump, it would've prevented a lot of headaches.
speaking of which, the clip above (from 20 hours in america, arguably the best ww episode), features tyler the campaign intern, played by john gallagher, jr, who was later cast as one of the main characters in the newsroom, and one of the better ones imo. kinda fun trivia.
for a drama, this episode has 5-7 lol moments, which even for sorkin is saying something. it's just a hilarious episode.
also, for some reference on how tv has changed, for better or worse. when the awards are given out, comedies and dramas traditionally are divided not by joke density, but by episode length. it's not right or wrong, just how it goes.
the bear isn't a traditional comedy but will win best comedy every year it's around. should it have gone against succession, a much more straightforward drama, that i would argue might be a funnier show top to bottom? not for me to say.
but every episode of season 3 ted lasso (an obvious "comedy") was longer than any west wing episode ever produced. again, just fun trivia.