GithubHelp home page GithubHelp logo

Comments (10)

lostintangent avatar lostintangent commented on May 12, 2024

Thanks for this feedback! I just published an extension update that addresses two things:

  1. By default, the ctrl+right/ctrl+left arrows work as expected when navigating a tour. If you explicitly focus your cursor into the editor, then this keybinding no longer works, because ctrl+right/ctrl+left is already used to move the cursor to the beginning/end of the line. That said, focus is always placed on the comment UI when navigating a tour, and therefore, a user could the arrow keys to navigate forwards and backwards in ease, without having the inconsistent behavior we previously had.

  2. The CodeTour tree view is now kept in sync with the current tour step, to make it easy to visualize where in the tour you're at. Here's a gif that demonstrates the new behavior

So those two points should hopefully be addressed, and I'd love to hear your feedback! To your last comment: the up/down arrows in the tree view are actually there to allow you to re-arrange the steps in the tour, not to navigate you from one step to the other. If you have any thoughts on that UX, and how to make it more intuitive, I'd love to hear it 👍

from codetour.

abulka avatar abulka commented on May 12, 2024

That's MUCH nicer now - thanks. And apologies for misinterpreting the up/down arrows in the treeview - I think the GUI is OK for moving steps.

Re UX feedback - it would be nice to have an 'edit tour' button in the codetour explorer. It seems more sensible there than having to click on an arbitrary individual step to enter 'edit mode' for the entire tour.

Editing a step is a little confusing too - I need to hit the edit button on the step, then again on the ... button and then click 'edit step'. Perhaps the edit button on the step throws you into edit step mode directly?

from codetour.

lostintangent avatar lostintangent commented on May 12, 2024

Hey! If you right-click a tour in the tree, there is already an “Edit Tour” menu item. That said, I could also add an “Edit Step” menu item to jump straight to editing a specific step, and I can also update the edit action to put each step into edit mode directly. Thoughts?

from codetour.

abulka avatar abulka commented on May 12, 2024

Ah OK re the right click trick to 'Edit Tour' - I didn't notice that. A separate edit icon next to the play button I think still would be ideal - together with a more prominent 'editing mode' - like only showing the move up/move down buttons of the explorer whilst in editing mode. At the moment those editing buttons are always visible and upon reflection, I guess that's why I initially got confused thinking they were navigation arrows, because those editing/move step buttons are visible and functional in playback mode.

adding an “Edit Step” menu item to jump straight to editing a specific step

Yes, plus perhaps once in 'editing mode' plain clicking on any step would also do that behaviour.

I can also update the edit action to put each step into edit mode directly

Yes, that would be great, and by pressing on it you would switch from playback to 'editing mode', meaning as you jump from step to step (either via left and right arrow on each step, or via the explorer) you are always automatically in editing mode when you land on each step.

Finally, if there is a more prominent 'editing mode' thus a clearer distinction between playback and editing - then to exit editing mode, the red 'end tour' button should probably be replaced with an 'end edit' button on both the step and in the explorer, whilst in 'editing mode'. At the very least, the tooltip on all "End Tour" buttons should be reworded to say 'end edit' whilst in editing mode, because 'ending the tour' to 'exit editing' I think is confusing.

from codetour.

lostintangent avatar lostintangent commented on May 12, 2024

FYI, I added an “Edit Step” context menu to the tour tree and I also updated the tree to only show the buttons for rearranging steps while you’re actively recording.

That said, I’m going to repurpose this issue to be specific to putting the steps in edit mode automatically while in edit mode. Let me know if that makes sense 👍 In order to support this UX, I need a bug fix from VS Code, so we’ll have to wait for that to be shipped first unfortunately. Stay tuned!

from codetour.

abulka avatar abulka commented on May 12, 2024

Sounds good 👍

from codetour.

lostintangent avatar lostintangent commented on May 12, 2024

The bug fix for this was checked into VS Code, and so I was finally able to take advantage of this 😄 Thanks for the feedback and let me know if you run into any other issues/questions 👍

from codetour.

abulka avatar abulka commented on May 12, 2024

Is that version 0.0.25 of the extension? In that version, r.click selecting 'edit step' on a tree item puts me in 1st level 'edit tour' editing mode - I still need to click on '...' (more actions) and select 'edit step' a second time in order to actually edit the text of a step. Thus strictly speaking, the tree item popup menu should really be 'edit tour'.

My preference is that r.click selecting 'edit step' on a tree item puts me in deep, proper edit step mode on that step, allowing me to edit the text immediately - not just put me in 'edit tour' mode (which I find pointless). And there should be an icon on the tree toolbar which will 'edit step'.

I generally think having a two layered 'edit tour' and 'edit step' mode is confusing. I sort of get it now, after playing with it repeatedly, but it never feels natural. Just my 2c.

Thanks for the changes so far!

from codetour.

lostintangent avatar lostintangent commented on May 12, 2024

This change is in 0.0.26, and removes the “double edit”. Let me know what you think! Note that this may temporarily require VS Code Insiders, since the fix required a change in VS Code as well. I only use insiders, so I know it works there, and I didn’t check stable yet.

from codetour.

abulka avatar abulka commented on May 12, 2024

Ok my extensions updated themselves and I was finally able to test version 0.0.26 editing.

Nice - the removal of the "double edit" is such a great decision - the extension feels 10x more usable and now feels 'normal' to use. Thank you!

from codetour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.