hedgedoc / react-client

The frontend of the upcoming version 2.0

Home Page:https://hedgedoc.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create notes from 404 page

mrdrogdrog opened this issue · comments

Is your feature request related to a problem? Please describe.
Right now it's not possible to create notes directly using a url.

Describe the solution you'd like
As mentioned in hedgedoc/hedgedoc#1767 it would be nice to drop the workflow "if you access a free url and the note doesn't exist.. we create it!". So we should add a "Create this note" button on the 404 page.

Describe alternatives you've considered
Reimplement the "if you access a free url and the note doesn't exist.. we create it!" workflow.

The button on the 404 page should:

  • only exist if the instance is configured to support freeUrl-Mode
  • be in focus, when one visits the page, to make keyboard-only navigation possible (I'd argue this should be a test later…)