[PR #4314] [CLOSED] Add resource id #6337

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

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/4314
Author: @rouet
Created: 6/15/2023
Status: Closed

Base: developmentHead: add-resource-id


📝 Commits (2)

  • ab02272 [Meta] add ressource id in detail panel
  • de4e2e1 Merge branch 'BookStackApp:development' into add-resource-id

📊 Changes

3 files changed (+18 additions, -1 deletions)

View changed files

📝 lang/en/entities.php (+1 -0)
📝 lang/fr/entities.php (+1 -0)
📝 resources/views/entities/meta.blade.php (+16 -1)

📄 Description

I propose a pull request in order to display the internal id on the "book" page, the "chapter" page and the "page" page.
For what ? When we use the rest api intensively, it is difficult to know the id of an element by browsing the web interface, this id that we use to request objects by the rest api.
This id will be displayed in the page of each entity in the metadata block.
A configuration option can be added to enable this display by the administrator.
I am not a Laravel specialist, but if it is necessary to add the corresponding tests, I can do it, but it will need help on the scenarios to be tested.

Regards


🔄 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/4314 **Author:** [@rouet](https://github.com/rouet) **Created:** 6/15/2023 **Status:** ❌ Closed **Base:** `development` ← **Head:** `add-resource-id` --- ### 📝 Commits (2) - [`ab02272`](https://github.com/BookStackApp/BookStack/commit/ab0227217166a2f3202498a4b089683043bd55d6) [Meta] add ressource id in detail panel - [`de4e2e1`](https://github.com/BookStackApp/BookStack/commit/de4e2e191284a46a0ec1db4826a82d2caa9b50bd) Merge branch 'BookStackApp:development' into add-resource-id ### 📊 Changes **3 files changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lang/en/entities.php` (+1 -0) 📝 `lang/fr/entities.php` (+1 -0) 📝 `resources/views/entities/meta.blade.php` (+16 -1) </details> ### 📄 Description I propose a pull request in order to display the internal id on the "book" page, the "chapter" page and the "page" page. For what ? When we use the rest api intensively, it is difficult to know the id of an element by browsing the web interface, this id that we use to request objects by the rest api. This id will be displayed in the page of each entity in the metadata block. A configuration option can be added to enable this display by the administrator. I am not a Laravel specialist, but if it is necessary to add the corresponding tests, I can do it, but it will need help on the scenarios to be tested. Regards --- <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:29:40 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6337