Skip to content

Insert markdown when click on Add Evaluation #160

Description

@nasdan

Implement insert evaluation markdown in Trainer module.

  • Right now there is a dummy EvaluationPanelComponent under ./src/pages/trainer/training/edit/components/panels/evaluation/evaluationPanelComponent.tsx.

Steps:

  • Create a fork.

  • Create new branch called feature/<issue_number>_<issue_title>(where issue_number is the id of this issue given by Github).

  • The idea is insert the filled evaluation title link into current markdown editor.

  • When click on 'Add evaluation' button, insert title into markdown text area (./src/pages/trainer/training/edit/components/editor.tsx) a link like: [Test Evaluation title](url).

  • Don't worry about the url value, for now.

  • The funtionality could be some similiar as toolbar link button.
    ./src/pages/trainer/training/edit/components/toolbar/buttons/toolbarMarkdownButton.tsx
    `./src/pages/trainer/training/edit/components/toolbar/groups/linksGroupComponent.tsx

  • Important: Follow this work flow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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