Heat the oven to 375°F and line baking sheets with parchment.
Beat the softened butter and both sugars until smooth. Beat in the egg, then add the orange juice and zest.
Whisk the flour, baking soda, and salt in a separate bowl. Mix into the butter mixture just until combined, then fold in the chopped cranberries and optional walnuts.
Scoop rounded tablespoonfuls onto the baking sheets, spacing them 2 inches apart.
Bake until the edges are golden, about 12–14 minutes. Begin checking at 9 minutes if your oven runs hot. Cool completely on wire racks.
Stir the confectioners’ sugar, orange juice, and zest until smooth. Spread over the cooled cookies and let the glaze set.