@lydiaconwell I don't do a lot of writing in sci-fi, but when I do, I have a dark "shielded" observation deck for stargazing. The "shield" is just a gravity field dome a few feet think that pushes inward hard enough to make the air density drop to 0 over a few feet.
The quality of the stargazing on spaceships is maybe something I think about too much 🤔