Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1787)

Issue 5865056: code review 5865056: godoc: use shorter titles for tabs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by gri
Modified:
13 years ago
Reviewers:
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

godoc: use shorter titles for tabs In a browser with many open tabs, the tab titles become short and uninformative because they all start with the same prefix ("Package ", "Directory ", etc.). Permit use of shorter tab titles that start with the relevant information first. Fixes issue 3365.

Patch Set 1 #

Patch Set 2 : diff -r 509fce3ba4e1 https://code.google.com/p/go #

Patch Set 3 : diff -r 509fce3ba4e1 https://code.google.com/p/go #

Patch Set 4 : diff -r 509fce3ba4e1 https://code.google.com/p/go #

Patch Set 5 : diff -r 509fce3ba4e1 https://code.google.com/p/go #

Patch Set 6 : diff -r 74edd315eec5 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -21 lines) Patch
M lib/godoc/godoc.html View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/godoc/codewalk.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/godoc/godoc.go View 1 2 3 4 5 7 chunks +33 lines, -17 lines 0 comments Download
M src/cmd/godoc/main.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
gri
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
13 years ago (2012-03-21 17:33:22 UTC) #1
bradfitz
I think servePage needs more positional parameters. On Wed, Mar 21, 2012 at 10:33 AM, ...
13 years ago (2012-03-21 17:35:52 UTC) #2
gri
I agree :-) I want to change it to use a field-indexed struct (instead of ...
13 years ago (2012-03-21 17:48:36 UTC) #3
bradfitz
I patched this in and am clicking around. Overall, very nice. Clicking "Packages" at the ...
13 years ago (2012-03-21 17:53:17 UTC) #4
gri
PTAL. Special-cased top-level package and command pages. Not sure it's worth it. - gri On ...
13 years ago (2012-03-21 18:05:51 UTC) #5
bradfitz
LGTM Or just "Packages" and "Commands". Either way. On Wed, Mar 21, 2012 at 11:05 ...
13 years ago (2012-03-21 18:21:04 UTC) #6
gri
13 years ago (2012-03-21 18:29:33 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=f180ac52630b ***

godoc: use shorter titles for tabs

In a browser with many open tabs, the tab titles become short
and uninformative because they all start with the same prefix
("Package ", "Directory ", etc.).

Permit use of shorter tab titles that start with the relevant
information first.

Fixes issue 3365.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/5865056
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b