Merge lp://staging/~hegarty-sam/midori/midori-inline-speeddialtitle into lp://staging/midori

Proposed by Sam Hegarty
Status: Merged
Approved by: Cris Dywan
Approved revision: 6823
Merged at revision: 6839
Proposed branch: lp://staging/~hegarty-sam/midori/midori-inline-speeddialtitle
Merge into: lp://staging/midori
Diff against target: 162 lines (+62/-14)
2 files modified
data/speeddial-head.html (+61/-12)
midori/midori-speeddial.vala (+1/-2)
To merge this branch: bzr merge lp://staging/~hegarty-sam/midori/midori-inline-speeddialtitle
Reviewer Review Type Date Requested Status
Cris Dywan Approve
Sam Hegarty Pending
Paweł Forysiuk Pending
Danielle Foré Pending
Review via email: mp+241171@code.staging.launchpad.net

This proposal supersedes a proposal from 2014-10-06.

Commit message

Inline renaming of speed dials

Description of the change

Change how the user edits the title of shortcuts on the speed dial so instead of a prompt displaying it's done inline.

To post a comment you must log in.
Revision history for this message
Sam Hegarty (hegarty-sam) : Posted in a previous version of this proposal
review: Approve
Revision history for this message
Danielle Foré (danrabbit) wrote : Posted in a previous version of this proposal

Is there a reason for changing the indentation on diffline 9?

needs a space after the : on diffline 17

Maybe use "transparent" instead of "rgba(0, 0, 0, 0)"

I can confirm that this fixes the issue :)

review: Needs Fixing
Revision history for this message
Sam Hegarty (hegarty-sam) wrote : Posted in a previous version of this proposal

Woops, didn't notice I'd changed the indentation because of my editor settings. Fixed the other bits as well. Thanks for taking a look!

Revision history for this message
Paweł Forysiuk (tuxator) wrote : Posted in a previous version of this proposal

Please don't set review status yourself. Reviewer will do it for you once review is done.

Maybe i am missing something obvious, but there seems to be no way now to cancel the edit.
If you fat-finger or delete something you did not want to you seem to stuck with it now.
Also you may not remember what was there before the edit.
Seems like whatever was in the edit entry you are stuck with now.

First thing i would try as a user to cancel the edit would be hitting esc or clicking somewhere away from the dial tile (maybe highlight subtly where the given tile ends in the title edit mode?)

Other than that it looks mostly fine from the quick glance.

review: Needs Fixing
Revision history for this message
Sam Hegarty (hegarty-sam) wrote : Posted in a previous version of this proposal

Ah good point. ctrl+z can be used to undo but it would be nice to have a proper way to cancel. What about an 'x' inside the text-box to click?

Revision history for this message
Danielle Foré (danrabbit) wrote : Posted in a previous version of this proposal

I don't think there really needs to be a graphical way to cancel the change as long as there is an undo. There's no cancel when you're renaming in the file browser and I've never heard of this being a major issue people have with file browsers.

Adding 'esc' to cancel would probably be fine. I would personally expect the box losing focus (by clicking outside it for example) to save the change, not to cancel it.

Revision history for this message
Sam Hegarty (hegarty-sam) wrote : Posted in a previous version of this proposal

Alright, I've made pressing escape reset the input to what it was when they started changing it.

Revision history for this message
Sam Hegarty (hegarty-sam) : Posted in a previous version of this proposal
review: Needs Resubmitting
Revision history for this message
Sam Hegarty (hegarty-sam) wrote : Posted in a previous version of this proposal

Realized after commiting I'd read your comment wrong. Woops.

Revision history for this message
Cris Dywan (kalikiana) wrote :

I love it. Unfortunately I completely forgot to actually approve it, sorry :-D It works very well for me in testing. The only "drawback" here is, that it sort of raises the bar of the speed dial UX as far as adding via the dialog and lack of undo go ;-)

Would be thrilled to talk about follow up work!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: