Vancouver is in a spectacular location, but the city centre area isn't great, though really nice areas around the waterfront. I think 8 days would be too long in the city itself, go up to Whistler for mountain activities, or go to the southern gulf islands (eg. salt spring), or take a flight over to Vancouver Island on a seaplane which is really nice [broken link removed].
For swimming Whistler has a few big lakes which are great for swimming, and it'll be nice & warm in July.
Re. Edmonton - I don't know why you're spending any time there, maybe you've friends there. I'd spend all my time in the Rockies, & if you end up with time on your hands, go visit Eastern BC - Nelson, Revelstoke etc. - spectacular country & lots of hot springs in that area for a soak.
When flying to Vancouver from the east, try and get a seat on the right of the plane so you can see north to the Rockies & the North Shore mountain ranges.