CTHub: repository setup for React

Description

State storage - redux (some things belong as local state, some in the global redux state):

  • Pass in content types as initial state

  • General state:

    • drop-down expanded (local)

    • selected drop-down mode

    • content types

    • editor is expanded

    • errormessage

  • Create content state:

    • view mode (local)

    • Detailed view (id)

      • warnings/errors

      • show license dialog

      • show screenshots lightbox

        • index

  • Upload

    • File chosen

Acceptance Criteria

  • babel transpiler

  • react setup

  • automatic test environment - jest

  • “prettier” - auto code formatter

  • eslint setup - our own version of airbnb

  • different build commands, “build”, “watch”

  • State storage (see description)

Status

Assignee

Thomas Marstrander

Reporter

Thomas Marstrander

Labels

Funding

None

Code reviewer

Pål Jørgensen

Released

None

Time tracking

6h

Sprint

None

Fix versions

Priority

Medium