Skip to content

Creation UI URL hierarchy

Created by: felixfbecker

Currently the code insights creation UI has the following hierarchy:

  • /insights
  • /insights/create-intro
  • /insights/create-search-insight
  • /insights/create-lang-stats-insight

Note how there is redundancy in multiple ways, e.g. insight is repeated and create- is a prefix for multiple adjacent URLs.

I think a hierarchy like this would make more sense:

  • /insights
  • /insights/create (intro)
  • /insights/create/search (i.e. /insights/create/:type)
  • /insights/create/lang-stats (dito)