Skip to content

Using routes (react-router) #2

@viktorsmari

Description

@viktorsmari

We need to decide which routes to use

Final routes:

  • /4556
  • /4556?biggraph=true indicates the 'biggraph' at the bottom should be 'ON'
  • /map will show the map but I don't think it makes sense to keep the kit selected
  • /map/nearby will show nearby kits on the map, and no need to keep the kit selected

Examples / suggestions:

  • /4556 - shows kit 4556 on the page
  • /4556?biggraph=true - Same as above + Big Graph is visible
  • /map - shows the map? But is the kit then still selected or not?
  • /nearby - Show nearby kits in a table? Or on the map? And is the kit still selected or not?
  1. Do we need more routes?
  2. Can we use ..me/1234 for the kits or will it clash with another route?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions