[PR #5115] [CLOSED] show-or-create for pages #6448

Closed
opened 2026-02-05 10:32:33 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5115
Author: @cod3monk
Created: 7/11/2024
Status: Closed

Base: developmentHead: development


📄 Description

This PR adds two new routes:
/books/{bookSlug}/show-or-create?name={pageSlug} and
/books/{bookSlug}/chapter/{chapterSlug}/show-or-create?name={pageSlug}

The concept is, that with these URL a user will either drop into the edit view of a new Page, or -if the page already exists- be redirected to the page itself.

This solves the feature request mentioned in #5099.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/5115 **Author:** [@cod3monk](https://github.com/cod3monk) **Created:** 7/11/2024 **Status:** ❌ Closed **Base:** `development` ← **Head:** `development` --- ### 📄 Description This PR adds two new routes: `/books/{bookSlug}/show-or-create?name={pageSlug}` and `/books/{bookSlug}/chapter/{chapterSlug}/show-or-create?name={pageSlug}` The concept is, that with these URL a user will either drop into the edit view of a new Page, or -if the page already exists- be redirected to the page itself. This solves the feature request mentioned in #5099. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:32:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6448