Seeing spots and rib pain, shortness of breath ? Sign of something

So for the past two-three weeks I have been seeing spots like little dots of light, they will be black, blue, or white.. everyone has said this is normal and totally brushed it off, so I brushed it off and never told my dr until last Thursday. She seemed a bit concerned and told me to eat bananas and bath in epsom salt for two days as well as up my water intake and if it didn’t stop then call her. Well they still happen frequently and my right upper rib cage always feel like there’s a constant ache underneath even though my babies feet aren’t in them. I have also found my self so short of breath just when sitting sometimes ... I’m turning 36 weeks in three days.