Remove wiki page slug dialog
- Backend weight: 2
- Frontend weight: 2
Summary
When creating a new wiki page, a dialog is presented requiring the user to fill in the Slug
of the newly created page. The user is then redirected to the Wiki creation page: /NAMESPACE/PROJECT/wikis/SLUG-OF-NEW-PAGE
.
purpose of the first page slug dialog is not obvious to users. Can we get rid of it?
Description
The first follow up UI state on creating a new wiki page is the "New Wiki Page" dialog prompting you to define a page slug (with provided how-to-setup
placeholder). A textual tip provides info that you can also specify a full path with sub-structures.
When confirming, you get directed to the "Create page" with a generated pre-filled title.
I expect users to be confused by the required definition of the page slug in a first step when that is constructed into the page title anyway, without additional UI magic. Inconsistent behavior on string manipulation/case sensitivity doesn't help, but isn't the main reason for a not ideal experience.
Proposal
Because the New Page
path requires a slug, we should generate a random slug and direct users directly to the new page creation and remove the intermediate modal window. The slug is not saved until the page is created, so this temporary slug won't impact the actual path. If possible we should also not pre-fill the Title
field with the random slug, but rather helper text Page Title
.