mysociety / fixmystreet

This is mySociety's popular map-based reporting platform: easy to install in new countries and regions
http://fixmystreet.org/
Other
514 stars 237 forks source link

Report details screen is getting super cluttered on narrow screens #2013

Open zarino opened 6 years ago

zarino commented 6 years ago

Discussion on #2012 has brought up the fact that screens like this…

bordered

…are starting to feel super claustrophobic on small screens. (That screenshot is from an iPhone SE, where browser toolbars reduce the vertical height even further than it already is.)

A few thoughts:

zarino commented 6 years ago

Further thoughts from @dracos, spurred by us looking at this mockup of the page with lots of the buttons removed:

bordered

zarino commented 4 years ago

Here’s where the mockups got to on this:

report

As mentioned, I’m thinking that the desktop layout would be almost identical too – just with the map and "Expand map" button removed.

I am sure there will be edge cases I’ve not thought of. What do you think @dracos @wrightmartin?

zarino commented 4 years ago

If we do change the styling of updates, I’ll need to think how to handle the "Still open, via questionnaire, [date]" style of updates, that don’t have any body text.

dracos commented 4 years ago

Lots to like here! As ever, lots of these could be done as small increments rather than having to do them all at once :)

Going by your previous comment, yes, what is the difference now between nearby reports and expand map (on mobile); on desktop of course you'd go back to the page listing the reports but on mobile as the map is full screen at that point and it's basically the same view, hmm...

Perhaps metadata (apart from date) could all go behind a dropdown of "meta info" somehow? Or should it be under the text? Or split? Is the precise time important? Perhaps if it's been sent to the council the same day, it could be "Reported to FOO [in the blah] [today | on date]". If not yet sent, could be "Reported [in the blah] on date, not [yet] sent to council"; or only the date in that case.

zarino commented 4 years ago

Perhaps if it's been sent to the council the same day, it could be "Reported to FOO [in the blah] [today | on date]". If not yet sent, could be "Reported [in the blah] on date, not [yet] sent to council"; or only the date in that case.

This is exactly what I was thinking. It will mess with the translations, but maybe that’s not too big a deal. I’m sure lots of other strings will be changing.

Agree we could do it very incrementally. Off the top of my head:

what is the difference now between nearby reports and expand map (on mobile);

The main difference, to me, is that, once you’ve tapped "Expand" there’s a nice easy "Contract" that gets you back to the same screen again. Whereas if you go to nearby reports, there’s no easy way back, other than find and tapping the right marker on the map.

dracos commented 4 years ago

Could expand map be just the icon in the corner of the map? That would match e.g. youtube or google maps streetview map.

zarino commented 4 years ago

Could expand map be just the icon in the corner of the map? That would match e.g. youtube or google maps streetview map.

Yeah, could be!

That would just leave the "Nearby reports" / "Back to all reports" link between the map and the title – and now I’m wondering whether we even need that. "Nearby reports" could just be one of the items in the new #key-tools list slightly further down the page – which is, ironically, where the "Nearby reports" link currently is in the DOM anyway.