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

Cursorless tutorial units 1 & 2 #360

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Cursorless tutorial units 1 & 2 #360

wants to merge 4 commits into from

Conversation

pokey
Copy link
Member

@pokey pokey commented Dec 5, 2021

Initial content for a cursorless tutorial

  • I have added tests
  • Properly support custom actions and other necessary custom spoken forms
  • Properly support custom symbol spoken forms (eg alphabet)
  • Add note at end of unit 1 suggesting they continue to play with the document
  • Tune tutorial content. Move / add docs tip to end of first tutorial. More stuff maybe better for follow-up PR
  • Make hat forcing more robust?
  • Show pop-up on install prompting them to do the tutorial. Prob should show pop-up even not on first install?
  • Store current progress in local storage (and sync it)
  • I have updated the docs and cheatsheet
  • I have not broken the cheatsheet
  • Fix scope tree view
  • How to handle disabled hat color?
  • Figure out unicode for emoji
  • Figure out what "cursorless tutorial" should actually do. Currently starts second tutorial, which is obv not what we want
  • Figure out how to advance from last step of initial tutorial, as it has no action to perform
  • Add "tutorial next" / "tutorial previous" commands
  • Add tutorial step saying to use "cursorless help" cheatsheat
  • Fix broken references to css eg reset
  • Invalidate state if custom spoken forms change
  • Change view when we detect that prereqs are no longer met (eg cursor in wrong place, etc). Indicate they should say "tutorial continue" / "tutorial restore" / "cursorless tutorial" to reset the prereqs
  • Merge HUD changes
  • Figure out how to properly detect VSCode focused
  • Highlight marks that need to be targeted, so user doesn't have to search for them
  • Remove print statements and commented out code from tutorial.py
  • Figure out how to only run step preparation when you have the right window focused. Some of the time @pokey gets error message after "cursorles help" step
    image
  • Open new window on start?
  • Ensure you're in the right window / editor before restoring state, so we don't accidentally clobber something
  • Get it to work with mainline Talon HUD
  • Finish constructing spoken forms from commands
  • Use app name for VSCode that works cross-platform
  • Figure out what todo with the fact that the cheatsheet clobbers the entire screen and you can't even see the close button (Reimplement cheatsheet using html #619)

See also cursorless-dev/cursorless-talon#143

Unit 2

  • Python
  • Have an action class?

To cover:

  • New scope types
  • New actions, including
    • single argument "bring"
    • multiple argument "bring"
    • "move"
    • "swap"
  • Simple inference in the context of multiple target actions such as swap or bring

Extra unit

  • Probably want to move this into a new pull request
  • Create a json script for it
  • Don't forget to add the intermediate steps where it was not a cursorless command and so isn't recorded

Links

Helpful places in our code base

In case we decided to look into VSCode walkthroughs rather than Talon hud

@pokey pokey force-pushed the cursorless-tutorial branch 3 times, most recently from ab8e8a3 to b366fa1 Compare December 12, 2021 17:20
@pokey pokey self-assigned this Dec 24, 2021
@pokey pokey added the documentation Improvements or additions to documentation label Dec 24, 2021
@pokey pokey changed the title Cursorless tutorial Cursorless tutorial units 1 & 2 Dec 24, 2021
@pokey pokey added this to To Do in Education Dec 24, 2021
@pokey pokey mentioned this pull request Jan 8, 2022
7 tasks
@pokey pokey moved this from To Do to In Progress in Education Jan 18, 2022
@pokey pokey force-pushed the cursorless-tutorial branch 2 times, most recently from bc3df21 to 59175ca Compare January 27, 2022 14:19
@pokey pokey force-pushed the cursorless-tutorial branch 3 times, most recently from c0a98ad to 3af06b5 Compare April 27, 2022 13:10
@pokey pokey added this to the 0.27.0 milestone May 16, 2022
@pokey pokey force-pushed the cursorless-tutorial branch 2 times, most recently from e05c437 to b3504a6 Compare July 9, 2022 14:22
@pokey pokey removed this from the 0.27.0 milestone Sep 6, 2022
@pokey pokey linked an issue Sep 6, 2022 that may be closed by this pull request
@pokey
Copy link
Member Author

pokey commented Sep 6, 2022

Closing until this becomes an active priority again

@pokey pokey closed this Sep 6, 2022
@pokey pokey deleted the cursorless-tutorial branch February 16, 2023 15:26
@pokey pokey restored the cursorless-tutorial branch December 7, 2023 14:39
@pokey pokey reopened this Dec 7, 2023
@pokey pokey mentioned this pull request Apr 22, 2024
15 tasks
@pokey pokey force-pushed the cursorless-tutorial branch 7 times, most recently from b936253 to 67ee375 Compare April 29, 2024 14:38
@pokey pokey force-pushed the cursorless-tutorial branch 10 times, most recently from 1ca1aa0 to 3d63ccb Compare May 2, 2024 09:13
@imochoa
Copy link

imochoa commented May 6, 2024

I'm really excited for this :)

@pokey pokey force-pushed the cursorless-tutorial branch 4 times, most recently from 0e51228 to e01a668 Compare May 13, 2024 16:46
@pokey pokey added this to the 1.0 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

Successfully merging this pull request may close these issues.

Cursorless tutorial units 1 & 2
2 participants