docs: add comments-only sidebar screenshot

This commit is contained in:
2026-09-19 10:26:58 +00:00
parent 095af404f1
commit 2c66d4ea7c
2 changed files with 6 additions and 0 deletions
+6
View File
@@ -8,6 +8,12 @@ The installed Nextcloud 34.0.4 bundle uses `@nextcloud/files` 4.0.0. The app reg
Nextcloud's built-in `comments-unread` row action is reused when unread comments exist so users still see only one comment icon. Its click target and icon are aligned with the dedicated comments-only tab; the custom action covers rows without unread comments.
## Screenshot
![Nextcloud Files with stateful row icons and the comments-only sidebar tab](docs/images/comments-only-sidebar.png)
The selected file has comments, so its row shows the square-with-dots icon. Files without comments show an empty square. The dedicated **댓글** tab contains the native comment composer and history without mixing in Activity entries.
The PHP bootstrap listens for `OCA\Files\Event\LoadAdditionalScriptsEvent`, the supported event fired while Files is rendered, and loads the frontend with `OCP\Util::addInitScript()`.
## Build and automated checks