Skip to content

Regex implementation for tour resiliency #141

Open
@gracegtaylor

Description

@gracegtaylor

Instead of attaching tours to code using line numbers, we can explore an implementation using Regex instead.

Creating tour step

  • The user can create a new tour step using the current flow (create tour step>write contents>save)
  • The tour step will get recorded in the JSON file and attached to the current line using Regex

Editing tour step

  • The user can click "Edit" when viewing the tour step
  • The user can edit the contents of the tour step
  • Once the user clicks "Save", the JSON file will update the corresponding code that is attached

Editing code

  • The user can change the contents of the code that the step is attached to
  • Once the code is changed, the JSON file will update the Regex which the step is attached to

Removing code

  • The user can remove the line of code that the step is attached to
  • The corresponding CodeTour and glyph will be removed
  • The user can undo this change (ctrl+z) and move the CodeTour into a new location before removing the code

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions