Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign Manual landing page #1186

Open
jasonlong opened this issue Mar 15, 2018 · 11 comments
Open

Redesign Manual landing page #1186

jasonlong opened this issue Mar 15, 2018 · 11 comments

Comments

@jasonlong
Copy link
Member

I'm hoping we can keep this simple and expose all of the man pages plus some useful jumping off links.

Placeholder here: https://git-scm-pr-1179.herokuapp.com/manual

@jasonlong jasonlong created this issue from a note in Site modernization (Backlog) Mar 15, 2018
@jasonlong jasonlong moved this from Backlog to In progress in Site modernization Mar 15, 2018
@jasonlong jasonlong self-assigned this Mar 15, 2018
@sxlijin
Copy link
Contributor

sxlijin commented Mar 15, 2018

We've got analytics floating around somewhere that I bet would be super helpful for this.

@jasonlong
Copy link
Member Author

@sxlijin Yep, that's what I was thinking. According to Google Analytics, these are the most frequently visited man pages:

git-stash
gitignore
git-pull
git-checkout
git-merge
git-clone
git-rebase
git-commit
git-push
git-reset
git-diff
git-branch
git-fetch
git-show-branch
git-add
git-log
gittutorial
git-remote
git-submodule
git-init
git-clean
git-rm

Maybe we have a section with the most common commands needed for a basic workflow, something like:

git-init
git-clone
git-checkout
git-branch
git-add
git-commit
git-push
git-pull
git-merge

And then another with other frequently accessed pages like:

git-stash
gitignore
git-rebase
git-reset
git-diff
git-fetch
git-show-branch
git-log
gittutorial
git-remote
git-submodule
git-clean
git-rm

@sxlijin
Copy link
Contributor

sxlijin commented Mar 17, 2018

Hmmmm. Maybe it might make sense to categorize the commands?

I feel like in addition to basic workflow, rebase/reset/diff/log kinda fall into a "have a repo, trying to do X" category (and submodule/stash/fetch kinda fit here too).

Also worth noting, an alphabetic sort might be useful. Not sure if it's the best idea, but the first time I looked at that list I wasn't really sure how to browse it.

@jasonlong
Copy link
Member Author

I started brainstorming ways of grouping the commands and kept coming back to the fact that we already have the commands organized in categories.

Here's another idea. We could expand out the existing categories w/ their one-line summaries (responsive version TBD) and then indicate the more popular pages with a star or something.

screen shot 2018-03-19 at 4 16 28 pm

@peff
Copy link
Member

peff commented Mar 19, 2018

I like that direction. You can still use the categories to find what you're looking for, or if you don't know the category, you can skim for stars.

It would probably make sense to keep the stars for each category grouped at the top, and probably make the non-starred ones smaller (e.g., by not including their one-line summaries).

@pedrorijo91
Copy link
Member

just as @peff, I really like this version. But I would prefer to keep the one-line summaries in all the commands just for consistency. I think the star icon is enough to give the headlight

@peff
Copy link
Member

peff commented Mar 19, 2018

My concern with the one-line summaries for all is just that it becomes hard to scan the list looking for "starred" entries. But I'm happy to punt on that until we see the final design and live with it for a while.

@jnavila
Copy link
Contributor

jnavila commented Mar 19, 2018

Wouldn't the stars be more useful if put on categories where all the commands are common? Here it seems like despite their commonness, they are scattered in the page.

@jasonlong
Copy link
Member Author

jasonlong commented Mar 19, 2018

FWIW, based on the list from GA above, the most-frequented pages are indeed scattered over the page. I imagine this is from a mix of newer users looking at basic commands + more experienced users referring to harder to remember commands.

Edit: also, I'll be on vacation this week so there won't be much progress from my end until I'm back. 🌴

@sxlijin
Copy link
Contributor

sxlijin commented Mar 20, 2018

This kind of ties into an idea that's been bouncing around my head: it would be great to announce this somewhere and collect user feedback, e.g. /r/git, maybe /r/programming, lobste.rs, HN, etc., so that we have opinions from people who aren't Git contributors.

@peff
Copy link
Member

peff commented Mar 23, 2018

I do think it's a good idea to get some outside feedback. I'm a little worried about having to sort through an influx of input with low signal/noise ratio (I don't mean to imply that the feedback will be low quality, but that we'll get a lot of "you should do this one specific thing" without very much overlap, some of which are bound to conflict, and sorting and organizing the suggestions will be a task in itself).

@jasonlong jasonlong removed their assignment May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Site modernization
  
In progress
Development

No branches or pull requests

5 participants