Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(339)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 5695068: code review 5695068: gotour: save to HTML5 LocalStorage

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Kyle E. Lemons
Modified:
12 years, 5 months ago
Reviewers:
adg
CC:
adg, rsc, kevlar, golang-dev
Visibility:
Public.
gotour: save to HTML5 LocalStorage This change adds LocalStorage to persist both the code that the user has created and the page the user last visited. To facilitate the first, a [RESET] button was added in the lower corner. Fixes issue 2. Fixes issue 16.

Patch Set 1 #

Patch Set 2 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 3 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 4 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 5 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 6 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 7 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 8 : diff -r 72d926d8e6ae https://code.google.com/p/go-tour #

Patch Set 9 : diff -r 54cbfe4db35c https://code.google.com/p/go-tour #

Created: 13 years, 8 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -7 lines) Patch
M static/tour.css View 1 2 3 4 5 6 7 2 chunks +15 lines, -2 lines 0 comments Download
M static/tour.js View 1 2 3 4 5 6 7 8 7 chunks +72 lines, -5 lines 0 comments Download
Total messages: 20
|
Kyle E. Lemons
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go-tour
13 years, 10 months ago (2012年02月26日 21:59:26 UTC) #1
Hello adg@golang.org (cc: golang-dev@googlegroups.com),
I'd like you to review this change to
https://code.google.com/p/go-tour 
Sign in to reply to this message.
adg
Thanks for doing this. It would be much better if the RESET button were adjacent ...
13 years, 10 months ago (2012年02月28日 00:07:34 UTC) #2
Thanks for doing this.
It would be much better if the RESET button were adjacent to RUN. Can you do
that?
Sign in to reply to this message.
Kyle E. Lemons
PTAL On 2012年02月28日 00:07:34, adg wrote: > Thanks for doing this. > > It would ...
13 years, 10 months ago (2012年02月28日 02:19:37 UTC) #3
PTAL
On 2012年02月28日 00:07:34, adg wrote:
> Thanks for doing this.
> 
> It would be much better if the RESET button were adjacent to RUN. Can you do
> that?
Ah, yes, that would make more sense. I made it [RESET] [RUN] since that moves
the run button the least from its original position.
Sign in to reply to this message.
Kyle E. Lemons
On 2012年02月28日 02:19:37, Kyle E. Lemons wrote: > PTAL > > On 2012年02月28日 00:07:34, adg ...
13 years, 10 months ago (2012年02月28日 02:23:50 UTC) #4
On 2012年02月28日 02:19:37, Kyle E. Lemons wrote:
> PTAL
> 
> On 2012年02月28日 00:07:34, adg wrote:
> > Thanks for doing this.
> > 
> > It would be much better if the RESET button were adjacent to RUN. Can you do
> > that?
> 
> Ah, yes, that would make more sense. I made it [RESET] [RUN] since that moves
> the run button the least from its original position.
Eh, hold on, I messed something up when you first visit.
Sign in to reply to this message.
adg
I noticed that too, but I couldn't reproduce it in incognito. On 28 February 2012 ...
13 years, 10 months ago (2012年02月28日 02:28:20 UTC) #5
I noticed that too, but I couldn't reproduce it in incognito.
On 28 February 2012 13:23, <kyle@kylelemons.net> wrote:
> On 2012年02月28日 02:19:37, Kyle E. Lemons wrote:
>>
>> PTAL
>
>
>> On 2012年02月28日 00:07:34, adg wrote:
>> > Thanks for doing this.
>> >
>> > It would be much better if the RESET button were adjacent to RUN.
>
> Can you do
>>
>> > that?
>
>
>> Ah, yes, that would make more sense. I made it [RESET] [RUN] since
>
> that moves
>>
>> the run button the least from its original position.
>
>
> Eh, hold on, I messed something up when you first visit.
>
> http://codereview.appspot.com/5695068/
Sign in to reply to this message.
Kyle E. Lemons
On 2012年02月28日 02:23:50, Kyle E. Lemons wrote: > On 2012年02月28日 02:19:37, Kyle E. Lemons wrote: ...
13 years, 10 months ago (2012年02月28日 02:36:05 UTC) #6
On 2012年02月28日 02:23:50, Kyle E. Lemons wrote:
> On 2012年02月28日 02:19:37, Kyle E. Lemons wrote:
> > PTAL
> > 
> > On 2012年02月28日 00:07:34, adg wrote:
> > > Thanks for doing this.
> > > 
> > > It would be much better if the RESET button were adjacent to RUN. Can you
do
> > > that?
> > 
> > Ah, yes, that would make more sense. I made it [RESET] [RUN] since that
moves
> > the run button the least from its original position.
> 
> Eh, hold on, I messed something up when you first visit.
Okay, fixed. I'd forgotten a return. Tested in Firefox, Safari, and Chrome on
my mac.
PTAL
Sign in to reply to this message.
rsc
On Mon, Feb 27, 2012 at 19:07, <adg@golang.org> wrote: > It would be much better ...
13 years, 10 months ago (2012年02月28日 17:05:31 UTC) #7
On Mon, Feb 27, 2012 at 19:07, <adg@golang.org> wrote:
> It would be much better if the RESET button were adjacent to RUN.
I haven't looked at the actual CL but it seems to me that it
would be best if RESET were nowhere near RUN, to prevent
accidental clicks.
Sign in to reply to this message.
kevlar
> > On Mon, Feb 27, 2012 at 19:07, <adg@golang.org> wrote: > > It would ...
13 years, 10 months ago (2012年02月28日 18:05:01 UTC) #8
>
> On Mon, Feb 27, 2012 at 19:07, <adg@golang.org> wrote:
> > It would be much better if the RESET button were adjacent to RUN.
>
> I haven't looked at the actual CL but it seems to me that it
> would be best if RESET were nowhere near RUN, to prevent
> accidental clicks.
>
Is putting it between PREV and NEXT sensible? I initially put it there
because up top looked like it would reset the whole tour (which is doable,
bit I think less desired) and that seemed like an easy place to put
something slide-specific.
Sign in to reply to this message.
rsc
I would put it in some out of the way corner not near any other ...
13 years, 10 months ago (2012年02月28日 18:10:12 UTC) #9
I would put it in some out of the way corner not near any other buttons,
so that the mouse would not be over there unless it was trying to get
to RESET.
Sign in to reply to this message.
kevlar
> > I would put it in some out of the way corner not near ...
13 years, 10 months ago (2012年02月28日 18:15:06 UTC) #10
>
> I would put it in some out of the way corner not near any other buttons,
> so that the mouse would not be over there unless it was trying to get
> to RESET.
>
Lower right corner of the code box, then?
Sign in to reply to this message.
Kyle E. Lemons
PTAL. I have moved RESET to the lower right corner. Surprisingly, this actually works nowadays ...
13 years, 10 months ago (2012年03月03日 18:14:30 UTC) #11
PTAL.
I have moved RESET to the lower right corner. Surprisingly, this actually works
nowadays in Chrome, Firefox, and Safari (on my mac, at least). I can't say if
any of this works on IE or not; I don't have one handy.
On 2012年02月28日 18:15:06, kevlar wrote:
> >
> > I would put it in some out of the way corner not near any other buttons,
> > so that the mouse would not be over there unless it was trying to get
> > to RESET.
> >
> 
> Lower right corner of the code box, then?
Sign in to reply to this message.
kevlar
ping
13 years, 10 months ago (2012年03月15日 18:39:26 UTC) #12
ping
Sign in to reply to this message.
Kyle E. Lemons
Ping Sync'd and merged.
13 years, 8 months ago (2012年04月23日 20:27:34 UTC) #13
Ping
Sync'd and merged.
Sign in to reply to this message.
kevlar
ping (would there be a better time to put this CL forward?)
13 years, 8 months ago (2012年05月01日 17:19:20 UTC) #14
ping (would there be a better time to put this CL forward?)
Sign in to reply to this message.
rsc
On Tue, May 1, 2012 at 13:19, <kevlar@google.com> wrote: > ping (would there be a ...
13 years, 8 months ago (2012年05月01日 17:22:55 UTC) #15
On Tue, May 1, 2012 at 13:19, <kevlar@google.com> wrote:
> ping (would there be a better time to put this CL forward?)
adg has been offline/traveling, and we're all a bit behind on mail.
we'll get to it. sorry for the delay.
Sign in to reply to this message.
adg
It's on my list, it's just below a few other important things. Thanks for your ...
13 years, 8 months ago (2012年05月01日 22:13:43 UTC) #16
It's on my list, it's just below a few other important things. Thanks
for your patience.
Sign in to reply to this message.
adg
LGTM
13 years, 8 months ago (2012年05月02日 22:54:37 UTC) #17
LGTM
Sign in to reply to this message.
adg
*** Submitted as http://code.google.com/p/go-tour/source/detail?r=e057b1ee4434 *** gotour: save to HTML5 LocalStorage This change adds LocalStorage to ...
13 years, 8 months ago (2012年05月02日 22:55:14 UTC) #18
*** Submitted as http://code.google.com/p/go-tour/source/detail?r=e057b1ee4434
***
 gotour: save to HTML5 LocalStorage
This change adds LocalStorage to persist both the code that the
user has created and the page the user last visited. To facilitate
the first, a [RESET] button was added in the lower corner.
Fixes issue 2.
Fixes issue 16.
R=adg, rsc, kevlar
CC=golang-dev
http://codereview.appspot.com/5695068
Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.
adg
Nice work. It's now deployed. Thanks.
13 years, 8 months ago (2012年05月02日 22:59:15 UTC) #19
Nice work. It's now deployed.
Thanks.
Sign in to reply to this message.
remyoudompheng
R=close
12 years, 5 months ago (2013年07月20日 20:14:14 UTC) #20
R=close
Sign in to reply to this message.
|
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /