gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.2k stars 10.33k forks source link

Revisit detail page header layout - Starter Showcase #6710

Closed shannonbux closed 6 years ago

shannonbux commented 6 years ago

@fk can provide design

fk commented 6 years ago

Ref. https://github.com/gatsbyjs/gatsby/issues/6098#issuecomment-400325261. I'll provide a design that handles both use cases.

shannonbux commented 6 years ago

@fk do we need this issue and #6098?

swyxio commented 6 years ago

alright i'll wait for this

fk commented 6 years ago

@shannonbux Let's keep one for starter and one for site showcase.

fk commented 6 years ago

I took a stab at bringing site and starter showcase headers for detail/modal pages closer to each other yesterday (these only show the relevant bits, not the whole page layout):

https://www.figma.com/file/SDk6oSBkddeq1tBYQuPHr9Pd/gatsbyjs.org%3Ashowcase.v3?node-id=52%3A3941

bildschirmfoto 2018-07-31 um 18 22 19

Should we open a new issue to discuss the changes?

shannonbux commented 6 years ago

I love these @fk! Especially the desktop versions. And with the mobile versions you've solved a lot of tricky problems elegantly. I only have a couple comments:

If opening a new issue and closing this one would help you stay organized or if you can think of other reasons to do it, go ahead!

fk commented 6 years ago

If opening a new issue and closing this one would help you stay organized or if you can think of other reasons to do it, go ahead!

Generally I think it could help if would separate feature discussion from implementation -- as both #6710 and #6098 already contain a bit of discussion, let's move along with this as it is. I'll pay attention to this for new stuff though.


Good to hear that you like the changes! 👍

The mobile detail:starter drop-down menu to "try this starter on..." confused me for some reason. Just thinking outloud, I think it's because I'd expect some sort of button to push after selecting something from the dropdown. I'd be nervous that as I'm scrolling, I could accidentally initiate an action I didn't mean to just through scrolling with my thumb.

IMO that's not only an issue with the links in the dropdown, but also with any other link on the page. Phones do a good job at distinguishing between "tap" and "scroll" usually. I really don't know how to solve this problem in a different way other than using a dropdown (which is not too costly to implement, at least for what we need in this specific case) or a "bottom sheet" (a little more costly, see e.g. https://material.io/design/components/sheets-bottom.html#modal-bottom-sheet). FWIW I really like the "bottom sheet" pattern and would prefer that on mobile.

I noticed the "visit this site" and social sharing button are on the screenshots on mobile views. It's tricky to know where else to put them since there is less space, and yet it still seems worth trying because of the potential for people to confuse the buttons as part of the site :)

We def. can put them elsewhere, but would lose some vertical space. I think you make a valid point here and streamlining the implementation wouldn't be a bad thing, either. Let me add another set of designs to try!

fk commented 6 years ago

Here's a shot at moving "Visit site/starter" and "Share" menu buttons away from the screenshot on mobile:

image

(also available in Figma at https://www.figma.com/file/SDk6oSBkddeq1tBYQuPHr9Pd/gatsbyjs.org%3Ashowcase.v3?node-id=52%3A3941)

The only thing we'd lose this way is the explicit site URL for the "Site Showcase" card ("2017.stateofeuropeantech.com"); I think that's perfectly OK. For the starter I demoed the truncation of the "builder" name ("By greglobinski-longnam...") and removed the "Built" from "Built by" to gain a little more horizontal space. Button text could be 1px vigger.

shannonbux commented 6 years ago

Looks great and in agreement with all responses to my questions @fk!

On Tue, Jul 31, 2018 at 1:00 PM, Florian Kissling notifications@github.com wrote:

Here's a shot at moving "Visit site/starter" and "Share" menu buttons away from the screenshot on mobile:

[image: image] https://user-images.githubusercontent.com/21834/43480670-3b8b7f04-9504-11e8-8c66-b0a63044a34a.png

(also available in Figma at https://www.figma.com/file/ SDk6oSBkddeq1tBYQuPHr9Pd/gatsbyjs.org%3Ashowcase.v3?node-id=52%3A3941)

The only thing we'd lose this way is the explicit site URL for the "Site Showcase" card ("2017.stateofeuropeantech.com"); I think that's perfectly OK. For the starter I demoed the truncation of the "builder" name ("By greglobinski-longnam...") and removed the "Built" from "Built by" to gain a little more horizontal space. Button text could be 1px vigger.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gatsbyjs/gatsby/issues/6710#issuecomment-409331681, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae9o2j549mtJ7BAvnzM3m1I6YkGrAvg6ks5uMKlkgaJpZM4VeA68 .

amberleyromo commented 6 years ago

update: @fk is creating updated mockups from more recent discussion

fk commented 6 years ago

Welcome to round 3 of mockups for this 🙄😁 🎉 But why?

Chatting with @amberleyromo about this issue and the latest mockups, Amberley pointed out some things missing in the consolidated designs shown earlier in this thread. More importantly, we discussed how to handle the differences in between mobile and desktop designs in terms of implementation, and realized that some of the decisions made for those designs unneccesary complicated the implementation without having a real benefit for the user.

Without further ado, here's the updated shots (please visit the source on Figma if you're having problems seeing the details):

bildschirmfoto 2018-08-30 um 18 10 50

These do…

@shannonbux Do you think the updated designs hold up to the earlier versions? Anything I missed @amberleyromo?

amberleyromo commented 6 years ago

@fk

removed all those subtle horizontal and vertical lines separating the different meta rows and "columns"

Subtle horizontal lines still in the mobile view (which I think makes sense) Intentional?

fk commented 6 years ago

Yes, I think they help on mobile. Sorry for not clearly stating that!

Sent from my Amiga 500

Am 30.08.2018 um 19:32 schrieb Amberley notifications@github.com:

@fk

removed all those subtle horizontal and vertical lines separating the different meta rows and "columns"

Subtle horizontal lines still in the mobile view (which I think makes sense) Intentional?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

amberleyromo commented 6 years ago

@shannonbux all comments addressed in figma -- started on #7731. Can we close this one out?

shannonbux commented 6 years ago

closing and starting on #7731 thanks @fk and @amberleyromo !

fk commented 6 years ago

👍